2
Answers

Bind gridview in asp.net with c#

Photo of Alok Gupta

Alok Gupta

7y
848
1
da.Fill(ds);
gvErrorLog.DataSource = ds;
gvErrorLog.DataBind();
 
Error has occurred-
 
An exception of type 'System.Web.HttpException' occurred in System.Web.dll but was not handled in user code
Additional information: The IListSource does not contain any data sources.
 
Please give the solution anyone.

Answers (2)