how to paging automatically in a gridview?what properties should enable? and how to align caption of a gridview binded from code?
plz help
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
puskar majiPosted Jan 27, 2009, 12:11 AM
i want to set column header such as id,name,address instead of gridview header.
EX:
SqlDataAdapter da = new SqlDataAdapter("select rid,name,address from emp", con);
da.Fill(ds, "emp");
GridView1.DataSource = ds;
GridView1.DataBind();
SylwesterPosted Jan 26, 2009, 6:35 AM
Hi,
Are you working with ASP grridview? If so, set AllowPaging property to true.
Do you need set header align?