From: Willem van Rumpt on 28 May 2010 10:14 On 28-5-2010 16:09, Matthijs de Z wrote: > I solved it like this: > > var myGroupNameIDvar = (from selecteddownloadgroup in > db.SelEcTedDonWLoadGroup > where > selecteddownloadgroup.DownloadGroupName == "test" > select > selecteddownloadgroup).FirstOrDefault(); > > if (myGroupNameIDvar!=null) > { > uint test = myGroupNameIDvar.DownloadGroupID; > //and do the rest > } That's the easy no-nonsense way, see my reply just seconds ago before your reply :) -- Willem van Rumpt
From: Matthijs de Z on 28 May 2010 10:25 > That's the easy no-nonsense way, see my reply just seconds ago before > your reply :) :-) and thanks anyway!
First
|
Prev
|
Pages: 1 2 Prev: Drag & Drop text Next: Intercept ShutDown Event in C# ? Problem with error code 0xC000014 |