DataSource error: “Cannot Bind to property or Column”

前端 未结 5 1574
庸人自扰
庸人自扰 2020-12-20 16:46

I\'m working on a database in C# when I hit the display button I get an error:

Error:
Cannot bind to the property or column LastName on the Data

5条回答
  •  佛祖请我去吃肉
    2020-12-20 16:48

    I run into the same problem where I have to change the name in the table but I haven't change column names in the data binding file. solution was changing the names by replacing the changed name.

提交回复
热议问题