示例#1
0
        private void btn_oksoluong_Click(object sender, EventArgs e)
        {
            txt_soluong.Enabled   = false;
            btn_oksoluong.Enabled = false;

            if (!String.IsNullOrEmpty(txt_soluong.Text))
            {
                bd.upsoluongmon(ref err
                                , mahd, dgvdshangdangban.Rows[index].Cells["colmamon"].Value.ToString()
                                , txt_soluong.Text);
            }
            //MessageBox.Show(mahd+" "+dgvdshangdangban.Rows[index].Cells["colmamon"].Value.ToString()+" "+txt_soluong.Text);
            laydulieuhangdangban(mahd);
        }