Question: how to export data from gridview to excel in vb.net?
Answer: Drag and Drop one GridView control and a Button control to the defailt. aspx file. In the code behind, write the code for connecting database in the page_load event and in the Button click event write the code for export to excel file.