private void Patientlistgridview_RowDataBound(object sender, GridViewRowEventArgs e)
 {
     if (e.Row.RowType == DataControlRowType.DataRow)
     {
         e.Row.Attributes["onclick"] = Page.ClientScript.GetPostBackClientHyperlink(patientlistgridview, "Select$" + e.Row.RowIndex);
         e.Row.Cells[0].Width        = pager.ColumnWidth(1);
         e.Row.Cells[1].Width        = pager.ColumnWidth(2);
         e.Row.Cells[2].Width        = pager.ColumnWidth(3);
         e.Row.Cells[3].Width        = pager.ColumnWidth(4);
     }
 }