I found the problem
I was almost there. All I had to do was uncomment my declaration, and removed the DATE TIME from my conversion. ...all is well.
private void Update_Course(D ataRowView courseRow, DataRow studentRow, DataView courseDV)
{
DateTime courseStatusDat eCentralTime = DateTime.MinVal ue;
DateTime coursestatusdat e = DateTime.MinVal ue;
...
User Profile
Collapse
-
How do I subtract 1 hour from DATETIME string using timespan instance
CODE:
DateTime coursestatusdat e = DateTime.MinVal ue;
if (courseRow["coursestatusda te"].ToString() != string.Empty)
{
coursestatusdat e = DateTime.Parse( courseRow
["coursestatusda te"].ToString());
//TODO: Convert coursestatusdat e to CST
DateTime...
No activity results to display
Show More
Leave a comment: