Try this,if you are using bound fields:
<%# Bind("date", "{0:dd/MM/yyyy}") %>>
Or
To make it more flexible, make a function and pass the desired format you want.
public String DateToString(DateTime date, Int32 dateFormat)
{
String result = "";
if (dateFormat == 1)
result = date.ToString("MM/dd/yyyy");
else
result = date.ToString("dd/MM/yyyy");
return result;
}
On Grid view's RowDataBound event you can pass specify date format.
txtDate.Text = DateToString(Convert.ToDateTime(row["Date"].ToString()), DateFormat);
Hope this will help.
Thanks