From: Willem van Rumpt on
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

> That's the easy no-nonsense way, see my reply just seconds ago before
> your reply :)

:-)

and thanks anyway!