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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top