protected void Page_Load(object sender, EventArgs e)
        {
            Session["User"] = Session["Name"].ToString();

            if (!IsPostBack)
            {
                List<prod> L = new List<prod>();
                prod p = new prod();
                p.Product_Id = "1";
                p.Product_name = "Wireline Fios tv Services";
                L.Add(p);
                p = new prod();
                p.Product_Id = "2";
                p.Product_name = "Wireline Fios Data Services";
                L.Add(p);

                p = new prod();
                p.Product_Id = "3";
                p.Product_name = "Wireline Fios Voice Services";
                L.Add(p);

                p = new prod();
                p.Product_Id = "4";
                p.Product_name = "Wireless Service";
                L.Add(p);
                Session["User"] = Session["Name"].ToString();
                getservice.Service1SoapClient f = new getservice.Service1SoapClient();
                getservice.Class2[] mn = f.getservice((Convert.ToInt32(Session["Name"])));

                gvdata.DataSource =  L;
                gvdata.DataBind();
            }
        }
        //SqlConnection con = null;
        //SqlDataAdapter adp = null;
        ////object o;
        ////object p;
        protected void Page_Load(object sender, EventArgs e)
        {
            //con = new SqlConnection("Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=user61;Data Source=.");
            //adp = new SqlDataAdapter("select service_id,service_name from cust where customer_id=101", con);

            //DataSet ds = new DataSet();
            //adp.Fill(ds, "cus");
            //DataView dv = new DataView(ds.Tables["cus"]);
            Session["User"] = Session["Name"].ToString();
            getservice.Service1SoapClient f = new getservice.Service1SoapClient();
            getservice.Class2[] mn = f.getservice(Convert.ToInt32(Session["Name"]));

               GridView1.DataSource = mn;
                GridView1.DataBind();
        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            getservice.Service1SoapClient f = new getservice.Service1SoapClient();
            getservice.Class2[] mn = f.getservice(Convert.ToInt32(Session["Name"]));
            int i = mn.Count();
            string m = "0";
            for (int k = 0; k < gvdata.Rows.Count; k++)
            {
                RadioButton rb = (gvdata.Rows[k].FindControl("rdbUser")) as RadioButton;
                if (rb.Checked == true)
                {
                    m = gvdata.Rows[k].Cells[1].Text;
                }

            }
            Response.Redirect("displayproductmore.aspx?v1=" + m);
        }