Click here to Skip to main content
15,124,353 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
May you help me, how can i clear this....

ERROR"The IListSource does not contain any data sources."

public void getdata()
query = "DMLgrid_SP";
SqlCommand com = new SqlCommand(query, con);
com.CommandType = CommandType.StoredProcedure;
com.Parameters.AddWithValue("@Action", HiddenField1.Value).ToString();
DataSet ds = new DataSet();
SqlDataAdapter da = new SqlDataAdapter(com);
GridView1.DataSource = ds;


Error on "Line 44: GridView1.DataBind();"

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900