+ 2

[HELP] How to add WHERE clause in MVC Action Method

Hi, how do i make the page will only show data that show specific bank code? For eg, bankcode = 123 public virtual ActionResult SearchResultPage(FormCollection collection) { ViewBag.SearchResult = pageConfigDao.getResultListFromDatabaseView(new PageSqlConfig(TaskIdsICS.LargeAmount.INDEX, "View_LargeAmountLimit", null, "", new[] { new SqlParameter("@fldBankCode", CurrentUser.Account.BankCode)}), collection); return View(); }

21st Sep 2021, 6:48 AM
Azfar Hafiz Ahmad
Azfar Hafiz Ahmad - avatar
1 Odpowiedź
29th Sep 2021, 9:42 AM
Sudo-Ale
Sudo-Ale - avatar