chitra

chitra

  • NA
  • 34
  • 20.4k

How to split the data in linq

Sep 20 2011 4:50 AM
sir, in my following query
var fix1 = from future in fixture.Descendants("item").Take(4)
  select (new
  {
  titlee = future.Element("title").Value,
  venue = future.Element("text").Value 
  });
i want to split the venue details, so i return as

  venue = future.Element("text").Value.Split(new char[] { ',' }) 
 
it split the data, but i dont know how to retrieve and assign to repeator control.
 

Answers (2)