How to

Discussion in 'ASP .Net' started by Henrique Berenguel, Jun 27, 2003.

  1. 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, Jun 27, 2003
    #1
    1. Advertising

  2. How do I do that?

    Do you have a sample?

    Tks


    "Tu-Thach" <> escreveu na mensagem
    news:0d0d01c33cc6$8be57dd0$...
    You have to set
    DataFormatString="C"
    for the column that you want rendered as monetary value.

    Tu-Thach

    >-----Original Message-----
    >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, Jun 27, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.

Share This Page