Thursday, August 9, 2018

how ti create insurance website & application | Check box users in Asp.net | Sradha Webcreations

how ti create insurance website  & application
 Check box users in Asp.net

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_CHECKBOX : System.Web.UI.Page
{
   protected void CheckBox1_CheckedChanged(object sender, EventArgs e)
    {
        String sName = TextBox1.Text;
        string sfathersName = TextBox2.Text;
        string sAddress = TextBox3.Text;
        string sPhoneNumber = TextBox4.Text;
        if (CheckBox1.Checked == true)
        {
          Label1.Text = "data accepted";
        }
        else
        {
           Label1.Text = "data IS NOT accepted";
        }
    }
    }




No comments:

Post a Comment