Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 70
  • Last Modified:

The best way to debug

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
mcrmg
Asked:
mcrmg
  • 2
1 Solution
 
funwithdotnetCommented:
Post the part of the code where the error occurs. The error should contain a line number to help.
0
 
mcrmgAuthor Commented:
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
 
mcrmgAuthor Commented:
thank you
0

Featured Post

Industry Leaders: 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!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now