Esempio n. 1
0
        static public List <CheckLog> GetData(string from, string to)
        {
            CheckLogConnector sc             = new CheckLogConnector();
            string            dbFromDateTime = SQLDBConnector.CovertDateToDB(SQLDBConnector.ConvertStringToDate(from));
            string            dbToDateTime   = SQLDBConnector.CovertDateToDB(SQLDBConnector.ConvertStringToDate(to));
            List <CheckLog>   result         = sc.SelectAllData(dbFromDateTime, dbToDateTime);

            return(result);
        }
Esempio n. 2
0
        static public void TransactionItem(string studentNo, string itemBarcode, string itemDescription, string initial, bool status, string expirDate)
        {
            CheckLogConnector sc = new CheckLogConnector();

            sc.MakeLog(studentNo, itemBarcode, itemDescription, initial, status, expirDate);
        }