ambiguity between variables in C#

后端 未结 4 1799
无人及你
无人及你 2021-02-13 20:12

I want to start by saying I did search first, and found a lot of similar issues on various other things, but not this problem exactly.

I have this code:

         


        
4条回答
  •  旧巷少年郎
    2021-02-13 20:44

    In my case it was resolved renaming the class agregarPropiedad by agregarPropiedad2.

    .CS

    public partial class agregarPropiedad2
    

    Designer.CS

    public partial class agregarPropiedad2
    

    ASPX

    Inherits="ProjectName.agregarPropiedad2"
    

提交回复
热议问题