Hi,
I got a bit stuck in trying to perfom an action per each item on a list.
I'm filling in the list with:
- HyperlinksDAL hl = new HyperlinksDAL();
- hl.GetAll();
- public List
GetAll() - {
- using (var context = new servicesEntities())
- {
- return context.Hyperlinks.ToList();
- }
- }
- foreach(var i in list)
- {
- series.DataPoints.Add(new CategoricalDataPoint(500, "jan"));
- }
Bhuvanesh MohankumarPosted May 17, 2016, 5:22 AM
You can assign the value from the List and modify the object contents
or
Guest UserPosted May 17, 2016, 9:37 AM