i have used below linq query code but it returns "Sequence contains no elements" , i am sure there is one item that should be return.
the code is like below:
tblDocTranstoCon doctranstocon =_DataContext.tblDocTranstoCons
.Single(dtcon => (dtcon.Docid == _DocID)
&& (dtcon.Transid==e.TransmittoconID)
&& (dtcon.Transid==e.TransID));
dtcon.Transidto bothe.TransmittoconIDande.TransID- I'm guessing the second one is right, but perhaps the first one is referring to the wrong field ondtcon? - Jonathan Rupp