tags:

views:

11

answers:

0

look i am making application with subsonic to create data access layer for my asp.net mvc application i am making a demo using northwind data base i am working on employee table i have created 3 views(create,edit,list) while editing any employee i always get these error msg in my browser syntax error near employee==syntax error near table name

ISqlQuery BuildUpdateQuery(T item) { ITable tbl = _db.FindTable(typeof(T).Name);

//tbl is suppsed to have the output of findtable method which will be table in my case tbl always equal null so it gives me this error i have been asking this question for 2 days and all i get more explaination i dont know what to say more but if any one wants to help and didnt get me tell me how to make edit view with northwind application using subsonic thnx