protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e) { GridView1.PageIndex = e.NewPageIndex; constr = Select FirstName,MiddleName,LastName,Suffix from Offnames; binddata(constr); }
public void binddata(string s) { SqlDataAdapter da = new SqlDataAdapter(constr, con); DataSet ds = new DataSet(); da.Fill(ds); GridView1.DataSource = ds; GridView1.DataBind(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)