将临时数据从文本框绑定到asp.net中的网格视图抛出JQuery [英] bind temporary data from text box to Grid view in asp.net throw JQuery
本文介绍了将临时数据从文本框绑定到asp.net中的网格视图抛出JQuery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好专业人士
在ma项目中需要有一些下拉列表和文本框
和一个按钮,我必须在网格视图中添加所有文本框和下拉列表的数据
按钮点击事件
注意:重要的是我需要通过以上条件在网格视图上显示虚拟数据,不需要保存数据库上的所有记录,然后再获取...
而且这个任务只需要通过jquery来完成
提前感谢
hello Professionals
there is need in ma project that there is some drop down list and text boxes
and a button ,i have to add data of all that text boxes and drop down list in grid view
on button click event
note : important thing is that i need to show virtually data on grid view through above condition not need to save all record on database and after this to fetch...
and also this task need to done only by jquery
thanks in advance
推荐答案
GridView
在客户端浏览器中呈现为表
。
所以,你只需要追加使用 jQuery 到GridView
(表
)的另一行。
GridView
is rendered as aTable
in client side browser.
So, you just need to append another row to thatGridView
(Table
) using jQuery.
(' #< %= btnAdd.ClientID%>')。bind(' 点击, function (event){
var
('#<%=btnAdd.ClientID %>').bind('click', function (event) { var
grid =
这篇关于将临时数据从文本框绑定到asp.net中的网格视图抛出JQuery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文