var names = from m in db.members
join d in db.Depositaccounts
on m.uid equals d.nameAccount
where d.AccOn == textboxid.Text.Trim()
select new
{
m.name
};
string[] names = (from m in db.members
join d in db.Depositaccounts on m.uid equals d.nameAccount
where d.AccOn == textboxid.Text.Trim()
select m).Select(m => m.name).ToArray();
Date :
2012-07-03 10:15:40
By :
อิอิ
No. 4
Guest
Code (C#)
string name = (from m in db.members
join d in db.Depositaccounts on m.uid equals d.nameAccount
where d.AccOn == textboxid.Text.Trim()
select m).Select(m => m.name).First();