MVC获取网格和标签 [英] MVC get grid and labels

查看:91
本文介绍了MVC获取网格和标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我想在MVC应用程序中显示网格以及其他控件和标签.请帮助我知道这一点.您的帮助对我非常有用.

希望我的问题不清楚.请阅读更新的问题.

我想在同一页面中显示一个网格,一个下拉列表,一个文本框以及一个标签.怎么可能请帮帮我.

问候
Pavan.

Dear All,

I want to display a grid and also other controls and labels in the MVC application. Please help me out in knowing that. Your help is much useful to me.

Hope my question is not clear. Please read the updated question.

I want to display a grid, a dropdown, a textbox and also a label in the same page. How is it possible please help me out.

Regards
Pavan.

推荐答案

MVC没有像asp.net这样的服务器控件,您可以在视图中使用viewdata[""]和Foreach循环服务器标签
Hi, MVC doesnt have server controls like asp.net, you can use viewdata[""] and Foreach loop server tag in you view


看看下面的文章.

学习MVC(模型视图控制器)在7天内(第1天)分步进行
Have a look at below Article.

Learn MVC (Model view controller) Step by Step in 7 days – Day 1


这篇关于MVC获取网格和标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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