protected void btn_solution_Click(object sender, EventArgs e) { Label l1 = (Label)FV1.FindControl("L1"); solution = l1.Text; l1.Visible = true; }
protected void Page_Load(object sender, EventArgs e) { Label l1 = (Label)FV1.FindControl("L1"); solution = l1.Text; solutionList.Add(solution); Session["solArrayList"] = solutionList; Response.Write(l1.Text); }
protected void Page_Load(object sender, EventArgs e) { UserInfoLogic usersList = new UserInfoLogic(); List <UserInfoItem> AllUsers = new List <UserInfoItem>(); AllUsers = usersList.GetAllData(); gvPerson.DataSource = AllUsers; FV1.DataSource = AllUsers; Rp1.DataSource = AllUsers; gvPerson.DataBind(); FV1.DataBind(); Rp1.DataBind(); }
protected void Qz_Item4_CheckBox_CheckedChanged(object sender, EventArgs e) { CheckBox q1 = (CheckBox)FV1.FindControl("Qz_Item1_CheckBox"); CheckBox q2 = (CheckBox)FV1.FindControl("Qz_Item2_CheckBox"); CheckBox q3 = (CheckBox)FV1.FindControl("Qz_Item3_CheckBox"); CheckBox q4 = (CheckBox)FV1.FindControl("Qz_Item4_CheckBox"); Button btn = (Button)FV1.FindControl("btn_solution"); if (q1.Checked || q2.Checked || q3.Checked || q4.Checked) { btn.Visible = true; } //idList.Add("4"); //Session["idArrayList"] = idList; }