creating Paging for ASP.net 3.5?
Can anybody help how to create custom pager control for the Table Control i have in my project?
eg: i just have 100 sample records. i want to create paging, around 10 per page. I know i cannot use Data pager because i have a ASP.net Table Control which is not Data bound control.
My code is:
protected void Page_Load(object sender, EventArgs e)
for (int i = 0; i < 100; i++)
TableRow r = new TableRow();
TableCell c = new TableCell();
c.Text = "Hello World " + i;
Mytable.Rows.Add(r); //Mytable is the asp table control in design view.
Can somebody please help. iam working on this for a long time. still cudn't find a solution.