带有异步调用的静态类

编程入门 行业动态 更新时间:2024-10-23 15:18:56
本文介绍了带有异步调用的静态类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

: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. :)

更多推荐

带有异步调用的静态类

本文发布于:2023-11-11 10:39:02,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1578189.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:静态

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!