IsDataSource + Webservices file breaks the Update

2 replies. Last post: October 22, 2009 2:10 AM by Rich Floyd
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Rich FloydMember

I've created an application that uses WebGrid and the IsDataSource. So far everything works properly, the grid fills in with data, and I am able to edit a text field, and it updates properly.


I wanted to add a web service to the application, however by simply adding a blank file into the App_Code directory, called "myservice.vb", the Update on the WebGrid no longer works. It gives an error:

"ISDataSource ... could not find a non-generic method 'Update' that has parameters ... "


When I delete the "myservice.vb" file, the update functionality works again. This file is not referenced anywhere in the project, and I have also tried with the file there when it has proper webservice functions inside of it, but still get the error.


Is there anyway around this issue?

All times are GMT -5. The time now is 2:56 PM.
Previous Next