Click here to Skip to main content
15,909,445 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,I'm planning to make a project about display chart when already had a text file of uploading file(I've solved it).Now,I want to save the data from file text when I upload file. Web will draw on chart and store data when other person will go to my web page ,person can see chart with data I uploaded before.

Example: when I have text file
VB
238
234
234
234
...


I split space and store it on string array .Covert it to double and draw on chart.

Help me to solve it.

Thanks you.
Posted
Comments
DamithSL 4-Jan-15 10:53am    
where you stuck now?
Member 10243484 5-Jan-15 3:08am    
I don't know how to save data on text file and draw chart, another person can see chart with data I uploaded before.I think use sql connect database store data.You can suggest me a new case.

1 solution

First thing you have to decide that you want to store all points together in a single row or a single point in a row.Suppose you have 1000 points and you want to store it single point in a row then you will have 1000 rows that is useless for me.
So save all the points(separated by space or whatever) in a single row as a string in your database and when you will retrieve this string from your database then you can split the string and draw your graph.
 
Share this answer
 
Comments
Member 10243484 5-Jan-15 3:18am    
Thanks you.I think all point will be stored in a row.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900