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

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

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

ios - I get the error Property '...' not found on object of type '...' -