How do you bind a gridview column to a subclass value?

前端 未结 4 460
失恋的感觉
失恋的感觉 2020-12-20 19:57

I have a ASP.net gridview that I am trying bind to. My DataSource has a collection and 2 of the columns I am binding to are part of a subclass. My DataSource has a subclas

4条回答
  •  执笔经年
    2020-12-20 20:38

    The [Name].[Name] syntax is not supported by BoundField. Only simple property names.

提交回复
热议问题