So heres my code:
using (SqlDataReader reader = cmd.ExecuteReader())
if (reader.Read())
SearchingDate = (DateTime)reader[0];
The third line of code is where im stuck. In my app, im trying to compare the current datetime against the value of a members date column value. Unfortunately, the third line of code sets the var SearchingDate to the current datetime. Any suggestions??? Thanks in advance and im giving rep points to every good response/answer!!