Click here to Skip to main content
15,890,336 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I am working in C# to create desktop database applications. C# facilitates database application programming by providing DataGirdView control, Datasets, DataAdaptars and ADO.Net library. But there is issue of speed with C# applications.

I want to know can I use Visual C++ to create desktop database applications as easily as in C#.

I will be thankful for reply.
Posted
Updated 11-Jun-10 5:44am
v2

irfankhan200 wrote:
I want to know can i use Visual C++ to create deskop database applications as easily as in C#.

Cannot be so easy, IMO. Easier development of such kind of applications is one of the reason of introducing C#, I suppose.
:)
 
Share this answer
 
Visual C++ with MFC/ATL allows you to use ADO (the classic version) and ODBC. Here[^] are some ADO samples.

If you are using Visual C++.NET then you can use the ADO.NET providers directly.
 
Share this answer
 
Have you profiled your C# code to see where it's taking all it's time? If it's spending yonks in the database interface then it's probably I/O bound and rewriting it in C++ probably won't do you a lot of good.

Cheers,

Ash
 
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