public JsonResult SerachStockText(string term) { var movies = dbContext.ImsStockItem.Where(x => x.StockName.StartsWith(term)).Select(r => new { label = r.StockName,value=r.StockId }); return Json(movies, JsonRequestBehavior.AllowGet); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)