I'm trying to trap for an index error when inserting. I'm using an SQLDataSource. Is there a way to do this?
Protected Sub UploadPictureDataSource_Inserting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceCommandEventArgs) Handles UploadPictureDataSource.Inserting
ShowErrorMessage("Only one picture file of type (jpeg, gift, or png) can be uploaded for each client.")
End Sub
...
Go to the complete details ...