User has to select the path and save the fileSave button code as follows
i am directly save the excel in D folder.
for that code as follows
System.IO.StringWriter sw = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter htw = new System.Web.UI.HtmlTextWriter(sw);
string renderedGridView = sw.ToString();
but i want user has to select the path and save the excel.
for selecting path how can i do