example
var mtype = (from t in dc.Magazines
orderby t.MagType
select menu {t.MagType}).Distinct();
ddlMagazineType.DataSource = mtype.ToList();
ddlMagazineType.DataTextField = “MagType”;
ddlMagazineType.DataBind();
example
var mtype = (from t in dc.Magazines
orderby t.MagType
select menu {t.MagType}).Distinct();
ddlMagazineType.DataSource = mtype.ToList();
ddlMagazineType.DataTextField = “MagType”;
ddlMagazineType.DataBind();