Dot Net WindowsForms Question:
Download Questions PDF

How save rerecord in the database?

Answer:

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

Download Dot Net WindowsForms Interview Questions And Answers PDF

Previous QuestionNext Question
How barcode create in the report?How insert record in the database?