Click here to Skip to main content
14,735,206 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Please help me

should not accept completed zero's and complete one's for text box validation
Posted

Conver the textbox valie to to Double datatype. The validation will perfectly work.

if(Convert.ToDouble(Textbox1.Text)==0)
{
//write message for validation
}



Thanks
   
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900