Proble

  • Thread starter Thread starter Jacek Jurkowski
  • Start date Start date
J

Jacek Jurkowski

Warto¶æ is an Nullable<DateTime>
DATAOD is an Nullable<DateTime>


d1.Wartosc = k_chipp.DATAOD;
d1.DataBindings.Add("Wartosc", k_chipp, "DATAOD");

First line is ok but secound causes an exception
:Cannot format the value to desired type.

DataBinding does not work with nullables?
 
Jacek Jurkowski said:
Warto¶æ is an Nullable<DateTime>
DATAOD is an Nullable<DateTime>


d1.Wartosc = k_chipp.DATAOD;
d1.DataBindings.Add("Wartosc", k_chipp, "DATAOD");

First line is ok but secound causes an exception
:Cannot format the value to desired type.

DataBinding does not work with nullables?

What is the typeof d1?
 
Back
Top