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. web page postback

web page postback

Scheduled Pinned Locked Moved ASP.NET
helptutorialquestion
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.
  • Z Offline
    Z Offline
    Zeyad Jalil
    wrote on last edited by
    #1

    hi all, when my page postedback after asp save button click it run the save another time, if you save 1 book1 it will save twice how to solve this problem? thanks alot

    N A J 3 Replies Last reply
    0
    • Z Zeyad Jalil

      hi all, when my page postedback after asp save button click it run the save another time, if you save 1 book1 it will save twice how to solve this problem? thanks alot

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      DON'T post the same question again, once is enough. If anyone chooses to answer they will.


      I know the language. I've read a book. - _Madmatt

      1 Reply Last reply
      0
      • Z Zeyad Jalil

        hi all, when my page postedback after asp save button click it run the save another time, if you save 1 book1 it will save twice how to solve this problem? thanks alot

        A Offline
        A Offline
        awedaonline
        wrote on last edited by
        #3

        Are you sure you are not calling the save method twice? or you use cmd.ExecuteNonQuery() twice? Paste the code you use and let's review it together.

        1 Reply Last reply
        0
        • Z Zeyad Jalil

          hi all, when my page postedback after asp save button click it run the save another time, if you save 1 book1 it will save twice how to solve this problem? thanks alot

          J Offline
          J Offline
          Jamil Hallal
          wrote on last edited by
          #4

          Check the following in your code: 1-are you sure you are not saving a new book in the Page_load event of the page? 2-are you sure you are not calling the save method twice? 3-make sure that the procedure is saving one book. if you want you can post your code to fix the issue.

          Regards, Jamil Please check my latest article: http://www.codeproject.com/Tips/80141/Authentication-and-Authorization-in-ASP-NET.aspx

          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