close
LINQ像下面寫法就會掛了
var Teams = db.Team.Where(a => a.tid == Session["tid"].ToString());
要改成
string tid = Session["tid"].ToString();
var Teams = db.Team.Where(a => a.tid == tid);
文章標籤
全站熱搜
LINQ像下面寫法就會掛了
var Teams = db.Team.Where(a => a.tid == Session["tid"].ToString());
要改成
string tid = Session["tid"].ToString();
var Teams = db.Team.Where(a => a.tid == tid);
留言列表