Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.55K
~972 People Reached
Favorite Forums
Favorite Tags

1 Posted Topic

Member Avatar for RekaRajagopal

Better you place your connection string in web config <configuration> <connectionStrings> <add name="SQLDbConnection" connectionString="Server=servername; Database=pubs; User Id=username; password=password" providerName="System.Data.SqlClient" ></add> </connectionStrings> </configuration> and connect the database string connectionString = ConfigurationManager.ConnectionStrings["SQLDbConnection"].ToString(); SqlConnection connection = new SqlConnection(connectionString); connection.Open(); program source http://asp.net-informations.com/data-providers/sql-connection.htm mitch

Member Avatar for BMXDad
0
972

The End.