how to get value from var in linq
var teamDetails = from m in db.con_teamdetails where m.tea_teamname == User select m.tea_id;var teamDetails = from m in db.con_teamdetails where m.tea_teamname == User select m.tea_id;
how to get value from teamdetails which means tea_id