Click here to Skip to main content
15,886,840 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi !

I have to make a project in VB.NET using Visual Studio 2013 with Back End Database of SQL Server 2008.

I don't want to make the ordinary connection-string but i want to establish connectivity with SQL Server 2008 Using Microsoft Enterprise Library.

can anyone help me with examples of some sample projects ??

Thanks !

Regards:
Muhammad Asim Mughal
Posted
Comments
Zoltán Zörgő 1-Feb-15 3:41am    
What's wrong with connection strings?
Zoltán Zörgő 3-Feb-15 14:42pm    
Any progress?

1 solution

There will always be a connection string. But it is best practice to ban it from your code. Actually hardcoding connection string is a really bad practice. But you still need to configure database connection somewhere. DAAB provides abstract provider and a configuration tool. Check here: http://www.4guysfromrolla.com/articles/030905-1.aspx[^]
 
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