Question Locked

Inserting data in textboxes into a database in vb.net

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am writing a database application which demands entering data in textboxes on a form and inserting/saving the entered data into various fields of the database.Please I need a step by step approach and the necessary codes for the problem. Thank you.

3 replies

by tony hopkinson

Google VB.Net ADO Parameterised query.

DO NOT do this

String Somesql = String.Format("Update MyTable Set MyColumn = '{0}' Where Mykey = SomeValue",MyTextBox.Text")

If you don't know why google sql injection attack. Very bad habit to develop the above.

This discussion is closed to new replies.