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

How to get records from a database?

595


Name the property which is used to lock a textbox to enter data?

535


Explain how barcode create in the report?

574


What are window based applications?

527


Which template creates a .net compact framework 2.0 forms application for pocket pc 2003 and later?

565






Explain something about crystal report in brief?

557


What are window applications?

506


which property is used to change to some value to access a identity column in datacontrols?

1676


How do you apply specific formatting to the data inside the cells?

1836


What are windows applications?

499


What is form technology?

528


What is the advantage of a form?

575


What are the forms of graphics?

519


What is form record?

538


What is an example of form?

569