public string GetInstructorImage(string instructorId) { DataTable dt = new DataTable(); var newInst = new DAInstructor(); dt = newInst.GetInstructorImage(instructorId); if (dt.Rows.Count > 0) { string name = dt.Rows[0]["IMAGE"].ToString(); return(name); } else { return(""); } }
public DataSet IsInactiveVehicle(string id) { DAInstructor instructor = new DAInstructor(); return(instructor.IsInactiveVehicle(id)); }
public Int64 Save(DataSet ds, DbTransaction transaction) { DAInstructor oDAInstructor = new DAInstructor(); return(oDAInstructor.SaveInstructor(transaction, ds)); }
public DataSet GetInstructorsById(string InstructorId) { DAInstructor instructor = new DAInstructor(); return(instructor.GetInstructorById(InstructorId)); }