how save recoreed in the database

Answer Posted / ajrun

Dim Query
Query="insert into TableName(username)values('" &
txt_username.text & "')"
Dim cmd as sqlclient.sqlcommand=new
sqlclient.sqlcommand(Query,connection)
cmd.ExecuteNonquery()

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are controls in windows forms?

618


How many navigational features are provided by visual studio.net ide?

704


Explain how to get records from a database?

746


Name the property which is used to specify the source from where the crystal reports would be accessed.

639


What is form design?

630






Where to use new keyword other than create instance?

773


Explain how to split a column header in gridview using c#.net?

648


How will calculated the net amount in tax add like total net amount = LT+ST+CESS+amount 2500 = 10%+12.5%+5.15%+amount? kindly please explain what type of formula we apply in software? Tushar

2067


What is form and its uses?

586


How to get records from a database?

660


Name the template that is used to create a user-defined component.

595


how barcode print on the win form

2088


Explain how save rerecord in the database?

667


how see report periviwe

2414


Are windows forms still used?

657