无法在Visual C ++ 2010中添加数据网格视图后面的数据源。

无法在Visual C ++ 2010中添加数据网格视图后面的数据源。

问题描述:



如何在CLR窗口中的数据网格视图中添加数据源表单应用程序...是否可以在vc ++ 2010中以编码或基于dialopg的方式在数据网格视图中添加数据源..

请帮帮我

Hi,
How to add data source in Data Grid View in CLR windows Form application... is there possible to add data source in data grid view in vc++ 2010 either in coding or dialopg based..
Please help me

您好b $ b

是的你可以绑定 DataGridView 来自c ++ CLR窗口,只需按照以下链接:



http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/fca06da9-042e -4ee5-b495-358e8a6f44e9 / [ ^ ]

http://msdn.microsoft.com/en-us/library/vstudio/fbk67b6z(v = vs.100).aspx [ ^ ]

http://msdn.microsoft.com/en-us/library /vstudio/y0wfd4yz(v=vs.100).aspx [ ^ ]

http://msdn.microsoft.com/en-us/library/vstudio/ms171605(v=vs.100).aspx [ ^ ]

http://msdn.microsoft.com/en-us/library/f61k6akt [ ^ ]

http://www.dreamincode.net/forums/topic/244051-mysql-and-visual-c-2010-windows-form-application/ [ ^ ]

这是非常好的样本,可以将行添加到 DataGridView whit out binding可能你需要它;):

http://www.solutionoferror.com/asp-net/datagridview -filtering-clr-c-114437.asp [ ^ ]



最好的问候。
Hi
Yes you can bind DataGridView from c++ CLR windows just follow of links:

http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/fca06da9-042e-4ee5-b495-358e8a6f44e9/[^]
http://msdn.microsoft.com/en-us/library/vstudio/fbk67b6z(v=vs.100).aspx[^]
http://msdn.microsoft.com/en-us/library/vstudio/y0wfd4yz(v=vs.100).aspx[^]
http://msdn.microsoft.com/en-us/library/vstudio/ms171605(v=vs.100).aspx[^]
http://msdn.microsoft.com/en-us/library/f61k6akt[^]
http://www.dreamincode.net/forums/topic/244051-mysql-and-visual-c-2010-windows-form-application/[^]
And it is really good sample for add row to DataGridView whit out binding maybe you need it ;) :
http://www.solutionoferror.com/asp-net/datagridview-filtering-clr-c-114437.asp[^]

Best Regards.