gpt4 book ai didi

c# - ASP.NET 中同一 gridview 行中的多个记录

转载 作者:行者123 更新时间:2023-11-30 22:16:58 27 4
gpt4 key购买 nike

是否可以在 ASP.NET 的同一个 gridView 中每行有两条记录(我使用的是 C#)?基本上,我们假设这是我们表中的内容:

Names
------
John
Paul
James
Edward
Sean
Kevin

这是我希望在 gridView 中看到的内容:

John  | Paul
James | Edward
Sean | Kevin

有没有办法用 gridView 做到这一点?

谢谢

最佳答案

不在 GridView 中,但在 DataList 中是可能的,请参阅:

http://msdn.microsoft.com/en-us/library/bb525467.aspx

关于c# - ASP.NET 中同一 gridview 行中的多个记录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17025430/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com