public bool insertStudnetInfo() { bool value = false; try { //if (student.insert_studnet(studnetId,name,Dob,gpa,active)) student_d student = new student_d(); if (student.insert_studnet(studnetId,name,dob,gpa,active)) { value = true; } } catch (Exception ex) { throw ex; } return value; }
public DataSet records() { DataSet ds = new DataSet(); try { student_d stud = new student_d(); ds = stud.studentDetails(); } catch (Exception ex) { throw ex; } return ds; }