ASP可以使用什么:Gridview等效于HTML? [英] What can be used for ASP:Gridview equivalent in HTML?

查看:164
本文介绍了ASP可以使用什么:Gridview等效于HTML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Experts,



发布这个问题我觉得有点奇怪。但是我想清醒一下。

我正在寻找与ASP非常相似的东西:HTML格式的Gridview。我应该在其中绑定行,删除行并编辑行。我搜索谷歌,我看到表。由于代码行太多,我无法使用表格作为上述要求。



我知道这个问题可能会被低估。我在这里学习的东西不是为了获得积分。

任何人都可以告诉我,我可以在HTML中使用哪些上述要求,例如ASP:Gridview。我的Gridview应该是HTML中的动态行生成器。

感谢您的帮助。

解决方案

您可以将HTML与JavaScript结合使用。实际上,没有JavaScript你就无法解决它。你必须抓住害怕太多代码行。相反,您需要正确组织代码,使用常规方法,提前计划您的步骤等等。



为了使其更容易,您可以使用jQuery。请特别注意:

http://api.jquery.com/category/manipulation

http://api.jquery.com/category/manipulation / dom-insertion-around /

http:/ /api.jquery.com/category/manipulation/dom-insertion-inside/

http://api.jquery.com/category/manipulation/dom-insertion-outside/

http://api.jquery.com/category/manipulation/dom-removal/

http://api.jquery.com/category/manipulation/dom-replacement/



如果您需要学习jQuery(强烈推荐),请参阅:

http://en.wikipedia.org/wiki/JQuery

http://jquery.com

http: //learn.jquery.com

http://learn.jquery .com / using-jquery-core

http: //learn.jquery.com/about-jquery/how-jquery-works (从这里开始)。



-SA

Hello Experts,

I feel little weird posting this question. However I want to clear my mind.
I am looking for something which is very similar to ASP:Gridview in HTML. In which I should Bound rows, delete rows and also edit rows. I searched google, and I see Table. I cannot use table for the requirement as above because of too many lines of code.

I know this question may be downvoted. I am here to learn something not to gain points.
Can anyone tell me what can I use in HTML for above requirements like in ASP:Gridview. My Gridview should be dynamic row generator in HTML.
Appreciate your help.

解决方案

You can use HTML in combination with JavaScript. Actually, you cannot resolve it without JavaScript. And you have to seize being afraid of "too many line of code". Rather, you need to organize the code properly, use regular approach, plan ahead your steps, and so on.

To make it easier, you can use jQuery. Please see, in particular:
http://api.jquery.com/category/manipulation,
http://api.jquery.com/category/manipulation/dom-insertion-around/,
http://api.jquery.com/category/manipulation/dom-insertion-inside/,
http://api.jquery.com/category/manipulation/dom-insertion-outside/,
http://api.jquery.com/category/manipulation/dom-removal/,
http://api.jquery.com/category/manipulation/dom-replacement/.

If you need to learn jQuery (highly recommended), please see:
http://en.wikipedia.org/wiki/JQuery,
http://jquery.com,
http://learn.jquery.com,
http://learn.jquery.com/using-jquery-core,
http://learn.jquery.com/about-jquery/how-jquery-works (start from here).

—SA


这篇关于ASP可以使用什么:Gridview等效于HTML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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