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

How many classes a dll can contain?

551


How do you use two datareaders at the same time in a vb.net windows application ?

559


Can you please explain the difference between vb and vb.net?

457


Explain the advantages of vb.net?

525


Explain global assembly cache (gac)?

721






Explain the services provided by common language infrastructure.

715


How a base class method is hidden?

611


What is internal keyword in .net framework?

621


Write a program to find all text files in a logical drive and return the count of the number of files?

2273


Explain about the performance of visual basic?

589


Described strong typing

569


What are jagged arrarys ?

571


List the different types of assembly?

547


Can we use Vb.Net and C# language simultaneously in one .Net application?

562


Can you please explain the difference between int and int32?

560