Better way to achive that is to use
switch[
^] command.
string sDay = e.Row.Cells[9].Text;
string sName = String.Empty;
switch (sDay)
{
case "M":
sName = "Monday";
break;
case "T":
sName = "Tuesday";
break;
case "W":
sName = "Wednesday";
break;
case "Th":
sName = "Thursday";
break;
case "F":
sName = "Friday";
break;
case "S":
sName = "Tuesday";
break;
case "Su":
sName = "Saturday";
break;
}
e.Row.Cells[9].ToolTip = sName;
The same result, but more elegant ;)