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

来源:学生学帮网 编辑:学帮网 时间:2024/07/06 20:16:14

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

你这个Session是哪从来的,找到它的定义.