Hi Marcos,
Check out Binding.Format event in .net help files.
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
"Marcos Rodríguez" <(E-Mail Removed)> wrote in message
news:3290DA24-552B-4A73-80D8-(E-Mail Removed)...
> Hi all,
> I have an Access Data Base containing a table which have a DateTime Field.
I am creating a Windows App and I am using a DataGrid object to show data
from the table using a DataSet object. My problem is that the column showing
the DateTime field shows the data with the format dd/MM/yyyy but I want to
show the format dd/MM/yyyy HH/mm.
> The Field on the DataBase is defined as DateTime with the format
dd/MM/yyyy HH:mm. Also I have created the DataSet by code.
> Please, could anyone let me know how can I change the format of column on
a DataGrid (programmatically)?.
> Many Thanks.
> Marcos