Click here to Skip to main content
13,551,474 members
Rate this:
Please Sign up or sign in to vote.
See more: , +
I want to make a simple winform application that displays data stored as .txt (or maybe even as a database and display it as a graph)..
I want to make a C# winform application for this and have little prior development experience...
How can this be done.. ???
Posted 14-Jan-13 1:08am
suramrit 14-Jan-13 7:42am
The chart control.. :P
suramrit 14-Jan-13 7:43am
But How can I get it to display data stored as a .txt file????

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

use the stream reader class use this in formload

                StreamReader sr = new StreamReader(@"C:\Users\Vishnu\Desktop\hind.txt");

                    String txtread;
                    while ((txtread = sr.ReadToEnd()) != null)


            catch (Exception e)


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.180515.1 | Last Updated 14 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100