C# and .NET
how can i verificate if :" txtCitizenship.Text = GlobalBll.GetCitizenship().FirstOrDefault(c => c.CitizenshipId == tofess.CitizenshipId).CitizenshipName;" is NULL or not?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jul 26, 2012, 10:24 AM
Santhosh Kumar JayaramanPosted Jul 26, 2012, 9:56 AM
txtCitizenship.Text= (GlobalBll.GetCitizenship().FirstOrDefault(c => c.CitizenshipId == tofess.CitizenshipId).CitizenshipName;
else
txtCitizenship.Text='';