How to

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

    How to

    Hello folks. I have a DataGrid in a Web Form. I´d like to show numeric
    columns in Money format US$ 10,000.98. However, when I fill the DataGrid
    from a SqlCommand, it fill in the DataGrid like this: 1000098. How do I do
    that?

    Thanks


  • Henrique Berenguel

    #2
    Re: How to

    How do I do that?

    Do you have a sample?

    Tks


    "Tu-Thach" <tuthach@yahoo. com> escreveu na mensagem
    news:0d0d01c33c c6$8be57dd0$a40 1280a@phx.gbl.. .
    You have to set
    DataFormatStrin g="C"
    for the column that you want rendered as monetary value.

    Tu-Thach
    [color=blue]
    >-----Original Message-----
    >Hello folks. I have a DataGrid in a Web Form. I´d like[/color]
    to show numeric[color=blue]
    >columns in Money format US$ 10,000.98. However, when I[/color]
    fill the DataGrid[color=blue]
    >from a SqlCommand, it fill in the DataGrid like this:[/color]
    1000098. How do I do[color=blue]
    >that?
    >
    >Thanks
    >
    >
    >.
    >[/color]


    Comment

    Working...