CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2002
    Posts
    34

    Question DataView exception error... Please help

    Hi I'm getting the below error message when i try to initialize dataview object

    An unhandled exception of type 'System.Data.SyntaxErrorException' occurred in system.data.dll

    Additional information: Syntax error: Missing operand after 's' operator.

    I use the following code

    Dim dv As New DataView(ds.Tables("Files"), "URL = '" & strFile & "'", "ID", DataViewRowState.CurrentRows)

  2. #2
    Join Date
    Nov 2002
    Posts
    34
    don't worry got it,

    I had a single quote in filename....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured