Posted on: 11/30/2012 9:20:08 PM | Views : 590

I have an aspx page with a SqlDatSource that is tied to a ListView when the user goes to update a row by clicking "Edit" if the string is not properly input (datetime) then an exception is created and the application throws and error.
Say the user puts in "8" instead of "8:00" how do I handle the C# exception since it is part of a SqlDataSource
.aspx page
<asp:SqlDataSource ID="SqlDataSource1" runat="server"              Go to the complete details ...