Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
add reference for sqlserver2008 in visual studio 2008?
Posted

1 solution

You don't need to add a reference, just the using statement.
C#
using System.Data.SqlClient;
You can then connect via SqlConnection objects, and so forth.
 
Share this answer
 
Comments
roxyraj 15-Nov-11 3:36am    
it is the namespace which we used in the place of header. but what reference has to be add ....
OriginalGriff 15-Nov-11 3:50am    
You don't have to add a reference - System.Data is a default reference added for you when you create a project.

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