The name 'Session' does not exist in the current context .try{int flags = Session.DefaultSession.ExecuteNonQuery(sql);count++;}catch (Exception ew) { }

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 09:44:56

The name 'Session' does not exist in the current context .try{int flags = Session.DefaultSession.ExecuteNonQuery(sql);count++;}catch (Exception ew) { }
The name 'Session' does not exist in the current context .
try
{
int flags = Session.DefaultSession.ExecuteNonQuery(sql);
count++;
}
catch (Exception ew) { }

The name 'Session' does not exist in the current context .try{int flags = Session.DefaultSession.ExecuteNonQuery(sql);count++;}catch (Exception ew) { }
你这个Session是哪从来的,找到它的定义.