I want to format Lbl_DOS.Text to MMM dd, yy. This is what it looks like:
Lbl_DOS.text = row1("ApptDate").ToString()
Right now it doesn't have a format and when the page loads it looks like this 4/19/1999 12:00:00 AM.
I have tryed formatting it like this: Lbl_DOS.Text = row1("ApptDate").ToString("MMM dd, yy") and I get this error:
Public Overridable Overloads Function ToString() As String' has no parameters and its return type cannot be indexed.
Any ideas?