Click here to Skip to main content
15,891,762 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,

Recently, I converted my VB 6 project to VB.Net. Post conversion ,I am seeing issues with DataMembers. It seems this property was supported in VB 6 to achieve bindings, but not supported in VB.Net.

Below is the line of code where I see issue.



'UPGRADE_ISSUE: DataMembers method DataMembers.Add was not upgraded.

DataMembers.Add("Customers")




can anybody help me here? What should I code in VB.Net to bind datagrid controls to database.
I use SQL server as backend.

Regards,
Joy
Posted

1 solution

I suggest you to Code Rewrite[^]. Start learning ADO.NET

ADO.NET for the ADO Programmer[^]
Comparison of ADO and ADO.NET[^]
 
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