how can I format date to display in the following format 03-Feb-2011
I tried this statement but it did not work properly
string.Format(visitDate.Valu
visitDate.Value.ToString("dd-MMM-yyyy");
Assuming visitDate is a DateTime.