问题描述
Hello Everyone,
我试图在VS2010 VB.net中使用ActiveX datagrid,实际上,我使用VS2010向导将我的VB项目转换为VB.net。
我看到ActiveX datagrid没有转换为默认的datagrid(VS2010提供)。现在我想继续使用ActiveX。
现在我想知道如何将ActiveX控件绑定到SQL数据库。我尝试使用向导选项,创建了数据集。 但是当我转到ActiveX数据网格控件的DataSource属性时,我在那里只做了一个选项。我无法看到我创建的数据集。是否有任何设置可以查看正确的数据集或数据源?
注意:我按照相同的步骤将SQL数据库绑定到默认网格,这是成功的。
请帮忙。
问候,
Joy
Hello Everyone,
I am trying to use ActiveX datagrid in VS2010 VB.net, actually, I converted my VB project to VB.net using VS2010 wizard.
I see ActiveX datagrid was not converted to default datagrid ( that VS2010 provides). Now I was thinking to continue with ActiveX.
Now I want to know how can I bind ActiveX control to SQL database. I tried using wizard option, created dataset. But when I go to DataSource property of ActiveX datagrid control,I do only none option there.I am not able to see the datset that I had created. Is there any settings to see proper dataset or datasource??
Note: I follow same steps to bind SQL database with default grid, It is successfull.
Please help.
Regards,
Joy
推荐答案
这篇关于VS2010中的ActiveX数据网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!