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. DataColumn question

DataColumn question

Scheduled Pinned Locked Moved C#
questiondatabaseperformancehelp
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
    Richard Blythe
    wrote on last edited by
    #1

    I have a database table that is bound to a report. One of the fields is an Int32 type that stores the id of a jpg image. This has been done to reduce database storage. I know I can create a runtime column and fill it with the appropriate images but there's a performance issue with that. The images are fairly large so I would like to store them as a WeakReference. (Or some kind of dynamic access) Can anything be acomplished along this line? Anything!

    The mind is like a parachute. It doesn’t work unless it’s open.

    D 1 Reply Last reply
    0
    • R Richard Blythe

      I have a database table that is bound to a report. One of the fields is an Int32 type that stores the id of a jpg image. This has been done to reduce database storage. I know I can create a runtime column and fill it with the appropriate images but there's a performance issue with that. The images are fairly large so I would like to store them as a WeakReference. (Or some kind of dynamic access) Can anything be acomplished along this line? Anything!

      The mind is like a parachute. It doesn’t work unless it’s open.

      D Offline
      D Offline
      Dan Mos
      wrote on last edited by
      #2

      Check out the Low impact images article by Pete O'Hanlon. It's neat. Also check out Sacha's reply/message. Should help in the Weak Reference :)

      I bug

      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