Beispiel #1
0
 protected void BindStudentUpdate()
 {
     try
     {
         DataTable dt = new DataTable();
         objML_StudentProfile.ID = Session["UserName"].ToString();
         dt = objBL_StudentProfile.BL_BindStudentUpdates(objML_StudentProfile);
         if (dt.Rows.Count > 0)
         {
             dlUpdates.DataSource = dt;
             dlUpdates.DataBind();
         }
     }
     catch
     {
         ScriptManager.RegisterStartupScript(this, this.GetType(), "message", "alert('Connection lost')", true);
     }
 }