Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted

1 solution

If you really want to stick with the ActiveX control then this article may be helpful[^]

However I would recommend upgrading the control to a standard .NET datagridview while you have the chance
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900