使用控制台应用程序逐步向用户发送电子邮件数据 [英] Send email to user ,data from database step by step using Console Application
本文介绍了使用控制台应用程序逐步向用户发送电子邮件数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在数据库中有3个数据..我想逐个发送到DB中定义的电子邮件ID。意思是......第一个值分配给xyz @ xyz.com,第二个值分配给abc @ abc然后再将第三个值分配给xyz@xyz.com。
问题是......怎么做?
i没有想法:(
I have 3 data in a database.. i want to send it one by one to defined email id in DB.. Mean that... 1st value assigned to xyz@xyz.com,2nd value assigned to abc@abc.com then third value assigned to again xyz@xyz.com.
question is ... how to do this?
i have no idea:(
推荐答案
如何首先搜索问题的解决方案,然后询问如果你真的坚持某些事情就会有所帮助。
1.从/向数据库读取和插入数据是你必须学习的基本技能:
十分钟内的SQL [ ^ ]
http://www.dotnetperls.com/sqldatareader [ ^ ]
2.循环: http:// csharp。 net-tutorials.com/basics/loops/ [ ^ ]
干杯!
Hi,
How about searching for solutions to your problems first and then asking people to help if you really stuck on something.
1. Reading and inserting data from/to database is basic skill you have to learn:
SQL in ten minutes[^]
http://www.dotnetperls.com/sqldatareader[^]
2. Loops: http://csharp.net-tutorials.com/basics/loops/[^]
Cheers!
这篇关于使用控制台应用程序逐步向用户发送电子邮件数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文