asp.Net does not exist in current context

后端 未结 10 1807
夕颜
夕颜 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:42

    I had this same problem and tried all the answers listed here, to no avail.

    What finally worked for me was to make a change to the ascx file in Design view and then save it. This finally forced Visual Studio to regenerate the designer.cs file and include my new control.

提交回复
热议问题