BindingSource bindingSource1 = new BindingSource(); GridView.DataSource = bindingSource1;
GridView1.DataSource = dsData;//Assign data(from your database) to this Dataset dsData GridView1.DataBind();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)