If you are using ASP.NET forms, you can use the compare validator:
<asp:TextBox id="txt1" runat="server" />
<asp:CompareValidator
id="compval"
ControlToValidate="txt1"
Type="Double"
Text="Validation Failed!"
Operator="GreaterThan"
ValueToCompare = "0"
runat="server" />
There are plenty of resources if you google for "asp.net comparevalidator"