private void bind() { Maticsoft.BLL.FuWuTypeInfo fuwubll = new Maticsoft.BLL.FuWuTypeInfo(); DataSet fuwuds = fuwubll.GetAllList(); dtlstfuwu.DataSource = fuwuds; dtlstfuwu.DataBind(); Maticsoft.BLL.NewsTypeInfo newsbll = new Maticsoft.BLL.NewsTypeInfo(); DataSet newsds = newsbll.GetAllList(); dtlistNews.DataSource = newsds; dtlistNews.DataBind(); Maticsoft.BLL.NicheTypeInfo nichebll = new Maticsoft.BLL.NicheTypeInfo(); DataSet nicheds = nichebll.GetAllList(); drpNiche.DataSource = nicheds; drpNiche.DataBind(); Maticsoft.BLL.ProductType probll = new Maticsoft.BLL.ProductType(); DataSet prods = probll.GetAllList(); drpxing.DataSource = prods; drpxing.DataTextField = "ProTypeTitle"; drpxing.DataValueField = "ProTypeID"; drpxing.DataBind(); }
private void bind() { Maticsoft.BLL.FuWuTypeInfo fuwubll = new Maticsoft.BLL.FuWuTypeInfo(); DataSet ds = fuwubll.GetAllList(); DrpFuwuType.DataSource = ds; DrpFuwuType.DataTextField = "FuwuTypeName"; DrpFuwuType.DataValueField = "FuwuTypeID"; DrpFuwuType.DataBind(); Image1.Visible = false; }