hour - C# Get Only Date from DateTimePicker -


i topic (how date value windows forms datetimepicker control?) dont fix problem;

i send date field sql code;

baglanti.cmd.parameters.add("@odemetarihi", dtodemetarih.value.toshortdatestring());  

and try it;

baglanti.cmd.parameters.add("@odemetarihi", dtodemetarih.value.tostring(dd-mm-yyyy)); 

but send pdf datagrid values using itextsharp saw pdf file date field "10.07.2013 00:00:00". want report without hour. do?

just try this.first need retrieve date datetimepicker , use toshortdatestring()

baglanti.cmd.parameters.add("@odemetarihi", dtodemetarih.date.toshortdatestring()); 

Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -