Alternative to database
-
:confused:Hi, I am new to C# and visual studio, please direct me to an alternative to database method of saving data as my details usually get too large. eg: taking the familiar Customers and Orders scenario, one customer does not have to be linked to another. I want to use Open and Save As file to save One customer and variable number of orders using customer name or ID as filename. Do I have to use Binary Read and Write? Thank You Ramhith
-
:confused:Hi, I am new to C# and visual studio, please direct me to an alternative to database method of saving data as my details usually get too large. eg: taking the familiar Customers and Orders scenario, one customer does not have to be linked to another. I want to use Open and Save As file to save One customer and variable number of orders using customer name or ID as filename. Do I have to use Binary Read and Write? Thank You Ramhith
First and foremost, if your details are getting to large it sounds like a very likely candidate for a database and normilization. As for the Open and Save functionality that is user eye candy which you can map to any functionality you want. If you are truly adament about not using a database there are a myriad of options. XML files ( use xml serializer), Binary files, DataSets, bitmaps, really you can get real creative on this if you want. Use a DB, save yourself the headache. A man said to the universe: "Sir I exist!" "However," replied the Universe, "The fact has not created in me A sense of obligation." -- Stephen Crane