询问者
datagrid控件加载正常,就不显示不出数据,请高手指点下

问题
全部回复
-
你好,
可以提供一下相关的代码和你的数据源吗?
Best regards,
Zhanglong
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. -
你好,
请问变量DataTable 里面有数据吗? 这是一个什么样的程序呢, Winforms, WPF, 还是其他的。
如果DataTable 没有数据的,请发一下DataTable 从数据里面取数据的代码,另外检查一下数据库看是否连接到正确的数据库。
Best regards,
Zhanglong
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.