如何在.net中使用MVC绑定简单的gridview [英] How to bind simple gridview using MVC in .net

查看:100
本文介绍了如何在.net中使用MVC绑定简单的gridview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。



我在.Net中有一个要求。我有任务,我必须将一些数据绑定到gridview使用MVC。所以请给我发送有用的链接。



谢谢和问候。

Viral

解决方案

1. GridView控件是一个ASPX控件,在MVC中使用ASPX控件并不是一件容易的事,因为ASP.NET MVC架构与简单的ASP.NET不同,所以没有任何意义。



2.在MVC中使用网格还有其他选项,请参阅下一篇文章作为起点:

在Asp.Net MVC中对Gridview进行分组 [ ^ ]

MVC基本站点:第4步 - 使用AJAX,JSON,jQuery,LINQ和序列化在MVC 4.0中进行jqGrid集成 [ ^

Hello Everyone.

I have one Requirement in .Net. I Have task in that i have to bind some of data into gridview Using MVC. So please send me useful link.

Thanks & Regards.
Viral

解决方案

1.The GridView control is an ASPX control, and the usage of the ASPX controls in MVC is not an easy task and make no sense to do it because ASP.NET MVC architecture is different then simple ASP.NET.

2.You have other options for using grids in MVC, see the next articles as starting points:
Grouping Gridview in Asp.Net MVC[^]
MVC Basic Site: Step 4 – jqGrid Integration in MVC 4.0 using AJAX, JSON, jQuery, LINQ, and Serialization[^]


这篇关于如何在.net中使用MVC绑定简单的gridview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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