Dot Net WindowsForms Question:

Download Job Interview Questions and Answers PDF

How save rerecord in the database?

Dot Net WindowsForms Interview Question
Dot Net WindowsForms Interview Question

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?