How to Insert a TextBox value in to Sql database using
VB.Net coding?

Answer Posted / joe

Try Something Like This:

sqCmd.CommandText = "INSERT INTO [RF_DB].[dbo].[RFID_TABLE]
Values('" & textbox1.text & "', '" & textbox2.text & "','" &
textbox3.text & "')"

<A
HREF="http://www.difficulty9.com/blog/8-sql-insert-multiple-values.aspx">Check
The Blog</A>

Is This Answer Correct ?    3 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the main use of a namespace?

769


What is globalization?

738


Explain cls?

783


Is vb.net dead?

720


What is the difference between convert.tostring and i.tostring method?

769


What are the two main parts of .net?

777


How to achieve Polymorphism in VB.Net?

811


my project run very wel in my sytem yhen i am deploying my project on client machine ,after deployment i run my project then it show " can no find server name " what i do .

1741


What are the difference between dispose(), close(), exit(), end()?

701


Explain about jagged arrarys ?

683


Explain the use of new keyword?

734


How can we remove handlers at run time?

793


What are all the parts of .net framework?

740


What is the difference between convert.tostring and .tostring() method?

772


Explain the difference between import system.data.sqlclient and system.data.oledb?

749