public DataTable Check(string a)
 {
     return(cn.GetDataTable(@"Select iddocgia from DocGia where iddocgia ='" + a + "'"));
 }
 //Lấy Dữ Liệu
 //TaoBang("") select * from tblKhachHang where MaKH ='1'( ví dụ)
 public DataTable TaoBang(string DieuKien)
 {
     return(cn.GetDataTable("Select * from DocGia " + DieuKien));
 }
 public DataTable LayThongtinHT(string DieuKien)
 {
     return(cn.GetDataTable("Select hoten from DocGia " + DieuKien));
 }
示例#4
0
 public DataTable Check(string a)
 {
     return(cn.GetDataTable(@"Select masach from Sach where masach ='" + a + "'"));
 }
 public DataTable Check(string DKthang)
 {
     return(cn.GetDataTable("Select * from BaoCaoI where thang ='" + DKthang + "'"));
 }