Click here to Skip to main content
15,888,325 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Guys,

I have a question on ActiveX datagrid control.

Question: Does VS2010 support ActiveX datagrid control.

In fact, I had a project coded into VB long back,that was using ActiveX datagrid control along with many other controls.

Recently, I converted into VB project to VB.net. I am observing that the controls that were there in VB form got converted into .net equivalent controls. For example: VB combobox got converted to .net combobox.

However, I see one control that is ActiveX datagrid, was not converted.

Now, I am not sure if VS2010 would support this control. Should I delete it from form and add datagrid of VS2010???


Please give your inputs.


Regards,
Joy
Posted
Comments
Sergey Alexandrovich Kryukov 26-Dec-13 2:35am    
Why, why would you possibly need those ActiveX controls if you are using .NET?!
There is nothing like "datagrid in VS2010". What is your application type or UI library/framework you are using?
—SA
joyjhonson 26-Dec-13 6:32am    
Well, actually, I migrated My VB application to VB.net. While migration,ActiveX datagrid remained same, it never gor converted to actual datagrid of .net.

Now, either I shall manually replace ActiveX datagrid to datagrid ( default provided by .net)
Or should continue with ActiveX datagrid if .net supports it at all.

Sergey Alexandrovich Kryukov 26-Dec-13 12:17pm    
I know. Yes, manually replace ActiveX with some appropriate grid control. You did not tell us what is your application type, so see by yourself.
—SA

1 solution

Quote:
Now, I am not sure if VS2010 would support this control. Should I delete it from form and add datagrid of VS2010???
Unlikely. Better get rid of that & go with DataGridView[^] control, it'll save your hair & time. Here a simple CRUD operation using DataGridView
C# DataGridView Database Operations[^]
 
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