예제 #1
0
 public ActionResult Create()
 {
     ViewBag.Report        = new SelectList(m_ReportBLL.GetList(ref setNoPagerAscById, ""), "Id", "ReportName");
     ViewBag.ParamTypes    = new SelectList(WMS_ReportParamModel.GetParamType(), "TypeCode", "TypeName");
     ViewBag.ParamElements = new SelectList(WMS_ReportParamModel.GetParamElement(), "ElementCode", "ElementName");
     return(View());
 }
예제 #2
0
        public ActionResult Edit(long id)
        {
            ViewBag.ParamTypes    = new SelectList(WMS_ReportParamModel.GetParamType(), "TypeCode", "TypeName");
            ViewBag.ParamElements = new SelectList(WMS_ReportParamModel.GetParamElement(), "ElementCode", "ElementName");
            WMS_ReportParamModel entity = m_BLL.GetById(id);

            ViewBag.Report = new SelectList(m_ReportBLL.GetList(ref setNoPagerAscById, ""), "Id", "ReportName", entity.ReportId);
            return(View(entity));
        }
예제 #3
0
 public ActionResult Index()
 {
     ViewBag.ParamTypes    = new SelectList(WMS_ReportParamModel.GetParamType(), "TypeCode", "TypeName");
     ViewBag.ParamElements = new SelectList(WMS_ReportParamModel.GetParamElement(), "ElementCode", "ElementName");
     return(View());
 }