예제 #1
0
        public string getMaKHLast()
        {
            string sql = "select top 1 * from KhachHang order by MaKH DESC";

            return(ConnectionDB.GetIDLast(sql));
        }
예제 #2
0
        public string getMaNCCLast()
        {
            string sql = "select top 1 * from NCC order by MaNCC DESC";

            return(ConnectionDB.GetIDLast(sql));
        }
예제 #3
0
        public string getLastMaKV()
        {
            string sql = "select top 1 * from KHUVUC order by MaKV DESC";

            return(ConnectionDB.GetIDLast(sql));
        }