private void FillAllFabContents() { Client.GetGenericAsync("tbl_lkp_Contents", "%%", "%%", "%%", "Iserial", "ASC"); Client.GetGenericCompleted += (s, ev) => { var i = 0; foreach (var item in ev.Result) { if (!SelectedContents.Contains(item.Iserial)) { ContentsList.Add(new GenericViewModel { Iserial = item.Iserial, Code = item.Code, Aname = item.Aname, Ename = item.Ename }); ContentsList[i].Status.IsChanged = false; ContentsList[i].Status.IsNew = false; ContentsList[i].Status.IsSavedDBItem = true; i++; } } }; }
protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) { string id = Request.QueryString["ID"]; //产品展示 HotPicShow.InnerHtml = ContentsList.GetPicShow("2", "5", 20, "350", "310", "ID", "Desc").ToString(); } }