asp.Net does not exist in current context

后端 未结 10 1801
夕颜
夕颜 2021-02-07 08:39

I am facing a small big problem. I have taken a dropdownList control and ID is \"drpDownCountries\" in ASP.Net project. The problem is that \"The dropdownlist contr

10条回答
  •  暖寄归人
    2021-02-07 09:46

    I have seen this error occur when there is a copy of the .aspx page in the project folder.

    Example:

    Error occurs in Test.aspx.

    There is a Test-copy.aspx file in the project folder.

    Delete, rename with a different extension, or move Test-copy.aspx to a different folder.

    Error is resolved.

提交回复
热议问题