Esempio n. 1
0
 public void loaddata()
 {
     try
     {
         ds = new DataSet();
         ds = dm.GetDieasesDetails();
         GridDieases.DataSource = ds;
         GridDieases.DataBind();
     }
     catch (SqlException ex)
     {
         ShowMessageBox("Remote Acess Not Available");
     }
 }
Esempio n. 2
0
 protected void GridDieases_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     GridDieases.PageIndex = e.NewPageIndex;
     loaddata();
     GridDieases.DataBind();
 }