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 - How to display all orders for a single product showing the most recent first? Woocommerce -

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

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -