简体   繁体   中英

Visual Studios C# - Adding, reading, removing data from Database

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.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM