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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. data insertion

data insertion

Scheduled Pinned Locked Moved ASP.NET
databasecsharpsql-serversysadminhelp
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.
  • S Offline
    S Offline
    Sweet Virgo
    wrote on last edited by
    #1

    hi friends i want to insert data in sql server db from asp .net form's text boxes , i want to create a class and insert data thru functions of that class can ne one help me regards Farooq Azam

    C I 2 Replies Last reply
    0
    • S Sweet Virgo

      hi friends i want to insert data in sql server db from asp .net form's text boxes , i want to create a class and insert data thru functions of that class can ne one help me regards Farooq Azam

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      What sort of help are you looking for? You just create a class with a number of methods that perform data access and return the data back.


      "On two occasions, I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able to rightly apprehend the kind of confusion of ideas that could provoke such a question." --Charles Babbage (1791-1871) My: Website | Blog

      1 Reply Last reply
      0
      • S Sweet Virgo

        hi friends i want to insert data in sql server db from asp .net form's text boxes , i want to create a class and insert data thru functions of that class can ne one help me regards Farooq Azam

        I Offline
        I Offline
        Ista
        wrote on last edited by
        #3

        you would be best off reading a book on design patterns before attempting this my favorite books is as www.oozinoz.com there are serveral way to can go 1) Create a class that has the properties you want to save and call a save method on that class 2) Use a data adapter to save the data 1 line of code equals many bugs. So don't write any!!

        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