i get uniq id in each button ..i have lots of button
//view
@Html.ActionLink(Convert.ToString(itemN), "ifcondi", new { id = item.Id.ToString() })
//controller
var data1 = (from c in db.RowItems
join a in db.categories on c.CategoryItemId equals a.category_id
join d in db.DirectItems on c.DirectItemId equals d.Id
where d.ItemName == "PLASMA 60"
1> this query has no proble ,
2> wht i write insted of plazma 60 ...bcz plazma 60 is static query and i required dynamic query
2 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
jaydeep shahPosted Oct 8, 2015, 2:30 PM
Sujeet SumanPosted Oct 8, 2015, 12:33 PM