>commenting out the using block in the if block or putting code after the >using block in the if resolves the problem
Richard, i am not quite able to understand the solution for this bug. It would be really helpful for many of us if you can explain it in more detail on why such a confusion in the compiler happens in the first place and why the using block is responsible for creating this behaviour. =================================== This list is hosted by DevelopMentor� http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com
