Hi,
I'm not sure if this is a bug or it's just me not knowing how to do things.
I have a dataset with a table that has a columnt type System.DateTime. I created this dataset using the datase designer in VS2005, while connected to my sqlite.net database.
I use the tableadapter.fill method to populate the dataset in my form, and then bind a datagridview to it.
I needed to format the date on the datagridview to say.. "m/d/yyyy hh:mm". I did that by editing the datagridview columns, and change the DefaultCellStyle property to "DataGridViewCellStyle { Format=G }"
That's all good, except that when I manually edit the cell and save the data.... WOOPS!! it stores the date string in the "m/d/yyyy hh:mm" format instead of using the sqlite.net native string format "yyyy-mm-dd hh:mm:ss.ssssss"
Of course, that messes up my entire application, since that format is not recongnized as a valid datetime by sqlite.net when I read the field latter.
Am I doing somehting wrong?
Thanks