询问者
为什么开发windowsForm程序,Gridview隐身无法使用?

问题
全部回复
-
你好,尺蠖
欢迎在MSDN论坛发帖。
我有一些问题于要和你确认。首先, 你是否是在打开Form窗口的同时使用工具箱? 其次, 是否所有的工具箱控件都无法进行拖拽使用?还是说只是个别的控件无法拖拽使用?最后, 我想跟你确认, 这个问题是一直存在的么? 还是说突然出现的?如果是突然出现的,在出现之前是否有做一些特殊操作?
关于数据空间, 如果你想要在winform中使用数据控件,请使用DataGridView. 从你的截图中,我无法看出这个GridView控件是哪种工程类型的,在WPF和ASP.NET中使用的是GridView数据空间。
这里有两个关于GridView的MSDN文档给你做参考。
WPF的GridView控件
https://docs.microsoft.com/zh-cn/dotnet/api/system.windows.controls.gridview?view=netframework-4.7.2
ASP.NET的GridView控件
Best Regards,
Wendy
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.- 已建议为答案 Stanly Fan 2018年8月21日 6:08
-
谢谢各位回复,后来我发现原来工具栏有两个数据工具组
在另外一个数据组里面的GridViewData控件是可以使用的
哎,好一个坑
- 已建议为答案 Zhanglong WuMicrosoft contingent staff, Moderator 2018年8月22日 9:56