Solved

The best way to debug

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

816 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now