Exemple #1
0
 public int UpdateRagistration(PR_AdminRegistration oRegData)
 {
     try
     {
         db.SP_tbl_Adm_UpdateRegistration(oRegData.Id, oRegData.Pwd, oRegData.Email, oRegData.ScholName, oRegData.Phno, oRegData.F1, oRegData.F2, oRegData.F3, oRegData.F4, oRegData.IsActive);
         return(1);
     }
     catch
     {
         return(0);
     }
 }
Exemple #2
0
 public string InsertRagistration(PR_AdminRegistration oRegData)
 {
     try
     {
         db.SP_Tbl_Adm_InsertschoolRegistration(oRegData.Id, oRegData.Pwd, oRegData.Email, oRegData.ScholName, oRegData.Phno, oRegData.F1, oRegData.F2, oRegData.F3, oRegData.F4, oRegData.IsActive);
         return("1");
     }
     catch (Exception e)
     {
         return(e.Message + "");
     }
 }