Exemple #1
0
        //Phương thức lấy dữ liệu từ bảng
        public DataTable getPermission()
        {
            DataTable table = new DataTable();
            try
            {
                db = new DBLib();

                table = db.FillDataTable("sp_SelectPermission", CommandType.StoredProcedure);

            }
            catch (Exception)
            {

                throw;
            }
            return table;
        }
Exemple #2
0
 //Phương thức lấy dữ liệu từ bảng
 public DataTable selectUserDetails()
 {
     db = new DBLib();
     try
     {
         return db.FillDataTable("sp_SelectUserDetails", CommandType.StoredProcedure);
     }
     catch (Exception)
     {
         throw;
     }
 }