Loading

executenonquery

Language: 

This tutorial is part of Database Programming Made Easy Series.

[inline:textbox control using data readers and executenonquery.jpg=How to Retrieve and Save Data using TextBox Control]

In this tutorial you'll learn how to retrieve and save data back to the database using Data Readers and ExecuteNonQuery.

Microsoft Access database and Microsoft SQL Server sample is provided.

This tutorial is part of Database Programming Made Easy Series.

Before, I'm even wondering how to modify data in Visual Basic .NET especially if you used to work with Visual Basic 6.0. Although, there are slight difference with the two versions but I found .NET more interesting compare to VB 6.0.

Language: 

This tutorial is part of Database Programming Made Easy Series.

[inline:ExecuteNonQuery.jpg=Modify Data using ExecuteNonQuery]

In my Hotel Reservation System (VB .NET version) I’m using ExecuteNonQuery sometimes if the data to be passed to the data source is small. Like inserting or updating a single row. You can use ExecuteNonQuery even if you want to delete multiple rows.

Pages