what kind of environment? how does the client and server interact? c/s or b/s? ...
解决方案 »
- 救命啊C#连JAVA写的服务有安全信息头(header)对方取不到我发的头?TAG好像不一样?
- 一万条数据记录存入Excel如何实现秒杀
- c#listview记录顺序移动性能优化
- 关于AJAX控件ModalPopupExtender的疑问
- C#中用MemoryStream 来合并byte[] 怎么合并后的byte[]会大出原来两个byte[]总数很多啊?
- 菜鸟问题
- 是程序员的就进来看看。为什么SelectCommand就不用ExecuteNonQuery()
- 用C#实现一个图像检索的算法
- 求DOTNET/FrontController模式/C#实现框架
- TreeView控件在动态加载之后,根目录的节点不能显示出来。
- 如何自动触发一个button的Click事件呀???
- CollectionEditor类找不到
anyway, you can always have the server updates its status in some variable and have the client poll the server about its status periodicallyor if you are using remoting, look into Asynchronous Remoting
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconasynchronousremoting.asp
thaks!1 "periodically" means using timer control?
2 I use web service
detail:
JBoss web service have methods : string getTask() and object getResult(string theresultofgettask). the gettask method is quickly, but the the result of gettask method maybe not really prepared. when call getResult(...), there is an exception(null exception). There are also a method of string[] getFinishedTask(), whose result is the prepared result of gettask method. So the question: Should i always all the getFinishedTask to confirm and to call the getResult method?