protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
   if (e.Row.RowType == DataControlRowType.DataRow)
   {
      (e.Row.FindControl("lblSira") as Label).Text = (e.Row.RowIndex + 1 + (GridView1.PageIndex * 10)).ToString();
   }
}
 
Hiç yorum yok:
Yorum Gönder
Not: Yalnızca bu blogun üyesi yorum gönderebilir.