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 multiple values

Save multiple values

Scheduled Pinned Locked Moved ASP.NET
tutorialquestion
6 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.
  • G Offline
    G Offline
    getaccessyr
    wrote on last edited by
    #1

    Hi All, Can i know how to save multiple values in a singleproperty? i know we cant use viewstate for that? please let me know asap if any alternate way is there? Thanks In advance

    P M 2 Replies Last reply
    0
    • G getaccessyr

      Hi All, Can i know how to save multiple values in a singleproperty? i know we cant use viewstate for that? please let me know asap if any alternate way is there? Thanks In advance

      P Offline
      P Offline
      padmanabhan N
      wrote on last edited by
      #2

      use datatable....

      Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]

      G 1 Reply Last reply
      0
      • G getaccessyr

        Hi All, Can i know how to save multiple values in a singleproperty? i know we cant use viewstate for that? please let me know asap if any alternate way is there? Thanks In advance

        M Offline
        M Offline
        m dhu
        wrote on last edited by
        #3

        yamunarani wrote:

        singleproperty?

        what do you mean by single property??

        G 1 Reply Last reply
        0
        • P padmanabhan N

          use datatable....

          Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]

          G Offline
          G Offline
          getaccessyr
          wrote on last edited by
          #4

          Hi, Thankyou for ur reply. Yes we can do the same if the controls which we r binding will be static. but we have to bind dynamic controls,in that case if in same page we have multiple dropdowns then we need to save those values. I need that.

          P 1 Reply Last reply
          0
          • G getaccessyr

            Hi, Thankyou for ur reply. Yes we can do the same if the controls which we r binding will be static. but we have to bind dynamic controls,in that case if in same page we have multiple dropdowns then we need to save those values. I need that.

            P Offline
            P Offline
            padmanabhan N
            wrote on last edited by
            #5

            then use arraylist for that...

            Padmanabhan My Articles: Articles[^] My latest Article: Word Automation[^]

            1 Reply Last reply
            0
            • M m dhu

              yamunarani wrote:

              singleproperty?

              what do you mean by single property??

              G Offline
              G Offline
              getaccessyr
              wrote on last edited by
              #6

              Right now i am binding conrols dynamically in a page , according to the controlids in DB we r binding different controls. so,if in one page if we have multiple DRopdownlist then how to store those values. Right now i am saving values in viewstate for tha dropdownlist. but viewstate can hold one value right so i need alternate solution can any one know?

              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