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. Storing Array in the Profile of Web.config

Storing Array in the Profile of Web.config

Scheduled Pinned Locked Moved Web Development
data-structuresquestion
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.
  • Z Offline
    Z Offline
    Zeeshan Riaz
    wrote on last edited by
    #1

    I am working on a community site.I Wanted to store the user's friends in the profile of the user programmatically by storing an array of friends in the profile of the user to avoid an extra table. Is it possible to store an array in the profile? If yes the plz ....How? thks

    C 1 Reply Last reply
    0
    • Z Zeeshan Riaz

      I am working on a community site.I Wanted to store the user's friends in the profile of the user programmatically by storing an array of friends in the profile of the user to avoid an extra table. Is it possible to store an array in the profile? If yes the plz ....How? thks

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

      This is a little closer, I guess. I would store it as a single property and make it a tab seperated list, then you can turn it into an array with the string.Split method.

      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 )

      Z 1 Reply Last reply
      0
      • C Christian Graus

        This is a little closer, I guess. I would store it as a single property and make it a tab seperated list, then you can turn it into an array with the string.Split method.

        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 )

        Z Offline
        Z Offline
        Zeeshan Riaz
        wrote on last edited by
        #3

        I am new to cp thats why i put the question to the wrong place but thks ur answer is helpful. By the passage of time i will get used to CP. :-O :rose:

        C 1 Reply Last reply
        0
        • Z Zeeshan Riaz

          I am new to cp thats why i put the question to the wrong place but thks ur answer is helpful. By the passage of time i will get used to CP. :-O :rose:

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

          That's fine - I hope you feel welcome here, and get a lot of use out of the site. Again, I was only directing for your benefit, if you ask in the right place, people will see and be able to help.

          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 )

          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