Export to Excel
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
Hello I want to export the value of my text boxes and combo boxes and other to an prepared excel shee Thanks in advance for your help
Assaf
You Can export the value in excel Sheet: You are required to keep textboxes and Combo boxes value in any container like dataset or array List .....and assign these source to GridView. For example: string s = "select * from person"; DataSet ds = GetDataSet(s); GridView1.DataSource = ds; GridView1.DataBind(); Response.ContentType = "application/ms-excel"; Response.AddHeader("Content-Disposition", "inline;filename=ExcelRPT.xls"); Good Luck !