I have a problem of reading a dateTime column from a database. I set a parameter which is a datetime, but it does not read it. I am wondering what could be wrong.

This is how I have written a date and time in the database:
http://file.si/pthumbs/large/7216/C%23_datetime_Lista.JPG

And this is my code with the parameter. In the value "Datum" you can see I got the same date and time as it is in the database. But the reader (bralec) does not read it.

http://file.si/files/2081_glnve/C%23_datetime_Lista2.JPG

What could be wrong?

Do not customize the regional settings (i.e. date,time).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.