Hi Friends
What is NullPointerException and how to handle it?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
ashok reddyPosted Oct 4, 2012, 8:26 AM
public static decimal ConvertToDecimal(string Value) { decimal id = 0; decimal.TryParse(Value, out id); return id; }
R ACHUTHAPosted Oct 4, 2012, 6:54 AM
http://www.dotnetperls.com/nullreferenceexception