ObjectDataSource and Method parameter change

VS.NET 2005 RC1

If you have defined a couple of ObjectDataSources that point to a DataObjectMethod and at a later stage decide to change a parameter in the DataObjectMethod, you page will compile without any problems but you will see errors at runtime.

Clicking on the DataObjectMethod and selecting "find all references" does not return anything either.

I guess the solution for now is when you change a DataObjectMethod, search your solution for any occurrences of that method and fix accordingly.

If anyone has a better idea, please let me know.

Setting parameters for DataSourceControls from code-beside (ASP.NET 2.0)

No Comments