Quantcast
Channel: DataSource Controls - SqlDataSource, ObjectDataSource, etc.
Viewing all articles
Browse latest Browse all 956

debuging error Suggestions

$
0
0

I'm looking for suggestions on how to best explore the error that I'm getting on my page now that I've gone to a great deal of work to get data populated onto the page the way I want it. Let me give you some background that may give you some clues to direct me and the rest of the details here....

I have a <asp:FormView> that is datasource bound.  This is an 'update' form  that is presented to the user to be filled out to update existing information that is in a database.  However because of the sensitivity and critical nature of this information it will not immediately be updated. Rather, the plan is to hold the update for review and approval prior to applying the update later to the database.  So my management, requested that I take the information for the record being updated and seed that into the form here so the user could change the things that they wanted to and the update would contain all the data that was contained in the existing record as a starting point.

Prior to doing this modification this form was working perfectly and the only thing I did was seed the value into the textboxes in the form so that the user would have the reference information there to view.  Upon completing that I started testing and found the error below.

I've done a good deal of testing and trying to figure out where the problem might be but so far this has gotten me nowhere. The error message is pretty cryptic to begin with.

Server Error in '/' Application.

Input string was not in a correct format.
  Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

 Exception Details: System.FormatException: Input string was not in a correct format.

Nothing is telling me which textbox or dropdown list is causing the issue so I'm totally blind right now trying to figure out where the problem is.  Any direction would be greatly appreciated!

Ken...


Viewing all articles
Browse latest Browse all 956

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>