Need help in gridview displaying data
- by sumit
Hi all,
I want to display all the data in gridview which i am inserting in runtime. For that i have written code but getting this error.
"Both DataSource and DataSourceID are
defined on 'GridView1'. Remove one
definition."
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
BindData();
}
}
…