In ASP.NET 2.0 with C# I have a gridview. one of the columns is a template of dropdownlist.
I have 2 sqldatasource in the page. one for the gridview and one for the dropdownlist.
The dropdownlist is suppose to show a value that does nor exist in its sqldatasource.
Where and how I catch this execption of System.ArgumentOutOfRangeException or how do I add a validation control
to the gridview or how do I show an error message of my own and not just get the screen error of VS2005?