protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { //首次加载,初始化页面信息 year = DateTime.Now.Year; summary = HttpUtility.UrlDecode(companyDAL.Find(a => a.Catalog == 0).SummaryCode); } }
public Company GetCompany(string code3) { return(companydal.Find(u => u.CompanyCode3 == code3)); }
public Company Get(int id) { return(_dal.Find(m => m.CompanyID == id)); }