A anil Sep 27, 2006 #1 haiii.. please sugest how to display the sqlserver table into to the excel using the c#.net coding
C Cowboy \(Gregory A. Beamer\) Sep 27, 2006 #2 GridView on a page (which creates a table in HTML). Change the type of the page to Excel: Response.ContentType = "application/vnd.ms-excel"; Does not have all of the bells and whistles, but that is possible with this code: http://www.eggheadcafe.com/articles/20021012.asp -- Gregory A. Beamer MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com ************************************************* Think outside of the box! *************************************************
GridView on a page (which creates a table in HTML). Change the type of the page to Excel: Response.ContentType = "application/vnd.ms-excel"; Does not have all of the bells and whistles, but that is possible with this code: http://www.eggheadcafe.com/articles/20021012.asp -- Gregory A. Beamer MVP; MCP: +I, SE, SD, DBA http://gregorybeamer.spaces.live.com ************************************************* Think outside of the box! *************************************************