Last post Feb 16, 2011 06:52 PM by N_EvilScott
Feb 14, 2011 02:32 AM|Bonic|LINK
l was requested by someone to help with doing a website using text file to store data and display it using html codings.
The requested website must be able to do the following functions:
1) Browse for template using txt file and select the txt file as template. (Font-styles, headers, tables....etc)
2) Browse for txt file that stores the data and display them in a so called table format categorized properly.
3) Able to do a search function and store the search results in a new txt file. (Which means a new txt file is created everytime someone performs a search and the search results is stored in the new created txt file)
Is there any website with informations/tutorials on these?
Feb 14, 2011 05:16 AMfirstname.lastname@example.org|LINK
i won't suggest to use a text-file as a database.
I think it is easier if you don't have any other means for using db-servers to use a xml data-source.
Feb 14, 2011 02:13 PM|Lannie|LINK
If the volume of data is small (less than 1 gig) use a small footprint database
like MS ACCESS file placed in the web folder system, or MSSQL Express.
I would use XML as last resort.
XML is best for transport of data between disparate systems or static lookup values, and more difficult to manage for transactions and analysis,
where a database shines in performance, flexibility, and capability.
Feb 14, 2011 09:33 PM|Bonic|LINK
but the person wanted it to be c# and txt file only.
Feb 16, 2011 06:49 PM|Lannie|LINK
educate your customer
Feb 16, 2011 06:52 PM|N_EvilScott|LINK
using a text file, or a Flat file as its referred to is an old practice that isn't used much anymore, but you can for sure do it if you need to, not sure its a really optimal thing though. I agree with the rest of the people here, I'd use something like
SQL Express, Access, or XML.