Hi,
I don't know what you're using for your database software, but just as
a suggestion, can you reproduce the full query string along with the
parameter 'Beverage' from the web page and run it in the DB software
itself?
I have a similar setup to yours but it's only using one DDL, and if I
change part of the query by adding a letter to one of the parameters,
say in your case making "CategoryName" into "CategoryName1," it would
give me the same error but instead of it saying "invalid column name
'beverage'" it would say invalid column name 'CategoryName1'.
You may want to check what your DDL1.DataMember equals as well...
I suppose it could also be that there is some kind of disconnect
between your query and your dsCategor*ies121...
HTH.
|