Tuesday, October 28, 2014

Grid View binding while drag and drop label

You can check if label exists gridview will be bound



Control control = this.FindControl("Label1") as Control;

if (control !=null)
{
GridView1.DataSource = data;
GridView1.DataBind();
}


No comments:

Post a Comment