Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
C#
private EmpDetailsEntities db = new EmpDetailsEntities();

//
// GET: /OtherSource/

public ViewResult Index()
{            
  var other_source_income = db.other_source_income.Include("login_user");
  return View(other_source_income.ToList());           
}

in this application two tables is here one login_user and second one is other_source_income table.
in this index page who ever login all list return view. i need one user login and view one recoed
Posted
Updated 10-Sep-12 18:58pm
v2
Comments
manognya kota 11-Sep-12 1:15am    
Question is not clear.Please elaborate.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900