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. Transaction-Sql

Transaction-Sql

Scheduled Pinned Locked Moved ASP.NET
database
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.
  • L Offline
    L Offline
    Learner520
    wrote on last edited by
    #1

    Hi everybody, please any one could tell me how I can use transaction for multiple records. e.g. if I have a multiple check boxes selection and I want to save them all in database through transaction. any Idea would be appreciated. thanks regards learner

    C Z 2 Replies Last reply
    0
    • L Learner520

      Hi everybody, please any one could tell me how I can use transaction for multiple records. e.g. if I have a multiple check boxes selection and I want to save them all in database through transaction. any Idea would be appreciated. thanks regards learner

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

      The big questions are: 1 - how does this relate to ASP.NET 2 - given that the answer to your question is 'to use transactions', is what you're really asking, is for someone to write you a mini article b/c you don't know how to use google and have no references ? 3 - do you understand what a transaction does for you in this instance ?

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      • L Learner520

        Hi everybody, please any one could tell me how I can use transaction for multiple records. e.g. if I have a multiple check boxes selection and I want to save them all in database through transaction. any Idea would be appreciated. thanks regards learner

        Z Offline
        Z Offline
        Zafar A khan
        wrote on last edited by
        #3

        in a transaction you can send query. then why not you use the insert query for checked checkboxes using for loop or foreach :-O

        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