Click here to Skip to main content
15,902,447 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a vb.net application...Here I connect to database using ODBC data source..Also I use ADO.net dataset to retrieve records..But somwhere I read ADO.Net uses OLEDB As data provider.Then how is it possible that Ado.net can be used with ODBC too...I searched through web but I am not getting exact answer...Please can any1 help me?
Posted
Comments
yogesh parmar 12-Mar-13 2:26am    
Hi,
I want three table Country, State, City with relationship between them and all country,state,city data for SQL server 2005.
Thanks....
Sergey Alexandrovich Kryukov 12-Mar-13 2:53am    
The question is incorrect. ADO.NET and ODBC are not alternative...
—SA
Rachna0309 12-Mar-13 2:56am    
I have connected my database and my application through ODBC..Also for retreiving records to display in crystal report,I use dataset...Is is wrong to do so?
Sergey Alexandrovich Kryukov 12-Mar-13 3:02am    
Maybe it's fine. It depends...

1 solution

Please see my comment to the question, which is incorrect.

Among other ways, ADO.NET can use data provider based on ODBC. Why not?

Please read this: http://www.easysoft.com/developer/languages/csharp/ado-net-odbc.html[^].

—SA
 
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