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. save and submit button

save and submit button

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasehelptutorial
4 Posts 2 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.
  • B Offline
    B Offline
    Bhasker Pinninti
    wrote on last edited by
    #1

    Hi all, I need a functionality for save and submit. 1.For Save Button: suppose if you having the insufficient information, then you fill that information in web page and click save button. this event should not update the database. In next login(ie., when you get the full information), whatever information you filled before, that should be display. 2.for submit button: when you click the sumbit button, the database should be updated. This is not a problem. I need to know how to do the 1 one. I am using asp.net1.1(c#)and sqlserver 2000 any ideas or links............... Thanks, Bhasker P

    M 1 Reply Last reply
    0
    • B Bhasker Pinninti

      Hi all, I need a functionality for save and submit. 1.For Save Button: suppose if you having the insufficient information, then you fill that information in web page and click save button. this event should not update the database. In next login(ie., when you get the full information), whatever information you filled before, that should be display. 2.for submit button: when you click the sumbit button, the database should be updated. This is not a problem. I need to know how to do the 1 one. I am using asp.net1.1(c#)and sqlserver 2000 any ideas or links............... Thanks, Bhasker P

      M Offline
      M Offline
      mnaveed
      wrote on last edited by
      #2

      you can set a flag in your table which can let you know that info is not complete you and you will display a message to user for full info.or you can use cookies which i m not sure about is a good way to do it. Nav.

      B 1 Reply Last reply
      0
      • M mnaveed

        you can set a flag in your table which can let you know that info is not complete you and you will display a message to user for full info.or you can use cookies which i m not sure about is a good way to do it. Nav.

        B Offline
        B Offline
        Bhasker Pinninti
        wrote on last edited by
        #3

        can you explain some more? how to set a flag in database? I am too weak in database side programming? Thanks, Bhasker P

        M 1 Reply Last reply
        0
        • B Bhasker Pinninti

          can you explain some more? how to set a flag in database? I am too weak in database side programming? Thanks, Bhasker P

          M Offline
          M Offline
          mnaveed
          wrote on last edited by
          #4

          add another column in your table for true or false value(BOOL) and if you save data set the column value to false and set value true when you click submit and if value is false that means you need full info from user. hope this will help Nav.

          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