hi
I want to show data in my database with Linq in gridview but I can't do it.
this Code :
var o = (from i in MDB.Messages
select new { Subject = i.Subject, Message_Code = i.ID_Message, Question_date = i.Date, Question_Name = i.aspnet_Membership.aspnet_User.UserName });
EndInboxGrv.DataSource = o;
How do I solve this problem?