In the code below, the For Each will loop through the list and populate the ListBox. When I add "item.LeadTime = 5" to try updating an item, Visual Studio says that it is ReadOnly. Any ideas on what's wrong or missing from the code?
Dim spWebUrl As String = SPContext.Current.Web.Url
Dim dc As New MyDataContext(spWebUrl)
Dim Asgns = From a In dc.GetList(Of AssignmentsItem)("Assignments") Select a.LeadTime, a.Frequency
For Each item In Asgns
item.LeadTime = 5
View Complete Post