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 would you do to remove microsoft visual basic name space?

726


Tell us how many languages are supported by .net?

724


What are jagged arrarys ?

785


What is the importance of a Button control?

1105


Can you please explain the difference between dispose and finalize()?

714


What do you understand by vb.net?

832


Define manifest?

771


How does vb.net achieve polymorphism?

739


What are different types of jit ?

815


What is an assembly and its use?

766


Is vb.net a programming language?

761


Explain about branching logic control in vb.net?

729


What is private assembly?

719


List the two main parts of .net?

800


What are the different types of applications supported in .net (or) .net framework?

735