473,408 Members | 1,788 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Mask Textbox for currency

Dear Friends
I need to show the price which is of SQL datatype "int" in ASP.net textbox
and I need to show the price like this 1000,000,000.
I use .net framework 1.0 not 1.1. Is there an IntputMask or MaskEdit control
in .NET? If so, how can I add it to my toolbox?
Also is datatype SQL int enough for Home price in US?

Thank you very much
Andy Eshtry
Nov 18 '05 #1
2 6573
Int data type is
Integer (whole number) data from -2^31 (-2,147,483,648) through 2^31 - 1
(2,147,483,647). Storage size is 4 bytes. The SQL-92 synonym for int is
integer.

as far as the fomat you can use .NET formatting>>> public static int
Parse(string, NumberStyles, IFormatProvider);

this is the contructor for int32.Parse that you would need.

"Andy Eshtry" <an********@hotmail.com> wrote in message
news:eW**************@tk2msftngp13.phx.gbl...
Dear Friends
I need to show the price which is of SQL datatype "int" in ASP.net textbox and I need to show the price like this 1000,000,000.
I use .net framework 1.0 not 1.1. Is there an IntputMask or MaskEdit control in .NET? If so, how can I add it to my toolbox?
Also is datatype SQL int enough for Home price in US?

Thank you very much
Andy Eshtry

Nov 18 '05 #2
JRH
try http://www.pageblox.com ...they have an excellent currency
control as well as other controls which do "as-you-type" validation.
Their controls are focused on real-world business needs instead of UI
elements.


"Gerald Klein" <co********@bigfoot.com> wrote in message news:<e5*************@TK2MSFTNGP10.phx.gbl>...
Int data type is
Integer (whole number) data from -2^31 (-2,147,483,648) through 2^31 - 1
(2,147,483,647). Storage size is 4 bytes. The SQL-92 synonym for int is
integer.

as far as the fomat you can use .NET formatting>>> public static int
Parse(string, NumberStyles, IFormatProvider);

this is the contructor for int32.Parse that you would need.

"Andy Eshtry" <an********@hotmail.com> wrote in message
news:eW**************@tk2msftngp13.phx.gbl...
Dear Friends
I need to show the price which is of SQL datatype "int" in ASP.net

textbox
and I need to show the price like this 1000,000,000.
I use .net framework 1.0 not 1.1. Is there an IntputMask or MaskEdit

control
in .NET? If so, how can I add it to my toolbox?
Also is datatype SQL int enough for Home price in US?

Thank you very much
Andy Eshtry

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: johnp | last post by:
Hi, Our Tech department updated users to Office 2003 this week. Now the input mask in one of the applications is showing up as: (###) ###-### The input mask wizard works correctly when I...
2
by: bobh | last post by:
Hi All, Been trying to get a typed entry to display as I neeed it to and can't get it to work. I've been playing around with field datatype and input mask but no luck so, maybe you can help ...
9
by: msnews.microsoft.com | last post by:
Hello. How can I set input mask for TextBox? Or can I use for mask input some other control?
2
by: msnews.microsoft.com | last post by:
Hello. How can I set input mask for TextBox in Windows Form? For example I want to mask (format) TextBox for inputing phone number like (999) 999-99-99. The TextBox must first show something like...
0
by: Christian | last post by:
Hi all, on a PocketPC 2003 dialog I want the user to enter an IP-Adress using a TextBox control. Within the TextBox control I would like to display an predefined input mask like xxx.xxx.xxx.xxx ...
2
by: Alberto | last post by:
Can I set a mask to a TextBox? How? Thank you very much
0
by: Anonieko | last post by:
Are there any javascript codes there? Answer: Yes On the PageLoad event call InitialClientControsl as follows /// <summary> /// This will add client-side event handlers for most of the...
1
by: Greg Smith | last post by:
Is there a way to mask input for a TextBox? I would like to have TextBoxes that accept only: - numbers - currency Any help is greatly appreciated.
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.