using (SqlCommand cmd = new SqlCommand(
"select TaskTimeIn, TaskTimeOut, TaskDescription
from DailyTimeSheetTrackers
where EmployeeId = "+UserLog.UserId+" and CreateDateTime = " + DateTime.Now + ""
)
)
错误:
'10'附近的语法不正确。
我得到了这样的错误。
如何解决?请帮帮我