STAGE 3-2
This commit is contained in:
@@ -115,7 +115,7 @@ public partial class admin_supplier_index : MyWeb.config
|
||||
|
||||
|
||||
//查詢要匯出的資料
|
||||
var qry = _db.suppliers.AsEnumerable();
|
||||
var qry = _db.suppliers.AsQueryable();
|
||||
|
||||
if (!string.IsNullOrEmpty(s_kind.SelectedValue))
|
||||
qry = qry.Where(o => o.kind == Convert.ToInt32(s_kind.SelectedValue));
|
||||
|
||||
Reference in New Issue
Block a user