예제 #1
0
        public static DataTable GetDataTableCopy()
        {
            string cmd = "select * from Copy";

            return(DAO.GetDataTable(cmd));
        }
예제 #2
0
        internal static DataTable GetDataTableReserve(int borrowerNumber)
        {
            string cmd = "SELECT top 1  * FROM [Reservation] where borrowerNumber = " + borrowerNumber + " and status = 'R' order by ID desc";

            return(DAO.GetDataTable(cmd));
        }