Posted on: 6/26/2015 2:07:00 PM | Views : 641

protected void collectionsList_SelectedIndexChanged(object sender, EventArgs e) { ListBox list = collectionsList as ListBox;
if (list != null) { int selected = int.Parse(list.SelectedValue); IQueryable<collection> col = from it in DataContext.collections where it.collection_id == selected select it;
if (col.Count() > 0) { collection ret = col.First(); colThumb.Src = ret.thumbnail; colName.InnerText = ret.name; colDetail.InnerText = ret.description; collectionLink.HRef = String.Format("http://www.xyz.com/abc/{0}/{1}", ret.name, ret.collection_id);
}
}
My question is If I want yo use all content of the list (" ListBox list = collectionsList as ListBox;" )  to be shown as hyperlink as list , how can i get that?
And to do this what condition I can have instead of If and how can I use that for particular method??

Go to the complete details ...