After deleting a dataset out of the app_code directory I would expect it not to show up in the dropdownlist for objectdatasource, but it still showing up there. Is this being cached somewhere?
After you deleted it, did you re-build the project?
No, it should not. Try building the solution again and check. It may be a cause that the reference is not lost.
Thanks