Assigning a table value from a dataset to a variable

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Assigning a table value from a dataset to a variable

    I have been trying to do this for some time and have had no success.

    Now I can spit out something from the table by putting the control

    <%# Dataset.FieldValue("nameF", Container %>

    My question is how do I assign that value from "nameF" into a variable? And
    will I be able to use that variable in a Repeater?

    Please any help will prevent me from kicking a hole through my monitor.

    blitzed2010 Guest

  2. Similar Questions and Discussions

    1. Assigning a AS variable to the return value of a webservice
      Subject: Re: Assigning a AS variable to the return value of a web service Here is what I have so far...(see 3 paragraphs below this) no more...
    2. assigning variable values in tk
      I'm trying to create a series of buttons in tk using a loop similar to this (metacode): sub create_buttons { for ($x = 1..3) { create button...
    3. explicitly assigning a variable
      $databname =$seriesname; The above code assignes a value from a previous page to seriesname, and then ultimately to databname, which I pass on...
    4. Assigning instance name to variable
      Hi all, I have a movie with 65 buttons. When you click on a button, it calls data from an external .txt file. My question is, how can I assign...
    5. Ccopying a datatable content from an untyped dataset into a table which is inside a typed dataset
      Hi All, I am facing problem in copying content of table from a untyped dataset into to a table inside the typed dataset. I wanted to copy the data...
  3. #2

    Default Re: Assigning a table value from a dataset to a variable

    Here is what I need to to

    dim previousID

    If currentID = previousID then
    Print a headline <BR>
    previousID = currentID
    Else
    Print name <BR>
    Print headline <BR>
    End IF

    How do I write this out in dreamweaver? This is a simple if statement and for
    some reason getting the values of any particular item in a dataset is
    impossible. Why did macromedia make this so difficult to accomplish? Maybe I
    am being to hard on them, but for something as simple as this it seems
    ridiculous that they wouldn't keep such simple functionality.


    blitzed2010 Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139