to perform validation for amout(price) in ASP.net
<p>I'm using 'Amount' as a column in my datatable for my application.</p>

<p>I want to perform the following validations w.r.t 'Amount' which is a string variable.</p>

<p>1) i want to check if the amount has more than 2 digits after the decimal point</p>

<p>2) if the amount is positive or negative .. (as in case of negative error message needs to be flashed)</p>

<p>Can u help in this with short and efficient code snippets ???</p>

<p>EDIT:</p>

<p>@Peter:</p>

<p>But checking digits after decimal shows error even for numbers of kind 1986, 200134 
which are given as inputs...... what to do ?</p>
