G
Guest
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
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