dontforGet
Programmer
Hi,
I haven't much exp with the following but my list only returns documents of one data. Like the same data gets added to the list five times.
List<Doc> v = this.GetDocuments();
foreach (Binder b in this.eCaseBinderTemplate.Binders)
{
foreach (BinderDocument d in b.BinderDocument)
{
var addB = from t in v
where d.DocumentCode ==
t.Classifier.Type.Code
select new BinderDocVersion(Convert.ToInt32(d.so), b.Position);
docs.AddRange(addB);
}
}
thanks
I haven't much exp with the following but my list only returns documents of one data. Like the same data gets added to the list five times.
List<Doc> v = this.GetDocuments();
foreach (Binder b in this.eCaseBinderTemplate.Binders)
{
foreach (BinderDocument d in b.BinderDocument)
{
var addB = from t in v
where d.DocumentCode ==
t.Classifier.Type.Code
select new BinderDocVersion(Convert.ToInt32(d.so), b.Position);
docs.AddRange(addB);
}
}
thanks