このエラーが発生します:the name 'textbox1' does not exist in the current context
私のコード:
namespace WebApplication19
{
public partial class Default:System.Web.UI.Page
{
protected void TextBox1_TextChanged(object sender, EventArgs e)
{
if (TextBox1.Text == "msc")
{
RadioButton2.Visible = false;
DropDownList2.Visible = false;
}
else
{
RadioButton1.Visible = false;
DropDownList1.Visible = false;
}
}
}
}