Datalist control is bound by an element of the array ???

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi all,

Data displayed on the datalist control is bound by the column name of the
dataset like this :

<%# DataBinder.Eval(Container.DataItem, "title")%>

Could I use an element of the array (i.e. index=0) which has the name
"title" in place of it ? For example:

<%# DataBinder.Eval(Container.DataItem, Array(0)) %>

Is there anything wrong with the syntax ? Please give me your advise.

Thanks in advance.



.



Relevant Pages

  • Newbie struggling with function pointers
    ... And I have an array of what I _hope_ are pointers to functions (if they ... trying to decipher all the tutorials on function pointers I've come ... The syntax, not so clear... ... Prev by Date: ...
    (comp.lang.c)
  • array question (newbie)
    ... Having an array: ... And refering to a particular element, which syntax is correct? ... Prev by Date: ...
    (comp.lang.perl.misc)
  • Re: Converting from ArrayList to non System.Type array
    ... Jack Addington wrote: ... > I have a method that takes an array of nodes as a parameter. ... > and pass to the method but I cannot seem to get the syntax right. ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • newbie question vb.net bits
    ... If I have a 2 byte byte array, how do I test bits within the bytes to ... syntax or how to get to this level. ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: .join() !== + a + b; // for some a and b
    ... The one seemed obvious until your more detailed explanation below, ... that made it necessary to look deeper into the syntax. ... one an Array object reference and one ... seems wrong with the expression evaluation on the left side of the logical ...
    (comp.lang.javascript)