Ejemplo n.º 1
0
    protected void cbcontrolname_SelectedIndexChanged(object sender, EventArgs e)
    {
        int id;
        id = Convert .ToInt32(cbcontrolname .SelectedValue);
        Hashtable data=new Hashtable ();
        bll clupdate = new bll();
        data=clupdate.selcontrol (id);

        txtlabelname.Text  = data["label"].ToString();
        txtdefvalues.Text = data["value"].ToString();
        txtmethodname.Text = data["dbname"].ToString();
        txtdesc.Text = data["description"].ToString();
        cbupdcontrols.SelectedValue = data["control"].ToString();
    }