The type or namespace name 'MovieDataContext' could not be found (are you missing a using directive or an assembly reference?
change like following
var dataContext = new tstdataDataContext(); var movies = from m in dataContext.yourlinqtosql select m; return View(movies);
No comments:
Post a Comment