Sasi Reddy
var results = from u in dc.Tran1
where u.UserId == userId select new{ ID = u.UserId,TranId = u.TransId,};i have a query like above in my controller how to get values from above query like id and tranid into some other variables
where u.UserId == userId
select new{
select
new
ID = u.UserId,TranId = u.TransId,};
ID = u.UserId,
TranId = u.TransId,
i have a query like above in my controller
how to get values from above query like id and tranid into some other variables