Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > Visual Web Developer 2005
|
Visual Web Developer 2005 Discuss creating ASP.NET 2.0 sites with Microsoft's Visual Web Developer 2005. If your question is more specific to a piece of code than the Visual tool, see the ASP.NEt 2.0 forums instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Web Developer 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 13th, 2008, 06:04 AM
Registered User
 
Join Date: May 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default ASP.NET help with writing array to a file

hi,

i would like to write the following into a file call shareprice.txt but i keep on getting 0 0 0 0 0 0 0

For 10 types of shares for a period from 1 to 365 should become available in a file called shareprice.txt

the 10 types of share should generate random numbers from 50 to 150
it should look like this in the file:

1 25 12 56.....etc (generating random numbers from 50 to 150)
2
3
4
5
6
7
.
.
.
etc up to 365

 
Old May 15th, 2008, 10:13 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

And how are you doing it now? We need to see code to know what you are doing wrong.

-Peter
compiledthoughts.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Writing byte array into image file yukijocelyn C# 2005 1 August 6th, 2008 03:45 PM
ADO.NET writing XML file by schema using datasets inspirito C# 0 February 1st, 2005 11:35 AM
over writing an xml file using asp jojys XML 2 September 14th, 2004 08:38 AM
ASP.NET C# Writing to Event Log Problem wireblock ASP.NET 1.0 and 1.1 Basics 1 July 26th, 2003 04:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.