Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将对象绑定到 gridview 列而不是行?我想要以下内容:
Tom Jan Wim LastName Last1 Last2 Last3 Age 18 20 23 Number 1 2 3
对象列表(Tom、Jan 和 Wim)必须绑定到第 1-3 列。必须冻结第一列才能滚动和拖动。可以拖动三个数据列重新排序。
有人可以帮我开始开发这个吗?
http://blogs.microsoft.co.il/blogs/tomershamam/archive/2008/09/22/lt-howto-gt-replace-listview-columns-with-rows-lt-howto-gt.aspx
不过,该链接可能正是您正在寻找的,而不是使用 GridView 而是使用 ListView。