c# - Failed to get schema for this query Visual Studio 2015 -


i have page in program has datagridview object on it. populated query selects data database table called docs.

the table has 4 columns:

  1. applicant_name
  2. doc_id
  3. doc_name
  4. doc_contents

i'm trying add delete query user delete document table when select , hit 'delete' button.

when try create delete query,

"failed schema query"

message , can't understand why.

my query looks this:

delete docs        (doc_id = @param3) 

could explain why i'm getting error?

are using data binding load adapter, if yes pz check if insert update delete statement generated adapter.


Comments

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -