示例#1
0
文件: EUser.cs 项目: yasarmalik/AQSMS
      public DataSet GetListSpecific(string uname,string pwd,int roleid)
      {
          DbAccess db = new DbAccess();
          SqlParameter[] prams ={                
                db.CreateInParam("@UserName",SqlDbType.VarChar ,50,uname),
                db.CreateInParam("@Password",SqlDbType.VarChar,20,pwd ),
                db.CreateInParam("@RoleID",SqlDbType.Int,4,roleid),
           
            };
          return db.ExecuteSPDataSet("CheckLogin", ref prams);

      }
示例#2
0
 public DataSet GetList() //Get list of all the students
 {
     DbAccess db = new DbAccess();
     return db.ExecuteSPDataSet("StudentList_List");
 }
示例#3
0
        public DataSet LoadArrearsClass(int clsid) //get list by classid
        {

            DbAccess db = new DbAccess();
            SqlParameter[] prams ={ 
               db.CreateInParam("@ClassID",SqlDbType.Int,4,clsid),

                                 };
            return db.ExecuteSPDataSet("ArrearstbyClass", ref prams);
        }
示例#4
0
        public DataSet GetArrearsAdmNo(int admno)//get list by admission number
        {

            DbAccess db = new DbAccess();
            SqlParameter[] prams ={ 
               db.CreateInParam("@AdmNo",SqlDbType.Int,4,admno),

                                 };
            return db.ExecuteSPDataSet("ArrearsbyAdmNo", ref prams);


        }
示例#5
0
文件: Fee.cs 项目: yasarmalik/AQSMS
     public DataSet LoadFreshFee(int admno) // Fee for a fresh student
     {
         DbAccess db = new DbAccess();
         SqlParameter[] prams ={                
                db.CreateInParam("@AdmNo",SqlDbType.Int ,4,admno),
                
           
            };
         return db.ExecuteSPDataSet("LoadFreshFee", ref prams);

     }
示例#6
0
文件: Fee.cs 项目: yasarmalik/AQSMS
     public DataSet MonthlyFeeRem(int admno)
     {
         DbAccess db = new DbAccess();
         SqlParameter[] prams ={   
                                  
                db.CreateInParam("@AdmNo",SqlDbType.Int ,4,admno),
                           
            };

         return db.ExecuteSPDataSet("MonthlyFeeReminder", ref prams);

     }
示例#7
0
文件: Fee.cs 项目: yasarmalik/AQSMS
     public DataSet LoadArrearsList()
     {
         DbAccess db = new DbAccess();
         return db.ExecuteSPDataSet("ArrearList");

     }
示例#8
0
文件: Fee.cs 项目: yasarmalik/AQSMS
     public DataSet LoadStudentFeeByClass(int cls)
     {
         DbAccess db = new DbAccess();
         SqlParameter[] prams ={   
                                  
                db.CreateInParam("@ClassID",SqlDbType.Int ,4,cls),
                           
            };

         return db.ExecuteSPDataSet("StudentFeeByClass_Load", ref prams);

     }
示例#9
0
文件: Fee.cs 项目: yasarmalik/AQSMS
     public DataSet LoadStudentFeeByReceipt(string recpno)
     {
         DbAccess db = new DbAccess();
         SqlParameter[] prams ={                
                db.CreateInParam("@ReceiptNo",SqlDbType.VarChar,20,recpno),
                           
            };

         return db.ExecuteSPDataSet("StudentFee_Receipt", ref prams);

     }
示例#10
0
文件: Fee.cs 项目: yasarmalik/AQSMS
     public DataSet LoadStudentFee(int admno)
     {
         DbAccess db = new DbAccess();
         SqlParameter[] prams ={                
                db.CreateInParam("@AdmNo",SqlDbType.Int ,4,admno),
                           
            };

         return db.ExecuteSPDataSet("StudentFee_Load", ref prams);

     }
示例#11
0
文件: EUser.cs 项目: yasarmalik/AQSMS
 public DataSet GetList()
 {
     DbAccess db = new DbAccess();
     return db.ExecuteSPDataSet("AllUsers_List");
 }
示例#12
0
        public DataSet backup()
        {
            DbAccess db = new DbAccess();
            return db.ExecuteSPDataSet("backupdata");

        }