// UserQuestions[] questionsArr = null; protected void Page_Load(object sender, EventArgs e) { // if(questionsArr==null) // questionsArr= new UserQuestions[1]; // UserQuestions q1=new UserQuestions(); string z; z = (string)Session["firstname"]; requesting.request req = new requesting.request(); string ab = req.request13(z); string bc = req.request14(ab); Label1.Text =bc; Label2.Text = (string)Session["fname"]; // Label2.Text = bc; // q1.Question = bc; // q1.author = z; // RegistrationService.Rs reg = new RegistrationService.Rs(); int j; string abc = TextBox1.Text; j = req.updated(TextBox1.Text); // questionsArr[0] = q1; // questionRpt.DataSource = questionsArr; // questionRpt.DataBind(); }
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); }
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; }
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); }