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. how to use SQL with Silverlight

how to use SQL with Silverlight

Scheduled Pinned Locked Moved WPF
databasehelptutorial
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.
  • A Offline
    A Offline
    Amit Spadez
    wrote on last edited by
    #1

    hello, I'm new in Silverlight Development. I want to know how to include "System.Data.SQLClient" in Silverlight application. In other words, I want to use SQlConnection in Silverlight application . Please help

    A realJSOPR S 3 Replies Last reply
    0
    • A Amit Spadez

      hello, I'm new in Silverlight Development. I want to know how to include "System.Data.SQLClient" in Silverlight application. In other words, I want to use SQlConnection in Silverlight application . Please help

      A Offline
      A Offline
      Abhinav S
      wrote on last edited by
      #2

      vinci007 wrote:

      System.Data.SQLClient

      This is not part of the Silverlight runtime. You can user either Web services or the Entity framework to access data.

      The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick - Silverlight *.XCP files

      1 Reply Last reply
      0
      • A Amit Spadez

        hello, I'm new in Silverlight Development. I want to know how to include "System.Data.SQLClient" in Silverlight application. In other words, I want to use SQlConnection in Silverlight application . Please help

        realJSOPR Offline
        realJSOPR Offline
        realJSOP
        wrote on last edited by
        #3

        It's simply not possible. Silverlight apps can't connect directly to a database. You have to use a web service (or RIA services).

        .45 ACP - because shooting twice is just silly
        -----
        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

        1 Reply Last reply
        0
        • A Amit Spadez

          hello, I'm new in Silverlight Development. I want to know how to include "System.Data.SQLClient" in Silverlight application. In other words, I want to use SQlConnection in Silverlight application . Please help

          S Offline
          S Offline
          souidi abderrahman
          wrote on last edited by
          #4

          you can use the ADO.net DataModel to mappe your Database or the LinqToSQl(dbml) then you create a WCF for (ADO.Net DataModel) and a web serice for LinqToSql.

          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