How can you manage to have money with a dollar sign in a textbox?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JoeP

    How can you manage to have money with a dollar sign in a textbox?

    Hi All,

    How can you manage to have money with a dollar sign in a masked textbox? or
    a regular textbox. I
    tried enter this one in the mask propert as: $999,999.99 but it does not
    work for me.

    Any idea?

    Thanks,

    Joe


  • PvdG42

    #2
    Re: How can you manage to have money with a dollar sign in a textbox?


    "JoeP" <NoSpam@Hotmail .comwrote in message
    news:%23P0B5DiO JHA.2060@TK2MSF TNGP02.phx.gbl. ..
    Hi All,
    >
    How can you manage to have money with a dollar sign in a masked textbox?
    or a regular textbox. I
    tried enter this one in the mask propert as: $999,999.99 but it does not
    work for me.
    >
    Any idea?
    >
    Thanks,
    >
    Joe
    Have you tried formatting numeric value in question as currency ("C")?

    You didn't tell us which .NET language you are using. This is VB

    <target TextBox>.Text = <variable containing the value to be
    formatted>.ToSt ring("C")

    Comment

    Working...