Visual 2010 中的 C# Windows 窗体中是否有中继器控件?或者替代方案?
Visual 2010 中的 C# Windows 窗体中是否有中继器控件?或者替代方案?
Is there a repeater control in C# windows form in Visual 2010 ? Or an alternative ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
是的,有。
从 Visual Studio 工具箱转到 Visual Basic PowerPacks 部分,您将在其中找到 DataRepeater 控件。即使它说 VB PowerPack 它也适用于 C#。
它将添加对以下两个程序集的引用:
Yes there is.
From the Visual Studio Toolbox go to section Visual Basic PowerPacks and there you will find a DataRepeater control. Even if it says VB PowerPack it works with C# as well.
It will add a reference to following two assemblies:
原始答案: .NET Framework 4 中的中继器。
错误,感谢您的评论,仅适用于 WebForms,不适用于 WinForms。
您可以使用UserControl,创建您的模板,并将其用作中继器。
Original answer : Repeater in .NET Framework 4.
Wrong, thanks for the comments, only works in WebForms, not in WinForms.
What you could use is UserControl, create your template, and use it as a Repeater.