adspace


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 are the features of c# which are not present in vb.net?

1185


Explain the difference between datatable and dataset?

1423


How can I extract the formated word(bold,italic,underline,font,color etc) from the msword file.?

1108


What is the use of assembly?

1081


Explain how can we remove handlers at run time?

1077


Explain the difference between system.string and system.stringbuilder classes?

1082


Explain an assembly?

1059


What is option strict?

1214


How to retrieve images in sql server database through vb.net?

1043


How to send xml file on server using http protocol?

1077


How to store images in sql server database through vb.net?

1024


What is early binding?

1016