I am using Microsoft Visual C# to try to find
isolate an error. It is highlighting "void" in the first line, and the
following error comes up:
Expected class, delegate, enum, interface, or struct
What does that mean and how can I fix it?
This is the code: Thanks!
protected void status_SelectedIndexChanged(object sender, System.EventArgs e)
{
if (statusAns.SelectedValue == "status_guest") {
RequiredFieldValidator4.enabled = true;
}
else {
RequiredFieldValidator4.enabled = false;
}
}
Status:*
"status"
OnSelectedIndexChanged="status_SelectedIndexChanged"
...
Go to the complete details ...