Update command
The update command is used to update the existing record from database has the below command:
update table1 set Firstname='rohatash', Lastname='kumar' where City='mumbai' and Id='1'
For example
Imports System.Data.SqlClient
Module Module1
Sub Main()
Dim str As String = "Data Source=.;uid=sa;pwd=Password$2;database=master"
Dim con As New SqlConnection(str)
Try

Vinit KumarPosted Sep 21, 2011, 1:55 AM
nice blog.....