Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

The best way to debug

Posted on 2016-08-14
3
44 Views
Last Modified: 2016-08-17
Hi,

I am building a huge form (about 200 fields) in ASP.NET.

What is the best way to debug when receive the error

Input string was not in a correct format.?

Since I do not know which field is causing the error.  thank you
0
Comment
Question by:mcrmg
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
funwithdotnet earned 500 total points
ID: 41755663
Post the part of the code where the error occurs. The error should contain a line number to help.
0
 

Author Comment

by:mcrmg
ID: 41755664
Thanks for the direction, I had try and catch, so, it just showed the error.

Once I removed try and catch, I can see the exact error as you mentioned..thank you
0
 

Author Closing Comment

by:mcrmg
ID: 41759206
thank you
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question