944,103 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 4394
  • VB.NET RSS
Aug 18th, 2007
0

Saving Textbox's content into csv file

Expand Post »
Hi, im new to DaniWeb, but hoping to join in a lot. My first post is a request for help. I am currently working on a project for fun at home in my spare time. I have currently coded nearly all the project, but am strugaling majorly on saving files.

I have spoken to my ICT Teachers at school about help, but to be honest they are useless. It seems im teaching them than the other way. What i have is around 24 Textboxs that have to have information filled in, when someone comes to take out clothes from a store. I need a way to save all of these 24 pices of information into a file.

I think that the best option is a CSV file, although you may surgest otherwise. Basiclly i need help with code and were to start. I know how to make the CSV file, but were i am stuck is coding it all so when a button is clicked it saves all those 24 pieces of info under each of the headings in the CSV File.

The file will also have multiple saves under it, therefore it is essintail that files can't be overwriten without the user beeing sure it is ok.

If anyone could please point me in the right direction or show me some code samples i would be very thankfull.

---------------------------------------------------------------

I have had another idea for the way i could save the members and information. I have attached a JPEG piccy with this post and i hope this explains what i mean for this way. Id need help knowing how to make those folders etc. If you are quite intrested in helping me jst say and i will email you the project.

Thank-You VM - Alex
Attached Thumbnails
Click image for larger version

Name:	file_layout.jpg
Views:	39
Size:	36.5 KB
ID:	3928  
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
echocpt is offline Offline
8 posts
since Aug 2007
Aug 18th, 2007
0

Re: Saving Textbox's content into csv file

The ideal solution would be to save data to a database. And then to plan how each table is linked to the other.
Last edited by iamthwee; Aug 18th, 2007 at 1:16 pm.
Featured Poster
Reputation Points: 1536
Solved Threads: 431
Posting Expert
iamthwee is offline Offline
5,865 posts
since Aug 2005
Aug 18th, 2007
0

Re: Saving Textbox's content into csv file

ok thanks, were would i start with making a database? Do i do .mdb or sql etc etc... I really need help on this. Thanks for surgestion
Reputation Points: 10
Solved Threads: 0
Newbie Poster
echocpt is offline Offline
8 posts
since Aug 2007
Aug 19th, 2007
0

Re: Saving Textbox's content into csv file

Hi,

Start with Access (mdb) file.
Collect all the necessary info u need to store in db. then u can start designing the database. If this is ok, and if ur DB is huge, u can shift to SQL Server.

Regards
Veena
Reputation Points: 84
Solved Threads: 140
Posting Shark
QVeen72 is offline Offline
923 posts
since Nov 2006
Sep 2nd, 2007
0

Re: Saving Textbox's content into csv file

Thanks alot, I have Been on holiday for the last 12 days, so havn't had a chance to come on asnnd check up. Thats alota help, wat you said about mdb file.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
echocpt is offline Offline
8 posts
since Aug 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: give me suggestion
Next Thread in VB.NET Forum Timeline: Calculator





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC