Exemple #1
0
 public EmployeeDB()
 {
     using (DasherStation.common.SqlHelper h = new DasherStation.common.SqlHelper())
     {
         strConn = h.SqlConn;
     }
 }
Exemple #2
0
 public PayRollTempalteDB()
 {
     using (DasherStation.common.SqlHelper sqlHelper = new DasherStation.common.SqlHelper())
     {
         this.strConn = sqlHelper.SqlConn;
     }
 }
Exemple #3
0
 public DepartmentDB()
 {
     using (DasherStation.common.SqlHelper h = new DasherStation.common.SqlHelper())
     {
         strConn = h.SqlConn;
     }
 }
Exemple #4
0
        public DataSet QueryEPInfo()
        {
            string strSQL = "select id,no from equipmentInformation";

            using (DasherStation.common.SqlHelper h = new DasherStation.common.SqlHelper())
            {
                return(h.QueryForDateSet(strSQL));
            }
        }