减少加载时间 [英] Reducing Loading Time

查看:111
本文介绍了减少加载时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

插入数据后,我正在发送邮件,然后会出现通知消息.

显示消息需要花费更多时间,因为发送邮件需要花费时间.

将消息插入数据库后,我需要显示该消息

有什么方法可以减少邮件发送时间?

还是在后台发送邮件?

Hi All,

I am sending mail after data inserted, then Notification message will come.

it takes more time to display the message because it takes time to send mail.

I need to display the message once it is inserted in DB

is there any way to reduce the time for mail sending?

or sending mail in background?

推荐答案

看看下面的主题链接-" 与ASP.NET异步发送电子邮件".

http://wiki.asp.net/page.aspx/536/send -asynchronous-mail-using-aspnet/

http://www.asp.net/general/videos/我该如何与aspnet异步发送电子邮件
Have a look at below links for topic - "Send Email Asynchronously with ASP.NET".

http://wiki.asp.net/page.aspx/536/send-asynchronous-mail-using-aspnet/

http://www.asp.net/general/videos/how-do-i-send-email-asynchronously-with-aspnet


这样做..
首先,当您在数据库中插入一个值时,显示一个消息框. 实际的问题出在您的连接超时查询中..在不触摸该查询的情况下,我们做了简单的捷径..
当您点击消息框时,过程再次开始...

我有问题..不是现在..执行此操作...
do like this..
at first when you insert a value in database show one messagebox..
actually the problem is in your connection timeout query.. without touching that query,we do simple shortcut..
when you hit the messagebox the process starts again...

i had the problem .. not now.. do this...


您应该加载数据的图像,以便用户理解邮件正在发送给他.
希望对您有帮助.
you should you the image of data loading so user understand that the mail is sending to him.
hope it will help you.


这篇关于减少加载时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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