Beispiel #1
0
 public EmployeeDB()
 {
     using (DasherStation.common.SqlHelper h = new DasherStation.common.SqlHelper())
     {
         strConn = h.SqlConn;
     }
 }
Beispiel #2
0
 public PayRollTempalteDB()
 {
     using (DasherStation.common.SqlHelper sqlHelper = new DasherStation.common.SqlHelper())
     {
         this.strConn = sqlHelper.SqlConn;
     }
 }
Beispiel #3
0
 public DepartmentDB()
 {
     using (DasherStation.common.SqlHelper h = new DasherStation.common.SqlHelper())
     {
         strConn = h.SqlConn;
     }
 }
Beispiel #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));
            }
        }