I'm trying to read/add data to a database in Visual studios. I have connected to a Database via
Server Explorer -> Data Connections - > Add new data connection.
When a button is clicked, I would like to read values from a textbox and add data to this database. I'm a very new to Visual basics, how could I do this via code? Could you explain the procedure to do this?(I did a bit of SQL couple of years ago, so I have a bit of knowledge) Or link me to a website which explains this.
Any help much appreciated.
There are a lot of resources out there about databinding
:
Bind Data to WinForms Controls
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.