Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Alternative to database

Alternative to database

Scheduled Pinned Locked Moved C#
csharpdatabasevisual-studiosalesquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ramith Sivanarain
    wrote on last edited by
    #1

    :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

    E 1 Reply Last reply
    0
    • R Ramith Sivanarain

      :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

      E Offline
      E Offline
      Ennis Ray Lynch Jr
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups