[HttpGet] public ActionResult countpic(int? page) { var model = db.gallerys.Where(x=>x.ID_GGallery==page).Count(); return View(model); }
grid.Column( "test", (grid.SortColumn == "test" ? (grid.SortDirection == SortDirection.Ascending ? " ▼" : "▲") : ""), format: @<text> @Html.ActionLink("my function", "countpic", "Gallery", new { id = item.ID_GGallery }, null) </text>, style: "IDWith"),
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)