private void BindData() { GridView1.AllowPaging = true; GridView1.PageSize = 10; GridView1.DataSource = AddSQLStringToDAL.GetTeachersInfo(); GridView1.DataKeyNames = new string[] { "User_ID" }; GridView1.DataBind(); }
private void BindData() { GridView1.AllowPaging = true; GridView1.PageSize = 10; GridView1.DataSource = AddSQLStringToDAL.GetTeachersInfo(); GridView1.DataKeyNames = new string[] { "User_ID" }; GridView1.DataBind(); }