Check Box uses | Multiple selections Option in online software | web Applications | Websites
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial
class CHECK_BOX_MAILBOX
: System.Web.UI.Page
{
string
sName;
string
sdob;
protected void CheckBoxSPORTS_CheckedChanged(object sender, EventArgs
e)
{
string
sname = TextBox1.Text;
string sdob = TextBox2.Text;
if
(CheckBoxSPORTS.Checked == true)
{
TextBox3.Visible = true;
TextBox3.Text = "SPORTS";
}
else
{
TextBox3.Visible = false;
}
}
protected void CheckBoxDANCING_CheckedChanged(object sender, EventArgs
e)
{
string
sname = TextBox1.Text;
string
sdob = TextBox2.Text;
if
(CheckBoxSPORTS.Checked == true)
{
TextBox4.Visible = true;
TextBox4.Text = "DANCING";
}
else
{
TextBox4.Visible = false;
}
}
protected void CheckBoxTRAVELLING_CheckedChanged1(object sender, EventArgs
e)
{
string
sname = TextBox1.Text;
string
sdob = TextBox2.Text;
if
(CheckBoxSPORTS.Checked == true)
{
TextBox5.Visible = true;
TextBox5.Text = "TRAVELLING";
}
else
{
TextBox5.Visible = false;
}
}
protected void CheckBoxSINGING_CheckedChanged1(object sender, EventArgs
e)
{
string
sname = TextBox1.Text;
string
sdob = TextBox2.Text;
if
(CheckBoxSPORTS.Checked == true)
{
TextBox6.Visible = true;
TextBox6.Text = "SINGING";
}
else
{
TextBox6.Visible = false;
}
}
}
#SradhaWebCreations
Contact : +91-9040573923, +91-7008182025
http://sradhawebcreations.com/
http://sradhawebcreations.blogspot.in/
https://facebook.com/sradhawebcreations
https://www.facebook.com/Sradhawebeducation/
No comments:
Post a Comment