Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
73% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #27.9K
Ranked #3K
~4K People Reached

6 Posted Topics

Member Avatar for bhagawatshinde

To connect to SQL Server from C#.NET, you need to create a connection string such as below: [CODE]private SqlConnection connection; private string connectionString = @"Server=(local);Database=Embedding_SQL_Test;User ID=sa;Password=123"; connection = new SqlConnection( connectionString );[/CODE] Next, you use the SqlConnection object created above to create a 'SqlCommand', as shown below: [CODE]SqlCommand cmd = …

Member Avatar for bhagawatshinde
0
228
Member Avatar for LianaN

I agree with steelshark; it seems this will have to be web application which will be connecting to a database. You can use a language such as C# and a database such as Microsoft SQL Server. To connect to SQL Server from C#.NET, you need to create a connection string …

Member Avatar for LianaN
0
302
Member Avatar for srvstv.prnc

To connect to SQL Server, you need to create a connection string such as below: private SqlConnection connection; private string connectionString = @"Server=(local);Database=Embedding_SQL_Test;User ID=sa;Password=123"; connection = new SqlConnection( connectionString ); Next, you use the SqlConnection object created above to create a 'SqlCommand', as shown below: SqlCommand cmd = new SqlCommand( …

Member Avatar for SNK111
-1
1K
Member Avatar for NH1

Check this article ([I]<<snip>>[/I]) for details on how to connect to SQL Server database from C#.NET database applications as well as Java database applications. It also describes how to pass embedded SQL queries (SELECT, INSERT, UPDATE, DELETE), calling stored procedures, pass parameters etc.

Member Avatar for Geekitygeek
0
114
Member Avatar for fankoff

You can check this article (<URL SNIPPED>HOW TO: SQL in JAVA) for the best practices on how to connect to SQLServer from Java. It also describes how pass SQL queries, pass parameters, call stored procedures etc.

Member Avatar for bapi
0
114
Member Avatar for boyz

Check this link ( <URL SNIPPED> ) for a reply to your question. Here you will find detailed description of how to connect to a SQL server database from a Java database application and pass embedded SQL queries. It describes how to create the connection string, pass parameters to the …

Member Avatar for varunnanda
1
259

The End.