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. Web Development
  3. ASP.NET
  4. JavaScript with .net

JavaScript with .net

Scheduled Pinned Locked Moved ASP.NET
databasecsharpjavascriptsysadmintutorial
3 Posts 3 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.
  • P Offline
    P Offline
    PRAKAS PANDEY
    wrote on last edited by
    #1

    How to Fetch data into sql-server database using javaScript Code? Without use any .net classs(sqlconnecton,DataAdpter,SqlCommand)

    B A 2 Replies Last reply
    0
    • P PRAKAS PANDEY

      How to Fetch data into sql-server database using javaScript Code? Without use any .net classs(sqlconnecton,DataAdpter,SqlCommand)

      B Offline
      B Offline
      Blikkies
      wrote on last edited by
      #2

      It is not possible with a very good reason. JavaScript is client-side, meaning that everyone can have a peek at your JavaScript source and will cause a huge security risk, it will open doors to SQL Injection. Only way of accessing Database with JavaScript is by creating a web service were you have more control over the sql connection.

      1 Reply Last reply
      0
      • P PRAKAS PANDEY

        How to Fetch data into sql-server database using javaScript Code? Without use any .net classs(sqlconnecton,DataAdpter,SqlCommand)

        A Offline
        A Offline
        aarif moh shaikh
        wrote on last edited by
        #3

        it's not Possible. (Javascript in client side language). and what you exactly want to do?

        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