data table binding to grid

Discussion in 'ASP .Net Datagrid Control' started by jay widman, Jun 27, 2004.

  1. jay widman

    jay widman Guest

    We have a data table bound to a datagrid.
    In the data table, there is a column of type
    decimal. Since any decimal in this column
    will always be a whole number, we want this
    bound decimal to be displayed in the grid as
    an integer.
    We know that we must modify the Format definition
    for that column in the datagrid, but we don't
    know exactly what to use there.

    thanks in advance
    jay widman
     
    jay widman, Jun 27, 2004
    #1
    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.
Similar Threads
  1. Simon Harris

    Binding Image to Field in Data Grid

    Simon Harris, May 29, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    6,608
    Azhar
    Nov 2, 2007
  2. Nita Raju

    Binding multiple table to a Data Grid

    Nita Raju, Dec 9, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,269
    Eliyahu Goldin
    Dec 9, 2004
  3. vineetbatta

    Binding data to Grid control with CUSTOM DATA CLASS

    vineetbatta, Oct 16, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    766
    vineetbatta
    Oct 16, 2006
  4. David Alexander
    Replies:
    0
    Views:
    137
    David Alexander
    Jun 18, 2004
  5. dodo
    Replies:
    0
    Views:
    164
Loading...

Share This Page