T
tarscher
Hi all,
I have a grid that contains 7 columns from 3 tables (3 unique keys, 4
normal fields). I show this 7 columns on the gridview. I now want to
add edit and delete functionality. This should be fairly easy cos it's
a build in feature of the gridview but alas...
When the user clicks delete only one row on one table needs to be
deleted thus I made a new query in my Datatable (DeleteissueQuery) that
excpects an id
I get following error when clicking the delete button:
ObjectDataSource 'ObjectDataSource3' could not find a non-generic
method 'DeleteIssueQuery' that has parameters: origin_id, original_id.
The same goes for the update: I only have to update one table and have
created a query that expects 5 parameters:
ObjectDataSource 'ObjectDataSource3' could not find a non-generic
method 'UpdateIssueQuery' that has parameters: issue, description,
idbuild, idhardware, origin_id, hardware, build, original_id.
It looks like the gridview is sending parameters to the queries that
should not be passed. How can i control what parameter is send and what
isn't?
Thanks in advance
Stijn
I have a grid that contains 7 columns from 3 tables (3 unique keys, 4
normal fields). I show this 7 columns on the gridview. I now want to
add edit and delete functionality. This should be fairly easy cos it's
a build in feature of the gridview but alas...
When the user clicks delete only one row on one table needs to be
deleted thus I made a new query in my Datatable (DeleteissueQuery) that
excpects an id
I get following error when clicking the delete button:
ObjectDataSource 'ObjectDataSource3' could not find a non-generic
method 'DeleteIssueQuery' that has parameters: origin_id, original_id.
The same goes for the update: I only have to update one table and have
created a query that expects 5 parameters:
ObjectDataSource 'ObjectDataSource3' could not find a non-generic
method 'UpdateIssueQuery' that has parameters: issue, description,
idbuild, idhardware, origin_id, hardware, build, original_id.
It looks like the gridview is sending parameters to the queries that
should not be passed. How can i control what parameter is send and what
isn't?
Thanks in advance
Stijn