I want to make a xml File, i use following code:
how can i say if film.content is null, that it should be filled with a empty string?
the assignment works but if i go through the objects e.g. with a for each through the filmlist the error occure.
Does sombody know, what i could do?
Dim list As System.Linq.IQueryable(Of System.Xml.Linq.XElement)
filmliste = From film In context.Films _
Where film.startdate >= Now.Date _
Order By film.startdate _
Select