0

I'm trying to set an MS Accessa date/time column format using ADOX. Here's an example of my code:

Column col = new Column();
col.Name = "name";
col.Type = DataTypeEnum.adDate

And so far, it's working. What i need to do is setting this date/time column format to "short date".

I've tried something like this:

col.Properties["Format"].Value = "short date";

... but it's not working.

4

0 回答 0