Write a code to split the string “test” and assign the value of the Name to the textbox and value of ok to the Checkbox. The check box should be checked as the value of OK is YES
In .aspx page,
Name: (Text Box)
Ok : (Checkbox)
In aspx.cs page,
protected void Page_Load (object sender, EventArgs e)
{
String test = “Name = ADP India Pvt LTD;OK = YES “;
}
Aucun commentaire:
Enregistrer un commentaire