June 2007 Entries



http://www.4guysfromrolla.c
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
1. Simply change the contenttype and open the PDF file Response.Clear(); Response.ContentType = "application/pdf"; //change the content here based on different files type Response.AddHeader("Content... "inline;filename=" + strFilePath); Response.WriteFile(strFileP... Response.End(); 2. use Iframe Html control, set the src attribute of the control as PDF file and thats it.. Following is a ASP.net server control which uses the iframe, using System; using System.Collections.Generic; using...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati
#region "GetDataSetBySchema" /// <summary> /// GetDataSetBySchema - Returns the Dataset for required schema /// </summary> /// <param name="strFormCode"></... /// <returns>Dataset</... public DataSet GetDataSetBySchema(string strXmlSchemaPath) { DataSet dsXml = new DataSet(); string strSchemaPath = string.Empty; try { dsXml.ReadXmlSchema(strXmlS... return dsXml; } catch { throw; } } #endregion #region "ConvertXMLToDataSet" /// <summary> ///...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

News

Employers
Soppa Group India
iSmart Panache Inc
R Systems Internationals Ltd
Technovate eSolutions Pvt Ltd
The contents of this blog are my personal opinion and do not represent in any way the view of my employer.
These postings are provided "AS IS" with no warranties, and confer no rights.

Google PR™ - Post your Page Rank with MyGooglePageRank.com

Archives

Post Categories

Image Galleries

Articles & Magazines

ASP.Net 2.0 Compilation

ASP.Net, Blogs I refer...

Atlas

Dost

Drivers and Software Download

Garhwal

Travel Domain

WSS and WebParts

Syndication: