本文介绍了带有异步调用的静态类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
:confused: 请给出一些使用静态类进行异步调用的示例,该调用需要sql查询以异步方式从数据库返回值列表. :〜 我尝试使用Google搜索,但发现仅与控制台应用程序相关的样本很少.实际上我只想用c#在asp中. :) 在此先感谢..
:confused: Kindly give some examples using Static class with Asynchronous calls which takes sql query to return a list of value from database asynchronously. :~ I tried googling but i found few samples related to console applications only. actually i want only in asp with c#. :) Thanks in Advance..
推荐答案您要的是愚蠢的. ASP.NET页的生命周期有限,该页不再存在后,很可能会返回异步调用.您应该在ASP.NET上读一本书并了解其工作原理,而不是在马桶上学一些流行语,并假设您的应用仅具有这些功能. ============= 从JSOP:厕所应用程序"-我喜欢它. :) What you''re asking for is stupid. An ASP.NET page has a limited lifecycle, an asyncronous call is likely to return after the page ceases to exist. You should read a book on ASP.NET and understand how it works, instead of learning some buzzwords on the toilet and assuming your app just HAS to have those things. ============== From JSOP: "Toilet apps" - I love it. :)
更多推荐
带有异步调用的静态类
发布评论