I have a requirement where i need to export the gridview data to excel.My code export the data in excel that was fine.
But the enchancement needed now , I was exporting the 3 gridview in same excel sheet under the workbook.
Now i need to export the 3 grid view in 3 different sheet in the same workbook.
so can please tell or share the updated code in my below code ...
public void writeovrsummary()
//Response.Write("Report as of " + DateTime.Now.ToString("hh:mm ss tt"));
StringWriter sw = new StringWriter();
HtmlTextWriter hw = new HtmlTextWriter(sw);
SqlCommand com = MyConnection.CreateCommand();
com.CommandText = "useroverall_Report";
SqlParameter par = new SqlParameter;
par = new
View Complete Post