txtDate.Text=DateTime.Now.ToString("dd/MM/yyyy");
grdsale.SelectedRow.Cells[6].Text=DateTime.Now.ToString("dd/MM/yyyy");
<asp:BoundField DataField="YourDateField" HeaderText="SomeHeader" DataFormatString="{0:MM-dd-yyyy hh:mm tt}" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)