I am developing an application that should extract excel data in a Gridview and show the details of individual data in a Detailsview. There is no use of SQL Server and sqlDataSource here. I am in dilemma though.
protected void btnViewDetail_Click(object sender, EventArgs e)
{
{
// What to write in here?
}
}
I have a button named 'View Detail' in GridView that should redirect me to Detailsview with the details of selected data.
Thanks.
Use this method for exporting datagridview to excel