I have a field as DateTime, I want to display only date( without time ) in my datagridview c#. I get the datetime. example: 22.03.2016 00:00:00 Any help would be appreciated. I
There is an easier way. Next time, if you add data to DataGridView via clicking the little triangle at the right-top corner of DataGridView;
Edit your XXXDataSet.Designer according to:
this.columnYYY = new global::System.Data.DataColumn("YYY", typeof(**string**), null, global::System.Data.MappingType.Element);
Change String to DateTime. Problem solved enjoy. :)