Loading

How to Modify Data

Submitted by: 


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.

Comparison

In VB 6.0 when you use the execute command the equivalent of it in .NET is the ExecuteNonQuery Command. Same with ADODC the equivalent is Dataset. Sometimes we want to play it programmatically. Still in .NET you can modify data programmatically using Dataset.

In this tutorial I will explain first on how to modify data using ExecuteNonQuery. When using ExecuteNonQuery to modify data you execute it using a Command.

Previous: How to Retrieve Data Using Datasets and Data Adapters

Next: How to Modify Data Using ExecuteNonQuery




Comments

Gud

good

goood thanks

thanx a lot.............

it is best for biginer to learn

Pages

Add new comment

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.