Solved

The best way to debug

Posted on 2016-08-14
3
45 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

680 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