问题描述
我想在客户端添加radgrid的动态记录.
我有一些文本框和两个按钮(插入"和提交")可在radgrid中添加信息.
我的方法是:
当用户在文本框中输入自己的信息并单击插入"按钮时,必须将文本框的值插入客户端的新的radgrid行中,而不能将其保存到数据库或回发.在最终用户中,单击提交"按钮,然后radgrid中的所有行都保存在数据库中.
我看到了此和,但二者均使用Web服务并从数据库绑定网格.
我该如何做我的Senario?
谢谢"的
I want to add record on fly by radgrid at client side.
I have some textbox and two buttons (Insert and Submit) to add information in radgrid.
My senario is:
When user enter her/his info into textbox and click on the insert button, value of textbox must be inserted into a new row of radgrid at client side without save them into database or postback. In the final user click on the submit button, then all rows in radgrid save in database.
I see this and this demo online, but in both of them using webservice and bind grid from database.
How I can do my senario?
Thank''s
推荐答案
这篇关于如何在客户端将Fly上的记录(行)插入RadGrid中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!