Re: Is there a way to keep the StreamWriter open?
- From: "Bishop" <nospam@xxxxxxxxxx>
- Date: Wed, 17 Jun 2009 14:12:08 -0500
Logging marketing data to a CSV file. We then need to massage the data, and perform a bulk insert.
"Gregory A. Beamer" <NoSpamMgbworld@xxxxxxxxxxxxxxxxxx> wrote in message news:Xns9C2D83A3DA6CDgbworld@xxxxxxxxxxxxxxxx
"Bishop" <nospam@xxxxxxxxxx> wrote in
news:1DC4274B-9BBD-44E6-90B1-004467F91476@xxxxxxxxxxxxx:
Every time some hits this page it writes a line to a text file. I
wanted to find out if I can keep the StreamWriter open to speed up the
process?
Why are you using a streamwriter to log? There are much better ways to do
that, including some "built in".
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com
*******************************************
| Think outside the box! |
*******************************************
.
- Follow-Ups:
- Re: Is there a way to keep the StreamWriter open?
- From: Gregory A. Beamer
- Re: Is there a way to keep the StreamWriter open?
- References:
- Is there a way to keep the StreamWriter open?
- From: Bishop
- Re: Is there a way to keep the StreamWriter open?
- From: Gregory A. Beamer
- Is there a way to keep the StreamWriter open?
- Prev by Date: Sharing the Cache between ASP.NET applications
- Next by Date: Integrating Google Calendars
- Previous by thread: Re: Is there a way to keep the StreamWriter open?
- Next by thread: Re: Is there a way to keep the StreamWriter open?
- Index(es):