MySQL VB.NET Tutorial 6 : Insert/Save data to database
Вставка
- Опубліковано 31 жов 2024
- ★★★Top Online Courses From ProgrammingKnowledge ★★★
Python Programming Course ➡️ bit.ly/2vsuMaS ⚫️ bit.ly/2GOaeQB
Java Programming Course ➡️ bit.ly/2GEfQMf ⚫️ bit.ly/2Vvjy4a
Bash Shell Scripting Course ➡️ bit.ly/2DBVF0C ⚫️ bit.ly/2UM06vF
Linux Command Line Tutorials ➡️ bit.ly/2IXuil0 ⚫️ bit.ly/2IXukt8
C Programming Course ➡️ bit.ly/2GQCiD1 ⚫️ bit.ly/2ZGN6ej
C++ Programming Course ➡️ bit.ly/2V4oEVJ ⚫️ bit.ly/2XMvqMs
PHP Programming Course ➡️ bit.ly/2XP71WH ⚫️ bit.ly/2vs3od6
Android Development Course ➡️ bit.ly/2UHih5H ⚫️ bit.ly/2IMhVci
C# Programming Course ➡️ bit.ly/2Vr7HEl ⚫️ bit.ly/2W6RXTU
JavaFx Programming Course ➡️ bit.ly/2XMvZWA ⚫️ bit.ly/2V2CoAi
NodeJs Programming Course ➡️ bit.ly/2GPg7gA ⚫️ bit.ly/2GQYTQ2
Jenkins Course For Developers and DevOps ➡️ bit.ly/2Wd4l4W ⚫️ bit.ly/2J1B1ug
Scala Programming Tutorial Course ➡️ bit.ly/2PysyA4 ⚫️ bit.ly/2PCaVj2
Bootstrap Responsive Web Design Tutorial ➡️ bit.ly/2DFQ2yC ⚫️ bit.ly/2VoJWwH
MongoDB Tutorial Course ➡️ bit.ly/2LaCJfP ⚫️ bit.ly/2WaI7Ap
QT C++ GUI Tutorial For Beginners ➡️ bit.ly/2vwqHSZ
★★★ Online Courses to learn ★★★
Get 2 FREE Months of Unlimited Classes from skillshare - skillshare.eqc...
Data Science - bit.ly/2lD9h5L | bit.ly/2lI8wIl
Machine Learning - bit.ly/2WGGQpb | bit.ly/2GghLXX
Artificial Intelligence - bit.ly/2lYqaYx | bit.ly/2NmaPya
MERN Stack E-Degree Program - bit.ly/2kx2NFe | bit.ly/2lWj4no
DevOps E-degree - bit.ly/2k1PwUQ | bit.ly/2k8Ypfy
Data Analytics with R - bit.ly/2lBKqz8 | bit.ly/2lAjos3
AWS Certification Training - bit.ly/2kmLtTu | bit.ly/2lAkQL1
Projects in Java - bit.ly/2kzn25d | bit.ly/2lBMffs
Machine Learning With TensorFlow - bit.ly/2m1z3AF | bit.ly/2lBMhnA
Angular 8 - Complete Essential Guide - bit.ly/2lYvYRP
Kotlin Android Development Masterclass - bit.ly/2GcblsI
Learn iOS Programming Building Advance Projects - bit.ly/2kyX7ue
★★★ Follow ★★★
My Website - www.codebind.com
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
How to: Insert New Records into a Database
Database Access with Visual VB.NET.NET
sql server - Insert Data into database in VB.NET
How to insert Data to Ms SQL server 2008 using VB.NET.net
.net - VB.NET insert data into SQL table
Using Visual VB.NET and SQL cannot insert data into table..
VB.NET import data from text file into sql databse line by line
store xml in SQL Server 2008 from VB.NET
Using SQL in VB.NET - Cannot insert data into SQL table
visual VB.NET - Could not Insert the data using V VB.NET in MYSQl
Add, save & retrieve data in SQL
insert data in sql 2005 from excel file through VB.NET asp.net
insert data into SQL table from pre filled boxes in VB.NET 4.0
insert into database unsing ado.net and VB.NET Visual Basic
Insert DateTime into SQL Server using VB.NET Visual Basic
Searches related to VB.NET insert data into sql Visual Basic
VB.NET insert data into sql table Visual Basic
VB.NET insert data into sql server Visual Basic
inserting data into sql table Visual Basic
insert query VB.NET
sql insert statement from another table
Excellent videos about database, would greatly appreciate if you could share some of your knowledge in how to insert/ update/ delete data in the relational database with SQL stored procedure and vb.net
thanks in advance
Helped me complete my computing coursework. Thanks!
+jamilnoor1 was this aqa comp 4?
+Benan Gokcimen yh it was. The reason I didn't fail it.
Thank you so much, it helped me lots!
This entire series is amazing, thank you so much!
Thanks very much, buddy! Good work done .
ProgrammingKnowledge If i was to make a Quiz for students, how could i save them within a database within their classes within a listbox?
providing source code in the LINK description much better. Thank you for this
Hello.....straight forward video thumbs up.....i've got a quick question "How do you save a date to a database? considering a date picker is used on the form and the data type on the database is date"
Sir - could you add picturebox and insert on mysql, please make tutorial . Thank you so much - this was very helpful as self study - i cant see any tutorial, i always see cmd.add.parameter , i think yours is shortcut and i like it.
it was very helpfull, but you have to change in the database primary Key away, otherwise it cause an Error Message, and you see the ne data Entry first, after update database. For those who have same Problems like me. Otherwise, it was quit helfpfull, thx.
Set the speed of the video to 1.5 - You're all welcome
+David Crosland the solution for my problems in YT tutorial videos.. :D
i have to agree, but after i drink one energy drink or coffee i can watch the video with the speed of 2 :D
This is 2 years old but still useful xd
Thank you very much ... very helpful video.
What a legend, big help my dude thanks
ITS VERY HELPFULL.. THANKYOU SO MUCH..
Nice video, really helped me!
nice work
Thanks..
Thank you for this Tutorial! great help :)
Thank you so much for this!!!
thank you so much bro
Thank you so much Ireally appreciate this
Thank you. Amazing tutorials. Really helping!
i guess I am pretty off topic but do anyone know a good site to stream newly released series online ?
@Conrad Johnathan Flixportal :)
@Christian Ruben thanks, signed up and it seems like a nice service :) I really appreciate it!!
@Conrad Johnathan happy to help =)
Mst
Please start from scratch, don't copy - paste - and edit. don't be a lazy tutor. anyway, thanks for the tutorial.
I don't mind bout that copy paste thing, but some newbies can't follow well.
sir can you give the code validation of same entry duplicated which is they not longer to allowed to save in database ???
hey Sir what about Combobox how can I adopt with the codes because it only for textbox?
So could I use this as a Signup Page for your MySQL login page?
Thanks for the video :D
thankyou this worked! :)
Hi,Im getting an error when i tried to use this code'Mysql.data.mysqlclient.myslqexeption' occured in mysql.data.dllPlease helpThanks
ProgrammingKnowledge So far this only allows us to work offline (localhost). How if the application is started on another PC? What do we need to do?
hello, its a great video but please i got a message that says "host 'my computername' is not allowed to connect to this MYSQL server" but the login works fine if i'd manually inserted data into the wamp server phpmyadmin.... how do i go about this please? thanks in anticipation forthe urgent response.
Oluwatobi Kareem I think you might need to add your IP address to the list of allowed connections of the web server in question. Hard to understand exactly what you mean. Not sure if you are trying to connect to localhost and getting this problem? Either way I think MySQL is default set to filter remote connections by IP, need to add yours to its list through your pages control panel. I had to do this on my page hosted by GoDaddy, to enable me to make an EXE to manage my database. You can also use the MySQL Workbench, its under Users and Privilages, select the username and modify hostnames that it allows to connect. Wildcards can be used to specify dynamics.
boa tarde, como faria para inserir e pegar imagem nesse mesmo banco mysql teria como incluir nesses exemplos???
realy helpfull
can you give us a tutorial on how to create exe with database (MySql Database) in vb.net .. ?
i want to store a image in database and i want to search it form the database and display it plz call u tell me... i want it plz....
ExecuteReader is not member of string. HELP!
halfway through the video, it sounded like you were zapped by aliens 9:08
sir how you create a form within a form ?
Thanks!
What about in case of a local database ?
how to save a large file inside the mysql database? for example a 20mb mp4 or 50mb of rar format. please make a video of it thanks
"there is no row at position -1". Help please.
Got a problem at line 1 ? help
mude "vales" para "values"
maybe your server is not updated or it is not compatible with your version of your vb
You rock
hi there can you help me
i have a workgroup with 2 guys in university the workgroup is
-create database with mysql in contain for exemple:creat datatable to provision the right quantity by using wilson way or organisation the ordre fabrication by using method MRP (this two way is using in the management production)
-create a grafique interface with visaul basic connect with mysql datbase to see datbase
finallly sorry im i dont speak english very will thanks
how to database data save and view by visual basic program
hi, can you teach us about
when the username and password are already taken please use other words
can you provide source code please?
where is the sauce bro
*Use parameters in SQL!*
Please put some kind of warning for your SQL queries! If you can't replace the video. This is just a bad coding bro. You are teaching people how to be vulnerable, wide open for attacks. That's scary sheit tho, if you are aware that people so easily can get the habit of doing something one - wrong way, not checking other sources. They'll keep doing it..
Guys, use parameterized SQL queries. Look up why. Don't be lazy. Always double check the source of info!
Please Source Code
adapter.Fill(table) error ;p
im pro in this thing
Then help us
Good video, but "July" is not Julie and "Julie is not July".. better use Indian names, your program wont degrade by using nice Indian names.
may i know link for source code sir ? hehehe
Getting error (ExecuteReader requires the command to have a transaction when the Connection assigned to the command is in a pending local transaction. The transaction property of the command has not been initialized) Below is my code. Please let me know where I am doing wrong.
Dim Conn As New SqlConnection("Data Source=XYZ;Initial Catalog=Production;Integrated Security=True")
Dim cmd As New SqlCommand
Dim Reader As SqlDataReader
Public Sub btnCreate_Click(sender As Object, e As EventArgs) Handles btnCreate.Click
Try
Conn.Open()
Dim InsertQuery As String = "INSTER INTO partdata (WorkorderID, PartNumber, Date, BaseDateCode, DateCodesequence)VALUES('" & txtworkorderID.Text & "','" & txtPartnumber.Text & "','" & DateTimePicker1.Text & "','" & txtdate.Text & "','" & txtdateSequence.Text & "')"
Dim cmd As New SqlCommand(InsertQuery, Conn)
Reader = cmd.ExecuteReader
MessageBox.Show("Data Inserted")
transaction.Commit()
ExecuteQuery(InsertQuery)
Conn.Close()
Catch ex As Exception
MsgBox(ex.Message)
Finally
Conn.Dispose()
End Try
End Sub
9:08 BOM
ProgrammingKnowledge Hello mate, i really appreciate your work. I've done exactly the same as you did, except that i use sql and not mysql. so i changed your "mysql" commands to "sql".
The problem is, that i receive no build errors. but when i add the data, it says:
Implicit conversion from data type varchar to varbinary is not allowed. use the CONVERT function to run this query.
Can you please help me sir