Exemplo n.º 1
0
 protected void btnupdate_Click(object sender, EventArgs e)
 {
     Hashtable data = new Hashtable();
     data.Add("id", cbcontrolname.SelectedValue);
     data.Add("value", txtdefvalues.Text);
     data.Add("dbname", txtmethodname.Text);
     data.Add("label", txtlabelname.Text);
     data.Add("description", txtdesc.Text);
     data.Add("control", cbupdcontrols.SelectedValue);
     bll clupd = new bll();
     clupd.updcontrol(data);
     lblretupdate.Text = "Details Successfully Updated";
 }