HomeОбразованиеRelated VideosMore From: Indra Subedi

Update data in SQL server using Java

74 ratings | 15313 views
Update table data in SQL database using java in Netbeans | how to update data in sql database | update sql data using java | sequel database Channel Subscription : https://goo.gl/FZrbXg Affilate: http://amzn.to/2DPwG8d Find all the videos in the playlist: https://www.youtube.com/playlist?list=PLJ5y5njLJrx-PYJfONhCV4nNRmj7vJ-A4
Html code for embedding videos on your blog
Text Comments (23)
Indra Subedi (7 months ago)
Hello My Brothers and Sisters. My humble request to you, *Please* *Don't* *Forget* *To* *Subscribe* If you have any problem, Comment down. I will provide you solution as soon as possible.
Mintesnot Kebede (4 months ago)
please answer me it is urgent
steve Destiny (27 days ago)
Please can you upload your source code to your links pls
Mintesnot Kebede (4 months ago)
where has been define the function show_user? i have lost it you simply call it in update session
Indra Subedi (4 months ago)
Find it on my video playlist. The video name is display dara from database to jtable
how to call form sucess when a login in page create plz send me source code
Indra Subedi (5 months ago)
Somali Computer Technology Please watch the video to create login form. I have done there
Min Bogati (7 months ago)
Good jobs
Arthur Tan (8 months ago)
Good. Thanks a lot...
Aneesh Ahamed (8 months ago)
Hi Indra Subedi, java.lang.Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); String url = "jdbc:sqlserver://localhost:1433;databaseName=aneesh;user=sa;password=root"; Connection con = DriverManager.getConnection(url); String query = "INSERT INTO AddDoctors(Doctor_Name, Clinic_Name, Address, Phone_Number, PFM, Full_Metal, All_Ceramic, Implant)VALUES(?,?,?,?,?,?,?,?)"; PreparedStatement pst = con.prepareStatement(query); pst.setString(1, Doctor_Name.getText()); pst.setString(2, Clinic_Name.getText()); pst.setString(3, Address.getText()); pst.setString(4, Phone_Number.getText()); pst.setString(5, PFM.getText()); pst.setString(6, Full_Metal.getText()); pst.setString(7, All_Ceramic.getText()); pst.setString(8, Implant.getText()); con.close(); Does not insert data into my database. Why?
Indra Subedi (8 months ago)
+Aneesh Ahamed you havent execute the query
chetan deshpande (9 months ago)
Thank you so much.
Indra Subedi (8 months ago)
+chetan deshpande Welcome
DeZzeRt (10 months ago)
Hi Sir, whats the part of code that selects all the row not just one cell? And whats the part of code that when you click a row, it fills the textfields and other fields?
DeZzeRt (10 months ago)
Ok I will, thankyou sir :)
Indra Subedi (10 months ago)
+DeZzeRt Go to my playlistm you can find there
Satish Patel (1 year ago)
Sir.. what if we want to update one field say only name and not all fields..?pl. reply
Satish Patel (1 year ago)
Thank sir..
Indra Subedi (1 year ago)
sat pat just edit the name and click update. Thats it
anju boura (1 year ago)
sir where is your show_user method.can you give me the code of that.
nyi nyi (1 year ago)
So much Think a lot for u
anju boura (1 year ago)
kk thankuh sir
Indra Subedi (1 year ago)
For this method, i have done in previous tutorial. You can find it on https://www.youtube.com/watch?v=P0opfx23Czw&t=1000s

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.