コード例 #1
0
        public ActionResult Index2(calSal n)
        {
            ViewBag.name   = n.name;
            ViewBag.basic  = n.basic;
            ViewBag.da     = n.daily_allowance;
            ViewBag.pf     = n.provident_fund;
            ViewBag.hra    = n.house_rent_allowance;
            ViewBag.netsal = n.net_sal;

            return(View());
        }
コード例 #2
0
        public ActionResult Index2()
        {
            calSal calc = new calSal();

            return(View(calc));
        }