以编程方式请求并获得响应 [英] programatically request and getting response

查看:71
本文介绍了以编程方式请求并获得响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含最多50行的gridview和gridview下面的按钮。单击该按钮时,通过逐行从gridview获取数据来完成某些操作。它是一个很长的过程,所以我只想做以下编码: - 对于每一行,操作将完成并向用户显示该行的操作成功完成。然后进行第二行操作,依此类推。



对于每一行控件将进入服务器并完成工作并进入用户页面并通过显示状态已完成来更新该行,然后控制将进入第二排。



尊敬的专家,有可能吗?如果有人建议我,它有一些迫切需要。

谢谢...

I have a gridview containing maximum 50 rows and a button below gridview. When that button is clicked some operation is done by taking data from gridview row by row. Its a long time process so i just want to do coding like:- for each row, operation will be done and showing to user that this row''s operation done successfully. Then for 2nd row operation will be done and so on.

For each row control will go to server and finished work and come to user page and update that row by showing a status ''completed'' and then control will go for 2nd row.

Dear Experts, Is it possible? If yes kindly suggest me, Its some kind of urgent need.
Thanks...

推荐答案

与服务器交互的方法很少通过客户端(Javascript):

1. XMLHttpRequest [ ^ ]

2. 回调 [ ^ ]

3. WebService调用 [ ^ ]

4. PageMethod [ ^ ]



试试你认为合适的。
There are few ways to interact with server side through client side(Javascript):
1. XMLHttpRequest[^]
2. Callback[^]
3. WebService call[^]
4. PageMethod[^]

Try that you find fit.


这篇关于以编程方式请求并获得响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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