Databinding to a grid - DateTime problem

D

Duggi

When I bind a table containing the DateTime field, to a grid, the
column is showing up, 2008-09-22T12:15:59.

I would like to format the value as 22-09-2008 12:15:59

Any ideas how to achieve it??

Thanks in advance.

-Cnu
 
D

Duggi

When I bind a table containing the DateTime field, to a grid, the
column is showing up, 2008-09-22T12:15:59.

I would like to format the value as 22-09-2008  12:15:59

Any ideas how to achieve it??

Thanks in advance.

-Cnu

does anyone know how to remove T and format DateTime to grid?

-Cnu
 
M

Marc Gravell

What grid are you using? WinForms? ASP.NET? WPF? Other?
What data source are you using? typed classes? DataTable? xml?

Marc
 
D

Duggi

What grid are you using? WinForms? ASP.NET? WPF? Other?
What data source are you using? typed classes? DataTable? xml?

Marc

WinForm - DevExpress Grid

DataSource, I specified as one of the object in the project. (an XSD
file)

-Cnu
 
M

Marc Gravell

Then it sounds like it might be a question for DevExpress.

Given the "T", it sounds like you are binding xml to the gri - is this
correct?

Marc
 
D

Duggi

Then it sounds like it might be a question for DevExpress.

Given the "T", it sounds like you are binding xml to the gri - is this
correct?

Marc

Yes. I am binding XML that comes out of a table to DevExpress Grid.

-Cnu
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top