MtxtTrans_Date .Text = TransGrid.CurrentRow.Cells["Trans_Date"].Value.ToString();
MtxtTrans_Date .Text = TransGrid.CurrentRow.Cells["Trans_Date"].Value.ToString("yyyy/MM/dd");
Hi body, use this code to solve your problem MtxtTrans_Date.Text=string.Format("{0:yyyy/MM/dd}",TransGrid.CurrentRow.Cells["Trans_Date"].Value);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)