DataGrid - DateTime problem

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

    #1

    DataGrid - DateTime problem

    Hi,
    I used datagrid in my C# application recently wherein I set the source of
    the datagrid to be a datatable. Everything seemed perfect until when I saw
    that one of the columns of type "DateTime" showed up only the date part of
    the value!!! Is this a known bug in the datagrid?

    Thanks
    Krishnan


  • Dmitriy Lapshin [C# / .NET MVP]

    #2
    Re: DataGrid - DateTime problem

    Hi

    Try the advice I've given in the "Format number in the datagrid" thread.

    --
    Dmitriy Lapshin [C# / .NET MVP]
    X-Unity Test Studio

    Bring the power of unit testing to VS .NET IDE

    "Krishnan" <krishnan_r_tak e_me_away@myrea lbox.com> wrote in message
    news:ONyCVqkuDH A.2308@TK2MSFTN GP09.phx.gbl...[color=blue]
    > Hi,
    > I used datagrid in my C# application recently wherein I set the source of
    > the datagrid to be a datatable. Everything seemed perfect until when I saw
    > that one of the columns of type "DateTime" showed up only the date part of
    > the value!!! Is this a known bug in the datagrid?
    >
    > Thanks
    > Krishnan
    >
    >[/color]

    Comment

    Working...