示例#1
0
    protected void btninsclientdetails_Click(object sender, EventArgs e)
    {
        Hashtable insertdata = new Hashtable();
        //insertdata.Add("client_det", txtclientid1 .Text);
        insertdata.Add("org_name", txtorgname.Text);
        insertdata.Add("address", txtadrs.Text);
        insertdata.Add("phoneno", txtphoneno.Text);
        insertdata.Add("emailid", txtemaildid.Text);
        insertdata.Add("orgtype", txtorgtype.Text);

        int id;
        bll clickins = new bll();
        id=clickins.clientdetinfo(insertdata);

        lblretclientid.Text = "Client Details Inserted & Client ID is " + id.ToString();
    }