Click here to Skip to main content
15,897,334 members

Comments by Chamika Sandamal (Top 6 by date)

Chamika Sandamal 28-Mar-13 7:47am View    
yes i know that self tracking is kind of unit of work. that is why i'm asking any purpose of using unit of work instead of self tracking entities.
Chamika Sandamal 28-Mar-13 1:34am View    
then mark it as answer
Chamika Sandamal 27-Mar-13 14:24pm View    
So you think i'm just asking questions without searching? nop man i searched but i haven't found a valid information as i expected. that's why i ask this question
Chamika Sandamal 27-Mar-13 4:41am View    
Try adding .FirstOrDefault(),
var EName = (from Estate_Info in Dc.Estate_Infos
where Estate_Info.Code == txtEstateCode.Text
select new { EI = Estate_Info.EstateName}).FirstOrDefault();
Chamika Sandamal 27-Mar-13 3:52am View    
just put a update panel wrapping your code