一些按钮单击MVC灌装的GridView [英] Filling GridView on some Button Click in MVC

查看:108
本文介绍了一些按钮单击MVC灌装的GridView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一些项目,这是经典ASP.NET,但我需要migarate是到MVC

I am working on some project which is in classic ASP.NET, but I need to migarate that into MVC

现在我有一个按钮和GridView当中去填补单击按钮的页面。 GridView中有一个像编辑,删除,分页,OnRowCommand事件的功能。

Right Now I am having a page with one button and gridview which get fill on clicking the button. Gridview has the functionality like EDIT, DELETE, Paging, OnRowCommand Event.

我应该如何通过MVC执行此页面。我知道GridView控件不能在MVC使用,有啥的的选择。

How should I perform this page through MVC. I know gridview can't be used in MVC, so what's the alternative of that.

感谢

推荐答案

在这里,我找到了完美的答案,我

Here I found the perfect answer for me

http://blog.maartenballiauw.be/post/2008/06/$c$c-based-ASPNET-MVC-GridView.aspx

它的工作原理为我好clearlly理解我,我会说@amarsuperstar例子看起来也不错,但看起来并不适合初学者

It works good for me clearlly understandable for me, I would say @amarsuperstar example also looks fine but not looks for beginners

这篇关于一些按钮单击MVC灌装的GridView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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