BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
gbcc["RequiredDate"].StyleInfo.Format = "d";
gbcc["RequiredDate"].StyleInfo.CellValueType = typeof(DateTime);
If setting the CellValueType does not handle the problrm, can you attach a sample?
ds.Tables[sName].Rows[0][3] = DateTime.Now;
to set one of the field to a DateTime value.
The DataView.RowFilter is failing in this situation. If you replace the grid with a DataGrid and just try to apply the DataView.RowFilter there as well, it also fails in this same situation.
I think it is rthe milliseconds that is causing the problem. Instead of the code above, if I use this code to set the value (with zero milliseconds), things work OK.
DateTime dt = DateTime.Now; ds.Tables[sName].Rows[0][3] = new DateTime(dt.Year, dt.Month, dt.Day, dt.Hour, dt.Minute, dt.Second, 0);We will look into what can be done to avoiod this problem.