示例#1
0
 public static STD_StudentContact GetSTD_SudentBySudentID(string SudentID)
 {
     STD_StudentContact sTD_StudentContact = new STD_StudentContact();
     SqlSTD_StudentContactProvider sqlSTD_StudentContactProvider = new SqlSTD_StudentContactProvider();
     sTD_StudentContact = sqlSTD_StudentContactProvider.GetSTD_StudentContactBySudentID(SudentID);
     return sTD_StudentContact;
 }
示例#2
0
 public static STD_StudentContact GetSTD_ContactByContactID(int ContactID)
 {
     STD_StudentContact sTD_StudentContact = new STD_StudentContact();
     SqlSTD_StudentContactProvider sqlSTD_StudentContactProvider = new SqlSTD_StudentContactProvider();
     sTD_StudentContact = sqlSTD_StudentContactProvider.GetSTD_StudentContactByContactID(ContactID);
     return sTD_StudentContact;
 }
示例#3
0
 public static DataSet GetDropDownListAllSTD_StudentContact()
 {
     DataSet sTD_StudentContacts = new DataSet();
     SqlSTD_StudentContactProvider sqlSTD_StudentContactProvider = new SqlSTD_StudentContactProvider();
     sTD_StudentContacts = sqlSTD_StudentContactProvider.GetDropDownListAllSTD_StudentContact();
     return sTD_StudentContacts;
 }
示例#4
0
 public static DataSet GetAllSTD_StudentContactsWithRelation()
 {
     DataSet sTD_StudentContacts = new DataSet();
     SqlSTD_StudentContactProvider sqlSTD_StudentContactProvider = new SqlSTD_StudentContactProvider();
     sTD_StudentContacts = sqlSTD_StudentContactProvider.GetAllSTD_StudentContacts();
     return sTD_StudentContacts;
 }
示例#5
0
 public static void LoadSTD_StudentContactPage(System.Web.UI.WebControls.GridView gv, System.Web.UI.WebControls.Repeater rptPager, int pageIndex, DropDownList ddlPageSize)
 {
     int recordCount=0;
     int PageSize =  int.Parse(ddlPageSize.SelectedValue);
     SqlSTD_StudentContactProvider sqlSTD_StudentContactProvider = new SqlSTD_StudentContactProvider();
     DataSet ds =  sqlSTD_StudentContactProvider.GetSTD_StudentContactPageWise(pageIndex, PageSize, out recordCount);
     gv.DataSource = ds;
     gv.DataBind();
      sTD_StudentContactsPaggination(rptPager,recordCount, pageIndex, PageSize);
 }
示例#6
0
 public static int InsertSTD_StudentContact(STD_StudentContact sTD_StudentContact)
 {
     SqlSTD_StudentContactProvider sqlSTD_StudentContactProvider = new SqlSTD_StudentContactProvider();
     return sqlSTD_StudentContactProvider.InsertSTD_StudentContact(sTD_StudentContact);
 }
示例#7
0
 public static bool DeleteSTD_StudentContact(int sTD_StudentContactID)
 {
     SqlSTD_StudentContactProvider sqlSTD_StudentContactProvider = new SqlSTD_StudentContactProvider();
     return sqlSTD_StudentContactProvider.DeleteSTD_StudentContact(sTD_StudentContactID);
 }
示例#8
0
 public static bool UpdateSTD_StudentContact(STD_StudentContact sTD_StudentContact)
 {
     SqlSTD_StudentContactProvider sqlSTD_StudentContactProvider = new SqlSTD_StudentContactProvider();
     return sqlSTD_StudentContactProvider.UpdateSTD_StudentContact(sTD_StudentContact);
 }