STAGE 3-2
This commit is contained in:
@@ -100,7 +100,7 @@ public partial class admin_accounting_index : MyWeb.config
|
||||
sd.AppendChild(tr);
|
||||
|
||||
//查詢要匯出的資料
|
||||
var qry = _db.accountings.AsEnumerable();
|
||||
var qry = _db.accountings.AsQueryable();
|
||||
|
||||
if (!isStrNull(s_category.SelectedValue))
|
||||
qry = qry.Where(o => o.category == Convert.ToInt32(s_category.SelectedValue));
|
||||
|
||||
Reference in New Issue
Block a user