예제 #1
0
        private void btnupdate_Click(object sender, EventArgs e)
        {
            this.LoadMedicinegrp();
            obj = new MedicinegrpInfo();
            obj.GroupID = txtgrpid.Text;
            obj.GroupName = txtgrpname.Text;

            MedicinegrpInfoDAL bllObj = new MedicinegrpInfoDAL();
            bllObj.UpdateMedicinegrp(obj);

            MessageBox.Show("Data successfully Updated!");
            this.LoadMedicinegrp();



        }
예제 #2
0
 public void UpdateMedicinegrp(MedicinegrpInfo obj)
 {
     dalObj = new MedicinegrpInfoDAL();
     dalObj.UpdateMedicinegrp(obj);
 }