protected void btninsert_Click(object sender, EventArgs e)
    {
        Hashtable data = new Hashtable();
        data.Add("cmpname", txtcmpname.Text);
        data.Add("adrs", txtadrs.Text);
        data.Add("phoneno", txtphoneno.Text);
        data.Add("emailid", txtemailid.Text );
        data.Add("servingarea", txtservingarea.Text);
        data.Add("p1name", txtname1.Text);
        data.Add("p1phoneno",txtp1.Text );
        data.Add("p1desc",txtdesc1.Text);
        data.Add("p2name", txtname2.Text);
        if (txtname2.Text != "")
        {
            data.Add("p2phoneno", txtp2.Text);

        }
        data.Add("p2desc", txtdesc2.Text);
        data.Add("p3name", txtname3.Text);
        if (txtname3.Text != "")
        {
            data.Add("p3phoneno", txtp3 .Text);

        }
        data.Add("p3desc", txtdesc3.Text);
        int id;
        bll inscmd = new bll();
        id=inscmd.ins3vendordet(data);
        lblretvendorid.Text = "Third Party Vendor Details Inserted & Vendor ID is" + id.ToString();
    }