The IListSource does not contain any data sources.
If you are getting error on this that mean you don't have written this statement see below
sda.Fill(ds);
use this
SqlCommand cmd = new SqlCommand("Select * from Student_Master", con);
SqlDataAdapter sda = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
sda.Fill(ds);
Repeater1.DataSource = ds;
Repeater1.DataBind();
No comments:
Post a Comment