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.NewsTypeInfo typebll = new Maticsoft.BLL.NewsTypeInfo(); DataSet ds = typebll.GetAllList(); datanewsquan.DataSource = ds; datanewsquan.DataKeyField = "NewsTypeID"; datanewsquan.DataBind(); }
private void drpbind() { Maticsoft.BLL.NewsTypeInfo typebll = new Maticsoft.BLL.NewsTypeInfo(); DataSet typeds = typebll.GetAllList(); drpNewsType.DataSource = typeds; drpNewsType.DataTextField = "NewsTypeTitle"; drpNewsType.DataValueField = "NewsTypeID"; drpNewsType.DataBind(); }