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. Plant Database

Plant Database

Scheduled Pinned Locked Moved C#
databasequestionsql-serversysadminhelp
4 Posts 4 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.
  • S Offline
    S Offline
    sebogawa
    wrote on last edited by
    #1

    So, I want to make an address book like database for all the plants I encounter. I am going to sort them in a list by scientific name and when I click on one of the names it will show a picture I took of the given specimen in a large picturebox next to the list. Then when I double click on the name of the plant, a new window will open showing multiple pictures of the plant along with categorical data similar to a contact entry (name, address, city, gender, etc). I am not sure how to go about doing this in terms of storing and accessing the picture files. I am not too familiar with SQL but I have seen some examples of address books using SQL servers on this site. My question is how will i store, call, and manage all the pictures of the given plants in an SQL server? Can you call up pictures as you do text data? Any help would be greatly appreciated! :)

    R M P 3 Replies Last reply
    0
    • S sebogawa

      So, I want to make an address book like database for all the plants I encounter. I am going to sort them in a list by scientific name and when I click on one of the names it will show a picture I took of the given specimen in a large picturebox next to the list. Then when I double click on the name of the plant, a new window will open showing multiple pictures of the plant along with categorical data similar to a contact entry (name, address, city, gender, etc). I am not sure how to go about doing this in terms of storing and accessing the picture files. I am not too familiar with SQL but I have seen some examples of address books using SQL servers on this site. My question is how will i store, call, and manage all the pictures of the given plants in an SQL server? Can you call up pictures as you do text data? Any help would be greatly appreciated! :)

      R Offline
      R Offline
      Roger Wright
      wrote on last edited by
      #2

      There are many ways to handle photos in SQL Server, so do a little research. Photos are usually treated as Binary Large Objects (BLOBs) in database parlance, so try searching Google and MSDN, as well as the database forum on this site. The short answer is yes, you can use photos just like any other data, but there are efficient ways to do it and innefficient ways, as well. I'm not an expert on this, not even a beginner, but I have read a lot of discussion about this type of database, and I recommend that you do so before you spend too much time chasing butterflies. :)

      "A Journey of a Thousand Rest Stops Begins with a Single Movement"

      1 Reply Last reply
      0
      • S sebogawa

        So, I want to make an address book like database for all the plants I encounter. I am going to sort them in a list by scientific name and when I click on one of the names it will show a picture I took of the given specimen in a large picturebox next to the list. Then when I double click on the name of the plant, a new window will open showing multiple pictures of the plant along with categorical data similar to a contact entry (name, address, city, gender, etc). I am not sure how to go about doing this in terms of storing and accessing the picture files. I am not too familiar with SQL but I have seen some examples of address books using SQL servers on this site. My question is how will i store, call, and manage all the pictures of the given plants in an SQL server? Can you call up pictures as you do text data? Any help would be greatly appreciated! :)

        M Offline
        M Offline
        Mycroft Holmes
        wrote on last edited by
        #3

        You have an even more fundamental question to answer before discussing the database and how to store your data. What is the client you are going to use, winforms/wpf or web/silverlight. This will be determined by your audience. If your project is a personal one then winforms may be the best solution. With SQL server you have a number of choices of how you store your data, you may want to store the actual file in the database or filestore (SQL 2008) or you may want to leave the file in the file system and store it's location in the database. If you are using the web this is critical as your database size will be DRAMATICALLY different and it will affect your hosting choices.

        Never underestimate the power of human stupidity RAH

        1 Reply Last reply
        0
        • S sebogawa

          So, I want to make an address book like database for all the plants I encounter. I am going to sort them in a list by scientific name and when I click on one of the names it will show a picture I took of the given specimen in a large picturebox next to the list. Then when I double click on the name of the plant, a new window will open showing multiple pictures of the plant along with categorical data similar to a contact entry (name, address, city, gender, etc). I am not sure how to go about doing this in terms of storing and accessing the picture files. I am not too familiar with SQL but I have seen some examples of address books using SQL servers on this site. My question is how will i store, call, and manage all the pictures of the given plants in an SQL server? Can you call up pictures as you do text data? Any help would be greatly appreciated! :)

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          Personally, I prefer to store such files within the database.

          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