可以在MVC(Asp.net)单页中进行所有DML操作吗? [英] Can possible in MVC(Asp.net) single page all DML Operations?

查看:84
本文介绍了可以在MVC(Asp.net)单页中进行所有DML操作吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,
可以在MVC(Asp.net)单页中进行所有DML操作吗?
实际上在mvc中创建,编辑,查看,删除在单独的页面中举行的每个操作,但要求在单个页面中完成所有这些操作..
becoz每个页面都继承为"Inherits ="System.Web.Mvc.ViewPage< MVCPattern.Models.RegisterModel"
如何再添加一个继承...
只需告诉你如何做单页所有事情...?
请..非常紧急的要求...
提前祝愿!
Ramesh M

hi friends,
Can possible in MVC(Asp.net) single page all DML Operations?
Actually create,Edit,View,Delete each one operation held in separate page in mvc but requirment is in single page do all those things ..is it possible how
becoz each page inherits like "Inherits="System.Web.Mvc.ViewPage<MVCPattern.Models.RegisterModel"
how to add one more inherits...
simply tell u how to do single page all things...?
Pls ..Very Urgent Requirement...
Advance Wishes!!
Ramesh M

推荐答案

当然可以.您只需为所需的功能提供不同的操作方法.就像拥有两个或多个具有不同动作的按钮一样.
Of course it is possible. You just provide different action methods for the required functionality. It''s no different than having two or more buttons with different actions.


这篇关于可以在MVC(Asp.net)单页中进行所有DML操作吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆