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. Insert data from asp.net table to sql server 2005

Insert data from asp.net table to sql server 2005

Scheduled Pinned Locked Moved ASP.NET
tutorialcsharpasp-netdatabasesql-server
4 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
    Sarfaraj Ahmed
    wrote on last edited by
    #1

    Hello Everybody I have a table name tempOrderDetails in order.aspx where i keept order details. Also have Button called btnSubmitOrder. When you clicked SubmitOrder then all data will add into SQL SERVER, if you have any example or guide line please tell me, it will be really helpful Thanks in advance

    Sarfarj Ahmed

    C 1 Reply Last reply
    0
    • S Sarfaraj Ahmed

      Hello Everybody I have a table name tempOrderDetails in order.aspx where i keept order details. Also have Button called btnSubmitOrder. When you clicked SubmitOrder then all data will add into SQL SERVER, if you have any example or guide line please tell me, it will be really helpful Thanks in advance

      Sarfarj Ahmed

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      To store data in a database is about as widely documented on the web as anything could be. It's also the sort of task where reading an online article makes more sense than working off the quick notes someone will enter for a forum reply. Do you have a data layer already ? Is the database set up already ?

      Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

      S 1 Reply Last reply
      0
      • C Christian Graus

        To store data in a database is about as widely documented on the web as anything could be. It's also the sort of task where reading an online article makes more sense than working off the quick notes someone will enter for a forum reply. Do you have a data layer already ? Is the database set up already ?

        Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        S Offline
        S Offline
        Sarfaraj Ahmed
        wrote on last edited by
        #3

        What I have done so far is......... I have created a table into SQL SERVER called tempOrderDetails where I can add order data and at the same time I retrived those data to show it to shopping cart but i think its not good idea because every single time i am adding data into server. Also I can create session data table in .aspx page and show it to shopping cart but I cant add all data into SQL SERVER So I need to know how can I insert data into SQL SERVER from SESSION data table. Thanks in advance

        Sarfarj Ahmed

        P 1 Reply Last reply
        0
        • S Sarfaraj Ahmed

          What I have done so far is......... I have created a table into SQL SERVER called tempOrderDetails where I can add order data and at the same time I retrived those data to show it to shopping cart but i think its not good idea because every single time i am adding data into server. Also I can create session data table in .aspx page and show it to shopping cart but I cant add all data into SQL SERVER So I need to know how can I insert data into SQL SERVER from SESSION data table. Thanks in advance

          Sarfarj Ahmed

          P Offline
          P Offline
          pushpendu B
          wrote on last edited by
          #4

          pld send me syntex .

          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