Dataformatstring
ToString("MM/dd/yyyy");
.ToShortDateString();
<asp:BoundField HeaderText="Date" DataField="MyDate" DataFormatString="{0:MM/dd/yy}">
GRIDVIEW.Rows[rowNum].Cells[colName].Value = string.Format("{0:dd/MM/yyyy}",29/04/2012 12:00:00 AM);
DataGridViewTextBoxColumn dateOfBirth = new DataGridViewTextBoxColumn(); dateOfBirth.DefaultCellStyle.Format = "MM/dd/yyyy";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)