Access SQL Server from J#
I'm triying to make a visual java project that includes a SQL server database and I don't know how. It's the first time I do that.
I have made the SQL database, but I don't know how initiate the connection with it.
I'm triying to make a visual java project that includes a SQL server database and I don't know how. It's the first time I do that.
I have made the SQL database, but I don't know how initiate the connection with it.
Once you are done with Connection creation, build your solution. It will add a new tab to ToolBox with the name "<your Project name> Components". Drag and drop these components on your form and use them.
Please post back if you face any other issue.
Thanks.
Hi,
You may also like to refer this post. This post has got a working sample code also.
I would still suggest you to go use Data Configuration Wizard instead of writing the code yourself. Code in the recommended post has also been generated using the Data Source Configuration Wizard only.
Thanks.