Click here to Skip to main content
12,547,922 members (43,491 online)
Rate this:
Please Sign up or sign in to vote.
See more: All-Topics
My windows application form works finely but whenever i modify already values which are already modified it shows above subject line error how to solve it?

Private Sub Button1_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    End Sub

i am using an sql server for connecting an mdf file for connecting through following command

Imports System.Data.SqlClient
Imports System.Data.Sql
Module Module1
    Public acscmd As New SqlCommand
    Public acsconn As New SqlConnection
    Public acsda As New SqlDataAdapter
    Public acsds As New DataSet
    Public strsql As String
    Public Strreportname As String
    Sub Connect()
        acsconn.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Items.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True;"
        If acsconn.State = ConnectionState.Open Then
        End If
    End Sub
End Module

please give me a valid code to correct my error. the error occurs in this line

Please help me.
Posted 10-Dec-12 3:57am
Sergey Alexandrovich Kryukov 10-Dec-12 17:14pm
How can it be "all topic"? Tag the platform, the language and whatever else is relevant.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161021.1 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100