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. WPF
  4. Draw database diagram using Silverlight

Draw database diagram using Silverlight

Scheduled Pinned Locked Moved WPF
csharpdatabasewpfwcfcom
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.
  • J Offline
    J Offline
    Jay_se
    wrote on last edited by
    #1

    Hi I am having the requirement like drawing the database relationship diagram. Please find the sample image in the below path. http://siebelunleashed.com/wp-content/uploads/2008/06/informaticasourcequalifierscreenshot.png 1. By default, each table icon is in the minimized state & is displayed as a clickable button. 2. If the user click on it, it will be maximized & all the columns displayed (with scroll, if number of columns exceeds its maximum limit) 3. The user can move the icons anywhere around the UI boundaries. 4. The user can minimize it back to an icon by clicking on the minimize botton. 5. There is a connector between related tables (primary/ foreign key relationship) Column wise connector is not required in my case. Only one connector between the related tables is required. 6. If the user clicks on the connector, the relationship details will be displayed in a popup window. How can we implement the same in Web UI using Silverlight? Till now, I have tried with WCF for the database connectivity & drawn few movable images (Image control with mouse event handlers) and connectors (line control) between them by created all the controls dynamically from code behind file (xaml.vb) Kindly help us with your valuable suggestions on this. :) Thanks Jeyakumar

    Jey

    M 1 Reply Last reply
    0
    • J Jay_se

      Hi I am having the requirement like drawing the database relationship diagram. Please find the sample image in the below path. http://siebelunleashed.com/wp-content/uploads/2008/06/informaticasourcequalifierscreenshot.png 1. By default, each table icon is in the minimized state & is displayed as a clickable button. 2. If the user click on it, it will be maximized & all the columns displayed (with scroll, if number of columns exceeds its maximum limit) 3. The user can move the icons anywhere around the UI boundaries. 4. The user can minimize it back to an icon by clicking on the minimize botton. 5. There is a connector between related tables (primary/ foreign key relationship) Column wise connector is not required in my case. Only one connector between the related tables is required. 6. If the user clicks on the connector, the relationship details will be displayed in a popup window. How can we implement the same in Web UI using Silverlight? Till now, I have tried with WCF for the database connectivity & drawn few movable images (Image control with mouse event handlers) and connectors (line control) between them by created all the controls dynamically from code behind file (xaml.vb) Kindly help us with your valuable suggestions on this. :) Thanks Jeyakumar

      Jey

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      You should be able to do it similar to the way you'd do it in WPF, except you won't have direct access to a database from a browser so you'll need that info from a server. The Silverlight SDK[^] has lots of info on using Silverlight controls and graphics.

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      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