hi
I want to Search in my Table. I write follow Code :
var w = from act in Movie_List.Actors
where act.Actor_Name == Snametxt.Text
select new {act.Actor_Name};
Acttxt.Text= w.SingleOrDefault().Actor_Name;
this code work only for FIRST search and when I want to search again , appear exception .
Exception :
Object reference not set to an instance of an object.
I don't know how to solve this problem.
help me please.