Visual Studio Development Bookmark and Share   
 index > Visual C# Express Edition > Textbox Pro Question
 

Textbox Pro Question

This textbox mission is to receive number data only , so if the textbox has numbers stored inside, it will clear itself before receiving new data.
If I were to type out this requirement through C# coding, how should I type the code????
Heri Tony  Monday, October 12, 2009 6:18 AM
Start by defining the "receiving new data" operation, the rest will fall into place automatically.  I suspect what you are looking for is a Value property of type decimal, much like NumericUpDown.

Hans Passant.
nobugz  Monday, October 12, 2009 12:05 PM
Hi Heri Tony,

This textbox mission is to receive number data only , so if the textbox has numbers stored inside, it will clear itself before receiving new data.

Could you please clarify your issue more? Do you mean that we can only enter number data in textbox?

Best regards,
Yichun Chen
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Tuesday, October 13, 2009 10:50 AM
Hi Heri Tony,

We are changing the issue type to “Comment�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by editing your initial post and changing the radio button at the top of the post editor window. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

Thank you!
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
YiChun Chen  Monday, October 19, 2009 3:46 AM

You can use google to search for other answers

Custom Search

More Threads

• How to get the Last Day of a particular month.
• Unallowed sigs in a TextBox
• Visual Web Developer 2005 Express Edition
• Problem with functions...
• DataGridView - "disallow" to select more cells
• RegistryKey return null if cant find
• a newbie needing help with random numbers and the chi square test as described by Donald Knuth
• Add Record BindingSource and BindingNavigator
• Problem on connecting to SQL Server via C#
• debugging within a try catch statement (disabling try catch)?