public string UpdateStudetDetailStatus(PR_StudentDetail oStd) { try { db.Sp_UpdateStudentDetailStatus(oStd.SchoolUID, oStd.ScholarNo, oStd.Status); return("1"); } catch (Exception e) { return(e.Message); } }
public string DeleteStudetDetail(PR_StudentDetail oStd) { try { db.Sp_DeleteStudentDetail(oStd.SchoolUID, oStd.ScholarNo); return("1"); } catch (Exception e) { return(e.Message); } }
public string UpdateStudetDetail(PR_StudentDetail oStd) { try { db.Sp_UpdateStudentDetail(oStd.ScholarNo_Old, oStd.SchoolUID, oStd.ScholarNo, oStd.StudentName, oStd.FatherName, oStd.MotherName, oStd.BloodGroup, oStd.PhoneNumber, oStd.DateofBarth, oStd.Class, oStd.EmailId, oStd.Addres, oStd.StudentPhoto, oStd.F1, oStd.F2, oStd.F3, oStd.F4, oStd.LastUpdated, oStd.Status, oStd.IsActive); return("1"); } catch (Exception e) { return(e.Message); } }