-------------------------------------------------------------
protected void grdBidHistory_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Pager)
{
TableCell tc = new TableCell();
TableCell tc1 = new TableCell();
tc.Text = "[Page:";
tc1.Text = "]";
Table tbl = new Table();
tbl = (Table)(e.Row.Cells[0].Controls[0]);
tbl.Rows[0].Cells.AddAt(grdBidHistory.PageIndex, tc);
tbl.Rows[0].Cells.AddAt(grdBidHistory.PageIndex + 2, tc1);
}
}
-----------------------
Saturday, October 2, 2010
Gridview Pager Formatting
Saturday, October 02, 2010 Posted by Vikas SharmaLabels: GeneralTips n Tricks
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment