Click here to Skip to main content
16,020,565 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi all
we wanna design full accounting project using C#(Visual studio 2013) and sql server 2008r2 and it is desktop application.
what is best way for connection between them that later we don't face with implementing error???
and we decide use ado.net for connection.
for example which data source is better for select :
Microsoft sql server database file or Microsoft sql server(Ole db).

thanks a lot.
Posted
Updated 16-Jul-15 23:50pm
v2

1 solution

If you're using SQL Server then use SqlConnection etc, stay away from anything related to OleDb. Or you could use Entity Framework which will reduce the amount of work you need to do (google for Entity Framework if you need to know more).
 
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