Dinesh Santhalingam

Dinesh Santhalingam

  • NA
  • 737
  • 368.4k

Insert data to sql table from JAVA

Jul 25 2017 2:51 AM
I want to insert a data from java code to sql table.I created my internal db using visual studio 2013 .my table name is "Table1" and it has only one column "Name"
 
  1. Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\350154\Documents\useractivity.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True  
  1. Table name is  "Table1"  
table has only one column Name.I wish to insert a name lokesh into the db.please help me to do this exercise. 
   

Answers (1)