多个请求同时抛出数据表和数据集的错误 [英] multiple request at same time throws error for datatable and dataset
本文介绍了多个请求同时抛出数据表和数据集的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我同时从两个不同的浏览器从asp.net代码中的ajax jquery调用webservice(web方法)时,
我有的Web服务功能, dataset = new dataset,datatable = new datatable
但我在警告框中收到内部服务器错误错误
当我检查代码时,我发送的请求的表计数是相同的...但它必须是不同的......我为这两个请求创建表的新对象.... 。
请教建议怎么做
when i call webservice (web method) from ajax jquery in asp.net code from two different browsers at same time ,
in web service function i have , dataset =new dataset , datatable=new datatable
but i get error as internal server error in alert box
when i check code , the table count is same for both request i have sent ... but it has to be different ...i create new object for table for both request .....
pls advice what to do
推荐答案
我想你的意思没有为函数创建对象,
创建WebService函数的新对象然后你不会面对这个
i think ur not creating the objects for the Function,
Create new object of the WebService Function then u wont face this
这篇关于多个请求同时抛出数据表和数据集的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文