Tag Archives: export

mvc webgrip ve excel export

      Yorum yok mvc webgrip ve excel export

[HttpPost] public ActionResult Export(string module) { SiteEntities db = new SiteEntities(); WebGrid grid = null; if(module == “Tercümeler”) grid = new WebGrid(db.Tercume,,columnNames:new []{“Id”, “Kod”, “Tr”, “En”}, canPage: false, canSort: false); else if (module == “Listeler”) grid = new WebGrid(db.Liste, canPage: false, canSort: false); else if (module == “Lokasyonlar”) grid =… Read more »