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

php - Autoloader issue not returning Class -

ruby - Prevent Custom Validation Error on Association -

c++ - Why am i getting wrong values when performing PE base relocation? -