I'm having a bug which I have been unable to solve. I'm doing a web
project in VB.NET. The bizarre thing is that I had the same method of
filling and linking the controls but all was working flawlessly. Then
after some changes, the bug appeared and disappeared later just as
mysteriously. I did not have the time to investigate why.
Few
days ago, I again made changes and added some controls. And.. the bug
reappeared! I have checked all code but found nothing wrong.
So now I have replicated the same behavior in a new web project which
uses Northwind database and linq with tables Customer, Orders and
Products. I got the same error but on the third control's DataBinding
code. It should have appeared on the second dropdownlist itself.
Please see error below and followed by the aspx and codebehind.
System.ArgumentOutOfRangeException was unhandled by user code
Message=&qu ...
Go to the complete details ...