how to connect next and previous buttons in gridview using asp.net with c#
prasanna laxmi
Select an image from your device to upload
if ur question is regarding gridview paging then set the allowing paging property as true. u will get next and prev button automatically and wirte the functionality in "pageindexchanging event" or if u want to continue the paging functionality using outside buttons then here is the example given below.
public
{
getdata();
}
da.Fill(ds,
GridView1.DataSource = ds;
GridView1.DataBind();
GridView1.PageIndex = GridView1.PageIndex - 1;
GridView1.PageIndex = GridView1.PageIndex + 1;