private void RecordTSB_Click(object sender, EventArgs e) { DataSet data = new mitemscategoryCRUD().getData(txtCategoryID.Text, txtDescription.Text); DtGrid.DataSource = data; DtGrid.DataMember = "tblmitemscategory"; }
private void Binding() { DataSet data = new mitemscategoryCRUD().getData(); DtGrid.DataSource = data; DtGrid.DataMember = "tblmitemscategory"; }