Author: tvb2727 | Posted on: 2/14/2011 2:35:46 AM | Views : 283

I am trying to set my select command of my grid view to a specific sql query. I am receiving the following error message below. What am I doing wrong?
SQL statement:
 
Dim sqlvacationstring As String sqlvacationstring ="SELECT l.name_id AS [Name], c.date_in AS [Date Off] FROM tblcalendar AS c, tbllogin AS l" + _
+ " WHERE c.vacation = y AND c.date_in > " + "#" + Now.ToStrin ...

Go to the complete details ...