Ejemplo n.º 1
0
 public string SaveTeam(string userID, string schoolyear, string schoolcode, string teacherID, string checkValue, string comments, string action)
 {
     try
     {
         return(SiteTeamSetup.TeamMemberSelect("Save", userID, schoolyear, schoolcode, action, teacherID, checkValue, comments));
     }
     catch (Exception ex)
     {
         var em = ex.Message;
         return("failed");
     }
 }
Ejemplo n.º 2
0
 private void BindGridViewData()
 {
     try
     {
         string schoolyear = ddlSchoolYear.SelectedValue;
         string schoolcode = ddlSchool.SelectedValue;
         //ListGridViewData.BindMyGridView(ref GridView1, "SchoolListbyArea", "DataSet", User.Identity.Name, schoolyear, schoolcode, schoolarea);
         // ListGridViewData.BindMyGridView(ref GridView1, "SchoolListbyArea", "iList", User.Identity.Name, schoolyear, schoolcode, schoolarea);
         SiteTeamSetup.BindGridView(ref GridView1, "SchoolTeamList", "Dapper", User.Identity.Name, schoolyear, schoolcode);
     }
     catch (Exception ex)
     {
         var em = ex.Message;
     }
 }