Link to home
Start Free TrialLog in
Avatar of Anthony Matovu
Anthony MatovuFlag for Uganda

asked on

connection to sql server using JAVA

I am totally new to JAVA,  I want to connecto to a sql server database with the following details

  sqldb = New SqlClient.SqlConnection("Server=M-PC\DBS;Initial Catalog=datranDb;Persist Security Info=True;User ID=datranuser;Password=MeatAlway***;")

I really don't know  the steps to go through to to have a connection and read data from the database.

Thanks

Anthony
SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Which IDE kart form are you using to learn?
Netbeans?