public void load_NPP() { string strsel = "select * from NhaPhanPhoi"; da_NSX = conn.getDataAdapter(strsel, "NhaPhanPhoi"); primaryKey[0] = conn.Ds.Tables["NhaPhanPhoi"].Columns["MaNPP"]; conn.Ds.Tables["NhaPhanPhoi"].PrimaryKey = primaryKey; }
public void load_NT() { string strsel = "select * from NhomThuoc"; da_NSX = conn.getDataAdapter(strsel, "NhomThuoc"); primaryKey[0] = conn.Ds.Tables["NhomThuoc"].Columns["MaNhom"]; conn.Ds.Tables["NhomThuoc"].PrimaryKey = primaryKey; }
public void load_CD() { string strsel = "select * from CachDung"; da_NSX = conn.getDataAdapter(strsel, "CachDung"); primaryKey[0] = conn.Ds.Tables["CachDung"].Columns["MaCD"]; conn.Ds.Tables["CachDung"].PrimaryKey = primaryKey; }
public void load_NSX() { string strsel = "select * from NhaSanXuat"; da_NSX = conn.getDataAdapter(strsel, "NhaSanXuat"); primaryKey[0] = conn.Ds.Tables["NhaSanXuat"].Columns["MaNSX"]; conn.Ds.Tables["NhaSanXuat"].PrimaryKey = primaryKey; }