Image uploading to the database - Urgent help required

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shikha1234
    New Member
    • Mar 2008
    • 10

    Image uploading to the database - Urgent help required

    HI,

    I want to implement a functionality in C#.net that I should be able to upload a map throw the browse button to some fields of a database.

    There are two dropdowns.
    Selecting a value from one dropdown populates other dropdown(this i have done).then there is a browse button. map gets uploaded tcorresponding to those dropdown's tables in the database

    If somebody has done it earlier, can you please help me with some hints or sample codes
  • dip_developer
    Recognized Expert Contributor
    • Aug 2006
    • 648

    #2
    Originally posted by Shikha1234
    HI,

    I want to implement a functionality in C#.net that I should be able to upload a map throw the browse button to some fields of a database.

    There are two dropdowns.
    Selecting a value from one dropdown populates other dropdown(this i have done).then there is a browse button. map gets uploaded tcorresponding to those dropdown's tables in the database

    If somebody has done it earlier, can you please help me with some hints or sample codes
    have u done anything.???... ..this is not the place to post the whole code ...........but surely we will help you.....
    what is your idea?? I think upload image in a folder in your server....and save the path in database....thi s is rather easy approach than saving an image to database....... .

    Comment

    • ShahbazAshraf
      New Member
      • Mar 2008
      • 36

      #3
      Simply read the image/map as byte and send it to database through sql/oracle db parameteres and apply database type as image

      here is sample code

      There are several major languages that are mostly used for coding. These are Java and JavaScript, Python, PHP, C# and C++, Ruby.


      or

      Founded in 1999, ASPFree.com offers free gift cards, game redeem codes, and daily giveaways with no fees or hidden charges. Get your favorite freebies and surprises every day.

      Comment

      • Shikha1234
        New Member
        • Mar 2008
        • 10

        #4
        Originally posted by ShahbazAshraf
        Simply read the image/map as byte and send it to database through sql/oracle db parameteres and apply database type as image

        here is sample code

        There are several major languages that are mostly used for coding. These are Java and JavaScript, Python, PHP, C# and C++, Ruby.


        or

        http://www.aspfree.com/c/a/ASP.NET/U...e--C---Part-I/

        Thanks a ton !!
        I could do it yest...

        Comment

        Working...