You can do another thing apart from Solution 1.
You can create a custom Function where you can pass your datatime and Format in which you want to convert your date.
along with custom function you can check DbNull as well.
public static 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;
}
if (!DBNull.Value.Equals(dr["Date"])
txtDate.Text = DateToString(Convert.ToDateTime(dr["Date"].ToString()), DateFormat);
else
txtDate.Text = "";