Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 01-29-09   #1 (permalink)
Console Gamer
 
rebelextrm02's Avatar
 
intel ati

Join Date: Nov 2007
Location: In hell.
Posts: 459

Rep: 36 rebelextrm02 is acknowledged by some
Unique Rep: 32
Trader Rating: 2
Question Need help in visual c# using a .csv file.

I have made myself a simple windows app in Visual Studio 2005 that containing a large rich text box. I've already taken care of coding the menu buttons.

I want to open the a .csv file in the rich text box and view it as a set of rows and columns. I also want to be able to make changes to the .csv in the rich text box and save them back as a .csv. I'm not exactly sure where to begin the implementation of this.

Can anyone help me or point me to a good site or forum to help me with this? I've found a couple sites explaining out the use of dictionaries and whatnot but they still fall short of what I need.

Thank you.

Edit: I uploaded an example of the type of .csv I need to format. It wouldn't let me upload a .csv so I put it in a .rar.
Attached Files
File Type: rar Examplecsv.rar (198 Bytes, 14 views)
__________________
Cooler Master 590 Club

My case layout and cable management.

Quote:
RebelExtrm02: MMM Jack in the Box tacos > everything.
Verrater: pfft poor comparison. Everything is not even in the same league as jack in the box tacos.

System: Project CCPC
CPU
e8500 EO @ 4.3 Ghz ~1.33v
Motherboard
Asus P5Q-E
Memory
2x2GB OCZ Blade @ 1088mhz
Graphics Card
ASUS 4890TOP 1GB
Hard Drive
2x WD 640gb Caviar Blacks
Power Supply
Corsair 750w
Case
CM Centurion 590
CPU cooling
TRUE Lapped w/ Washer & MX-2
OS
Windows 7 Pro x64
Monitor
24" ASUS 1080p

Last edited by rebelextrm02 : 01-29-09 at 06:11 PM
rebelextrm02 is offline   Reply With Quote
Old 01-29-09   #2 (permalink)
Programmer
 
Polska's Avatar
 
intel ati

Join Date: Oct 2007
Location: Toronto, Ontario, Canada
Posts: 907

Rep: 92 Polska is acknowledged by some
Unique Rep: 82
Trader Rating: 2
Default

Unfortunately I don't have time to walk you through any code, but check out this thread someone else posted. A member has already posted code on Datasets, and reading from a file. Those are 2 things you can probably use.

To display and edit the informaiton mayve you could use something like a DataGridView.
__________________
Natural Selection 2
Polska - LETS ALL DO THE POLKA || Official ATi 1Ghz Club Owner and VIP Member
Validations: GPU-Z - CPU-Z

System: Big Polish Sausage
CPU
E6850 3.7Ghz @ 1.45v
Motherboard
Gigabyte GA-EP45-UD3P
Memory
Corsair Dual Channel TWINX 2048MB PC6400 DDR2 800
Graphics Card
MSI 5850 - 950/1250 @ 1.187V
Hard Drive
WD Raptor 150Gb , WD Black 500Gb
Sound Card
Turtle Beach - Montego DDL
Power Supply
Ultra 700W
Case
Ultra Grid ATX Case
CPU cooling
zalman 9700
GPU cooling
stock
OS
Windows 7 Pro RTM (32 bit)
Monitor
Samsung 226BW

Last edited by Polska : 01-29-09 at 06:48 PM
Polska is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 07:30 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2010 Shogun Interactive Development. Most rights reserved.
Page generated in 0.11105 seconds with 9 queries