Insert data into SQL server using java Part -2

Sdílet
Vložit
  • čas přidán 21. 02. 2017
  • Insert Data into SQL Database with Netbeans | Insert data in SQL from TextField, RadioButton, CheckBox, ComboBox using Netbeans | insert data java
    For Part 1 : • Insert data into SQL s...
    Channel Subscription : goo.gl/FZrbXg
    Affilate: amzn.to/2DPwG8d
    Find all the videos in the playlist: • Java programming train...

Komentáře • 105

  • @indrasubedi
    @indrasubedi  Před 6 lety +1

    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.

    • @hamza_Travel
      @hamza_Travel Před 5 lety

      provide the source code of insert data

  • @computerbolter4079
    @computerbolter4079 Před 6 lety

    Thanks Bro!!! Really Helped.

  • @kaderadam7543
    @kaderadam7543 Před 4 lety

    Indra ... Thanks a lot. Mr INDRA, you are really so genuine person. You are one of the most understandable lectures in the world... or educators. Again so thanks. Apart from that, I was creating Mini-system softwarwe , I decided to flow your way of developing systems. During building of my system .... Form's Table is not running or compiling, when I put the name of table under IniComponent, but your it fantastically InitComponent working. INDRA , please help me as to solve that problem.

  • @-indeed8285
    @-indeed8285 Před 6 lety +2

    thank you very much... you are amazing. it help me a lot to start my project.

  • @varshaps6010
    @varshaps6010 Před 3 lety +1

    tnks a lot sir..its worked fr me..

  • @antoniovela2498
    @antoniovela2498 Před 2 lety

    MANY THANKS, U SAVED MY DAY!

  • @gnaneditz
    @gnaneditz Před 7 lety +1

    Ok thanks

  • @alexismontales7731
    @alexismontales7731 Před 2 lety

    You're the BEST!

  • @rorymcdonnell3490
    @rorymcdonnell3490 Před 6 lety

    Hi Indra,
    Love your videos. Followed your tutorial here, but when i click save I get the following error message in the console:
    "Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedClassVersionError: com/microsoft/sqlserver/jdbc/SQLServerDriver has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0"
    I'm using jre9.jar. Any idea why this would be happening.

  • @kesselokinga9554
    @kesselokinga9554 Před 6 lety +1

    Thank you so much.

  • @zeezze9852
    @zeezze9852 Před 4 lety

    I use mysql 3306 from web site not the program u use and i have error in sql syntax what should i doo

  • @ainasyazwani9271
    @ainasyazwani9271 Před 4 lety

    Hi, I do the same like you for the check box, but it only save the last box i tick. May i know why it happens? Thank you

  • @sagarbogati5907
    @sagarbogati5907 Před 6 lety

    Nice videos.

  • @kevintenorio4847
    @kevintenorio4847 Před 3 lety

    THANKS YOU BRO REALLY!!!!

  • @MohitSharma-gu1iy
    @MohitSharma-gu1iy Před 5 lety

    I am trying to connect my java application with database to insert data with my application but it shows Run-time error of "Package Import Java SQL doesn't exists". I already defined at the top....

  • @mu6corner595
    @mu6corner595 Před 5 lety +1

    Thankyou so much

  • @buivanthinh4167
    @buivanthinh4167 Před 4 lety

    Thank you bro

  • @sayuogiwara632
    @sayuogiwara632 Před 3 lety

    Thank you:33

  • @wooanghwee4255
    @wooanghwee4255 Před 4 lety

    thank you for the sharing. it help me alot. so how can i retrieve it back to the form as checkbox is check from DB thank you

  • @Surekhasrinivas144
    @Surekhasrinivas144 Před 5 lety +1

    thank you so much
    h bro

  • @superviper341
    @superviper341 Před 6 lety +1

    it worked ty :P

    • @indrasubedi
      @indrasubedi  Před 6 lety

      +Waqar Wahid Thanks for your feedback

  • @himanshibohare5387
    @himanshibohare5387 Před 6 lety +1

    thank u Bhai

  • @rayhanulislam1675
    @rayhanulislam1675 Před 3 lety

    thanks bro

  • @joelkaseya4388
    @joelkaseya4388 Před 4 lety

    thanks man

  • @smrutirupasahu9251
    @smrutirupasahu9251 Před 2 lety

    Thank you soo much

  • @user-oj4xf1rw8x
    @user-oj4xf1rw8x Před rokem

    شكرآ

  • @tasnimhasan8780
    @tasnimhasan8780 Před 4 lety

    I am always getting an error for using combobox. It says that the value is not set for parameter 4. In parameter 4 I have used jcombobox.
    Please kindly help me.

  • @syfulislam2543
    @syfulislam2543 Před 6 lety

    i am having a problem please reply. when i pressed gender option which is male or female it inserted data even if i not put data on other boxes. why is that.please help

  • @namratakataria2785
    @namratakataria2785 Před 3 lety

    if we open netbeans again will same functions work again?

  • @gnaneditz
    @gnaneditz Před 7 lety

    Can you give us tutorial how to add images to SQL server from netbeans

  • @jags532
    @jags532 Před 3 lety

    Please make it with jsp, servlet with mssql for CRUD

  • @shalomoludapo7679
    @shalomoludapo7679 Před 6 lety +1

    Tnx bro
    my desktop application is not still connecting to the database even after creating admin console and pinging
    what should i do

    • @indrasubedi
      @indrasubedi  Před 6 lety +1

      Which authentication mode are you using in sql server?

    • @shalomoludapo7679
      @shalomoludapo7679 Před 6 lety +1

      Administrator
      tnx so much ...It is working well now
      how do you deploy desktop application

  • @akshaykumbhar1905
    @akshaykumbhar1905 Před 5 lety

    Hey bro i did the same u did ...but the code is not working yet...plzz help

  • @pournimakota1495
    @pournimakota1495 Před 5 lety

    hello,
    i want to know the logincheck.java code also can you provide me.

  • @rupertacuesta
    @rupertacuesta Před 5 lety +1

    Where did u get the try catch code? And you didnt show when you made the LoginCheck.java

  • @sunnyaahil166
    @sunnyaahil166 Před 6 lety

    when we use the DataType int than what use in query where we use " ? " in the query?

    • @indrasubedi
      @indrasubedi  Před 6 lety

      Find help form here:
      stackoverflow.com/questions/14742246/inserting-numeric-data-type-using-sql-statement-in-java

  • @AsadKhan-it4mu
    @AsadKhan-it4mu Před 6 lety +2

    when i press ok java.lang class not found com.microsoft.sqlserver.jdbc.SQLServerDriver

  • @mohammadrahil6417
    @mohammadrahil6417 Před 5 lety +1

    how u did auto increment of sno.?

    • @indrasubedi
      @indrasubedi  Před 5 lety

      Its done from the database. When user enters data to database the value increments automatically while saving new record. You can do this by making identity specification to yes.

  • @mohammedusmaneghani531

    Thanks for the video, can you please help me with a few things? whats the best way to contact you? thanks

  • @jenifferjenni7131
    @jenifferjenni7131 Před 4 lety

    Why does" sno doesn't have default value" error mean

  • @akhileshkumarmishra3617

    Jpassfiled ke liye kya java SQL code likhu bro

  • @darksideofthemoon3185
    @darksideofthemoon3185 Před 6 lety

    after I click save button it shows a message which says "The index 1 is out of range"
    what should I do?

    • @indrasubedi
      @indrasubedi  Před 6 lety +1

      Be sure to check what size of data value you are going to insert in database. If the error continue mail me your code at indrasubedi95@gmail.com

    • @darksideofthemoon3185
      @darksideofthemoon3185 Před 6 lety

      I fixed it, thanks for replying

    • @darksideofthemoon3185
      @darksideofthemoon3185 Před 6 lety

      I forgot to add placeholders :))

    • @alvarobasilys
      @alvarobasilys Před 5 lety

      can u help me, I have same trouble..

  • @ajith_hegde
    @ajith_hegde Před 5 lety +1

    if we give null values also it will get stored in database

    • @indrasubedi
      @indrasubedi  Před 5 lety

      You need to validate all the textfield and related field. For the concept to validate watch this:
      czcams.com/video/wZQc1Nct0-s/video.html

    • @ajith_hegde
      @ajith_hegde Před 5 lety +1

      @@indrasubedi tanq bro

  • @sunnyaahil166
    @sunnyaahil166 Před 6 lety +1

    how we reset check button....when click on reset automatically uncheck the all check button...

    • @indrasubedi
      @indrasubedi  Před 6 lety

      For Checkbox use:
      coreJava.setSelected(false);
      python.setSelected(false)

    • @sunnyaahil166
      @sunnyaahil166 Před 6 lety

      ok thnkx

  • @mohitbaghel6054
    @mohitbaghel6054 Před 5 lety

    where is the event handling of save????

  • @isiahcharles6804
    @isiahcharles6804 Před 5 lety +1

    Mr. Indra, how do i solve the " invalid column name 'name' " ??

    • @indrasubedi
      @indrasubedi  Před 5 lety

      It means that the COLUMN Name mentioned in the sql is not matching with the table ( Tables that are mentioned after FROM clause ) columns.
      Try:
      Check your sql , you might have mis spelled the column name.
      You might have wrongly tagged the table alias with the column.
      Or you have written a wrong column name that doesn't corresponds to the table.

    • @isiahcharles6804
      @isiahcharles6804 Před 5 lety +1

      Thankyou Mr Indra!!
      but how about the incorrect syntax near the keyword 'user'.
      I promise i did your step in the video from the login to the part 2 and there is still an error in my program.

    • @indrasubedi
      @indrasubedi  Před 5 lety

      @@isiahcharles6804 send me your code on indrasubedi95@gmail.com

    • @isiahcharles6804
      @isiahcharles6804 Před 5 lety

      @@indrasubedi Okay mr indra

  • @AsadKhan-it4mu
    @AsadKhan-it4mu Před 6 lety +1

    canot find symbol gender what to do ?

  • @grumpyplays5886
    @grumpyplays5886 Před 2 lety

    Laptop keyboard ASMR

  • @computerbolter4079
    @computerbolter4079 Před 6 lety

    Is there any way to remove any wrong entry form the database?

    • @indrasubedi
      @indrasubedi  Před 6 lety

      Yes there is. You need to update the data or delete the data. For update and delete you can find the video in my playlist.

  • @lakshmisheshadri6263
    @lakshmisheshadri6263 Před 6 lety

    What is syntax for int value
    Like pst.setString(1,name.getText());

  • @pradhumanarya5039
    @pradhumanarya5039 Před 6 lety +1

    in radio button code it show "male is not resolved as a variable" help me plz

    • @indrasubedi
      @indrasubedi  Před 6 lety

      Did you declare string variable for gender? Also the radio button name should be male and female.

    • @pradhumanarya5039
      @pradhumanarya5039 Před 6 lety

      Indra Subedi yes i declare

    • @indrasubedi
      @indrasubedi  Před 6 lety

      Send me your code on indrasubedi95@gmail.com

    • @pradhumanarya5039
      @pradhumanarya5039 Před 6 lety

      Indra Subedi i was send my code plz give me solution

    • @indrasubedi
      @indrasubedi  Před 6 lety

      Check your mail

  • @judy-annpena3317
    @judy-annpena3317 Před 4 lety

    There is no error but there is no output on the SQL server. help?

    • @dullknife01
      @dullknife01 Před 2 lety

      Hello, have you find a solution to this?

    • @dullknife01
      @dullknife01 Před 2 lety

      pst.executeUpdate(); was missing

  • @computerbolter4079
    @computerbolter4079 Před 6 lety

    Which Screen Recorder Do You ????

  • @princephilipmabesa213
    @princephilipmabesa213 Před 7 lety

    first one! ^^

    • @indrasubedi
      @indrasubedi  Před 7 lety

      +Prince Philip Go to my videos, you can find there

  • @nita5307
    @nita5307 Před 2 lety

    សង្សាអ្នកណាសង្សាសំខាន់ខ្ញំុស្រលាញ់នាង

  • @02_sayali_aundhkar22
    @02_sayali_aundhkar22 Před 2 lety

    Thank you so much.