Click here to Skip to main content
15,901,505 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,
I am trying time add name space using.System.Data.Oledb; in my C# windows application but I am not able to add
if it is possible please help



Thanks & Regards
Indrajit Dasgupta
Posted

Right-click on your project then choose Add reference

Go to .NET Components tab and add System.Data

Regards,
Eduard
 
Share this answer
 
Comments
IndrajitDasgupat 6-Dec-11 1:34am    
I added but it is not coming
[no name] 6-Dec-11 1:38am    
how about adding under 'COM' tab, there are 3 dll with the prefix 'Microsoft OLEDB....."
IndrajitDasgupat 6-Dec-11 1:52am    
I remove system.Data again added now it is working fine
Can u give me the connection string format for that
Thanks
[no name] 6-Dec-11 2:00am    
pls see www.connectionstrings.com

this site is complete :)

Regards,
Eduard
Just add System.Data in .Net Components tab, then use the below namespaces in ur code

1.using System.Data;
2.using System.Data.Oledb;

Thats it!
 
Share this answer
 
Comments
IndrajitDasgupat 6-Dec-11 1:53am    
Yes it is working fine

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