![]() |
| |||||||
| Sponsored Links |
![]() | « Previous Thread | Next Thread » |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| |||
| |||
| Hey everyone it's peeb, haven't posted anything in a while; it's been busy. Well from beside working on one .net app, I just get another project assigned to me that needs to be done by the end of this day. A client wants a bulk emailer of 350 emails of usernames and passwords sent out at once, so my boss tells them I can do it. (Pressure cooker) Anyway, I have an idea of how to code it, just loop through each record retreive the email address and password, and while in that loop send the password to the retreived email address. Now logically and pseudocoding is no problem, but Vb.netting it for me is a different story. Loop aren't one of my strong suits. Well my question is, couldn't I just use the mydatareader to loop through the SQL database and send the emails, or should I use a for loop. Any suggestions or ideas would help, thanks so much. |
| Sponsored Links |
|
#2
| ||||
| ||||
| Yes, using the DataReader would be appropriate in this scenario.
__________________ jmurrayhead If you agree with me... click the icon! If my post solved your problem, click the button in the lower right-hand corner of the post.Join our Folding team: DeveloperBarn Folding |
| The Following User Says Thank You to jmurrayhead For This Useful Post: | ||
peebman2000 (June 20th, 2008) | ||
|
#3
| |||
| |||
| Thanks Jmurrayhead, the datareader worked just fine. I appreciate the help again. |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| windows service send emails every 10 days | peebman2000 | .Net Development | 8 | May 20th, 2008 04:00 PM |
| [VBScript] VBS Send Mail | keep_it_simple | Windows Scripting | 0 | March 22nd, 2008 11:58 AM |
| [ASP/VBScript] Sending Email using CDOSYS & Classic ASP | richyrich | Code Samples | 0 | March 17th, 2008 09:52 AM |