public ActionResult ShowSelectedPartnerGrid_EF(string partnerID)
{
DataContext db = new DataContext();
var strQuery = "select PartnerName1,AnSchriftOrt from db.geschaftPartner =" + partnerID;
return View(strQuery.AsEnumerable());
}
The "partnerID" I am getting from another view ..based on this partnerID I want to fetch the row from my DataBase and show it in the grid
any suggestions are really appreciated.. thanx in advance