none
Format exception RRS feed

  • Question

  • I have the following bit of code that populates the insert parameters of a SqlDataSource :

            string[] checkInfo = eventArgument.Split('@');
            for (int j = 0; j < 62; j++)
            {
                    SDS_Checklist.InsertParameters[j].DefaultValue = checkInfo[j];
            }


    When I go to do an insert(), I get the error 'Format Exception'.  My question is : is there any way to determine WHICH field actually caused the error?


    Monday, October 1, 2007 6:07 PM