예제 #1
0
        public ActionResult Create(string tablename)
        {
            ShowFormModel model = new ShowFormModel();

            model.TableName = tablename;

            return(View(model));
        }
예제 #2
0
        public ActionResult Edit()
        {
            string strTableName = Request.QueryString["tablename"];
            string strId        = Request.QueryString["id"];

            ShowFormModel model = new ShowFormModel();

            model.TableName = strTableName;
            model.Id        = strId;

            return(View(model));
        }