Browse by Tags

Related Posts

  • Re: Export to Excel Page Orientation

    I have managed to get it work as follows: public void ExportDataGridToExcel(System.Web.UI. Control ctrl, System.Web. HttpResponse response) { response.Clear(); response.Buffer= true ; response.Cache.SetCacheability( HttpCacheability .NoCache); response.ContentType = "application/vnd.ms-excel"...
    Posted to Data Presentation Controls (Forum) by paragp on 01-28-2008, 12:00 AM
    Filed under: page orientation, export to excel, landscape
  • Export to Excel Page Orientation

    Hi all, I have a method export to excel the contents of a datagrid. This work fine, however I need to set the page orientation of the excel sheet to landscape. How can I do this? My export to excel method is as below: public void ExportDataGridToExcel(System.Web.UI.WebControls. DataGrid dg, System.Web...
    Posted to Data Presentation Controls (Forum) by paragp on 01-25-2008, 12:00 AM
    Filed under: page orientation, Export to Excel, landscape
Page 1 of 1 (2 items)