Results 1 to 4 of 4

Thread: what is the best way

  1. #1

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729

    what is the best way

    of in a page show something? like i have a string array that contains values..and for each string i want to put for example a different image, different text and different buttons..how should i do this? is there any control out there that can do this? i used once datalist but it works only for databinding in databases and for what i want i wont use databases..any help plz?
    \m/\m/

  2. #2

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    will i have to do it in the old asp/php way? put a label and fill it up with all the html codes?
    \m/\m/

  3. #3
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    You could use one of the list controls, such as a repeater or datalist. Also, databases are not the only datasource that you can bind 2. You can basically bind to anything that implements IEnumerable, such as an array or collection.

  4. #4

    Thread Starter
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    hmm didnt know that...2morrow ill check that carefully
    \m/\m/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width