示例#1
0
        private void RecordTSB_Click(object sender, EventArgs e)
        {
            DataSet data = new mitemscategoryCRUD().getData(txtCategoryID.Text, txtDescription.Text);

            DtGrid.DataSource = data;
            DtGrid.DataMember = "tblmitemscategory";
        }
示例#2
0
        private void Binding()
        {
            DataSet data = new mitemscategoryCRUD().getData();

            DtGrid.DataSource = data;
            DtGrid.DataMember = "tblmitemscategory";
        }