I'm reading a Date field from a SqlDataReader and I want to write it to a label.
My code for this line looks like this:
lblTDate.Text = string.Format("{0:D}", (DT2(["TDate"].ToString()));
The label shows, for instance, "4/7/2016 12:00:00 AM" but I want it to show "Sunday, April 07, 2016".
I read on this site that using {0:D} should do it, but it's not working.
The field in the SQL Server table is a Date field, not a DateTime field, which makes it all the more baffling that the time is showing up. But, anyway, how can I get my label to show the date in the format I want to see?