Example #1
0
    protected void LinkButton1_Click1(object sender, EventArgs e)
    {
        string str;
        str = Request.QueryString["ccid"];
        int id = Convert.ToInt32(str);
        Hashtable data = new Hashtable();

        bll selclientcont = new bll();
        data = selclientcont.selclientcontbyid(id);

        txtclientcont.Text = data["cc_id"].ToString();
        txtaptno.Text = data["asset_id"].ToString();
        txtname.Text = data["name"].ToString();
        txtphoneno.Text = data["phoneno"].ToString();
        txtemailid.Text = data["emailid"].ToString();
        txtdesg.Text = data["desg"].ToString();
        txtdesc.Text = data["desc"].ToString();
        UpdatePanel2.Visible = true;
        btnupdate.Visible = true;
        btndel.Visible = true;
        btndel0.Visible = true;
    }