コード例 #1
0
    protected void Button2_Click(object sender, EventArgs e)
    {
        string z;
        z = (string)Session["firstname"];

        requesting.request req = new requesting.request();
        string abc = req.request4(z);
        Label5.Text = "Request Succesfully sent on:   ";
        Label6.Text = System.DateTime.Now.ToString();
        string text=ddlbg.SelectedValue.ToString();
        Session["request"] = text + " required by " + req.request0(abc) + " Contact Number is " + req.request2(abc);
    }
コード例 #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        string z;
            z = (string)Session["firstname"];

            requesting.request req = new requesting.request();
            string abc = req.request4(z);
            Label3.Text = z;
            Label4.Text = req.request7(abc);
            Label5.Text = req.request6(abc);
            Label6.Text = req.request12(abc);
            MyWebReference1.Ls login = new MyWebReference1.Ls();
            string bg = login.question1(z);
            Label7.Text = bg;
            Label8.Text = req.request5(abc);
            Label9.Text = abc;
            Label10.Text = req.request8(abc);
            Label11.Text = req.request9(abc);
            Label12.Text = req.request10(abc);
            Label13.Text = req.request11(abc);
            Label14.Text = req.request3(abc);
            Label15.Text = z;
    }
コード例 #3
0
    protected void Page_Load(object sender, EventArgs e)
    {
        CheckBox1.Visible = false;
        CheckBox2.Visible = false;
        CheckBox3.Visible = false;
        CheckBox4.Visible = false;
        CheckBox5.Visible = false;
        CheckBox6.Visible = false;
        CheckBox7.Visible = false;
        CheckBox8.Visible = false;
        if (!IsPostBack)
        {
            Label5.Visible = false;
            Label6.Visible = false;
        }
        Label5.Visible = true;
        Label6.Visible = true;
        string z;
        z = (string)Session["firstname"];

        requesting.request req = new requesting.request();
        string abc = req.request4(z);
        //   string eg = TextBox1.Text;
        Label1.Text = req.request0(abc);
        Label4.Text = req.request1(abc);
        Label2.Text = req.request2(abc);
        Label3.Text = req.request3(abc);
    }