Alok Gupta

Alok Gupta

  • NA
  • 222
  • 69.9k

Bind gridview in asp.net with c#

May 2 2018 2:42 AM
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)