Hi, We are using LINQtoSQL class in VS 2008 to connect to the database and to perform Insert, Update and Delete operations in GridView. We are using the following code in LINQ Application. Public Class DbAccess Public Function FillWorkflows() As Table(Of Workflow) dc = New DataContext(New SqlConnection(sConnectionString)) Return dc.GetTable(Of Workflow)() End Function Public Sub UpdateTask() Try dc.SubmitChanges() Catch ex As Exception Throw ex End Try End Sub End class We are referring this application's
Read More...