与数据库一起执行多任务处理. [英] MultiTasking with database.

查看:153
本文介绍了与数据库一起执行多任务处理.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个应用程序vb.net应用程序.为此,我创建了一个报告.现在,如果开始加载大报告,除非并且直到加载报告,否则我无法在EXE中进行任何其他活动.所以我需要一个帮助.所以事情是,如果我的报告正在加载,同时我可以在同一exe文件中进行交易.我应该将其称为与数据库的多任务处理.

请尽快为我提供帮助,并为此提供最佳解决方案.

I created an application vb.net application. In that i have created a report. Now if a big report is begin loaded, unless and untill the report is loaded i cannot do any other activity in the EXE. So i need a help on this. So the thing is if my report is getting loaded meanwhile i can do the transactions in the same exe. I should call this as a multitasking with database.

Please help me on this as soon as possible and please provide the best possible solution on this.

推荐答案

请尽快帮助我,并提供最好的解决方案."

首先,这是一个志愿者站点,人们会在他们的时间而不是您的时间进行分析,所以请不要要求尽快或紧急响应.
其次,没有最佳"解决方案.可能有很多解决方案,最佳"取决于您,因为我们对您的应用程序,要求,代码等一无所知.

接着.您不需要对数据库执行多任务处理,而需要对应用程序进行多线程处理.使用 BackgroundWorker [
"Please help me on this as soon as possible and please provide the best possible solution on this."

First, this is a volunteer site and people will anser on their time, not yours, so don''t ask for ASAP or urgent response.
Second, there is no "best" solution. There can be many solutions, which is "best" is up to you since we have no idea about your application, requirements, code, etc.

Now then. You don''t need to multitask the database, you need to mulit-thread your application. Use BackgroundWorker[^] to run the report generation code and handle the notification events appropriately for your needs.


这篇关于与数据库一起执行多任务处理.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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