Code
public ActionResult Admin(ObjectModel OM)Code
{Code
DataSet ds = new DataSet();Code
DB objDB = new DB();Code
//Storing Dataset in model DatasetCode
OM.StoreAllData = objDB.SelectAllDetails(OM.DistrictId);Code
//Need to pass this Dataset into "Show" MethodCode
return RedirectToAction("show", "Appform",{ ds = OM.StoreAllData });Code
}Code
Code
Code
public ActionResult show(DataSet ds)Code
{Code
return View(OM);Code
}
Rajeesh MenothRank #118 · 18.4K reputationPosted Aug 30, 2016, 1:17 AM EDT
parth gupta12 reputationPosted Aug 30, 2016, 1:18 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Aug 30, 2016, 1:20 AM EDT
parth gupta12 reputationPosted Aug 30, 2016, 1:20 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Aug 30, 2016, 1:22 AM EDT
parth gupta12 reputationPosted Aug 30, 2016, 1:23 AM EDT
parth gupta12 reputationPosted Aug 30, 2016, 1:30 AM EDT
Vinay SinghRank #604 · 4K reputationPosted Aug 30, 2016, 1:34 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Aug 30, 2016, 1:37 AM EDT
parth gupta12 reputationPosted Aug 30, 2016, 1:49 AM EDT
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Aug 30, 2016, 2:56 AM EDT