I had to make some changes in one of my table and so to refresh the table in my dbml file, I just removed and readded that particular table by dragging it from server explorer of vs 2010. After that, all of a sudden, all my web controls started giving me error "The name '__' does not exist". They all work when the tag prefix is asp, but all of them with my own tag stopped working. I checked the web.config file and it has the correct name added in the control with the correct tag name. It was working till I remove and then add a table from dbml file.
Please help!
Often when you update a table in the .dbml file the auto-generator changes the pluralization of the objects in question. You will want to check to make sure that the new table in the .dbml table is not adding or subtracting (s) or (ies) in a manner that is inconsistent with the way it was before the change.