Re: How to using variable to store Container.DataItem ?

Discussion in 'ASP .Net' started by Patrick.O.Ige, Mar 16, 2006.

  1. Why don't you do it in your code behind using onItemDataBound?
    Patrick

    <> wrote in message
    news:...
    > Hi All,
    >
    > Is it possible to using variable store container.dataitem in
    > ItemTemplate ??
    > For example.
    >
    > <ItemTemplate>
    > <%
    > Dim x
    > x = container.dataitem("LineNo")
    > if container.dataitem("LineNo") <> x then
    > .....
    > end if
    > %>
    > </ItemTemplate>
    >
    > Please help.
    >
     
    Patrick.O.Ige, Mar 16, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lauchlan M
    Replies:
    1
    Views:
    7,247
    Lauchlan M
    Oct 15, 2003
  2. =?Utf-8?B?VGlsbG1hbiBFcmI=?=

    How can I store DataList DataItem values to Session variable?

    =?Utf-8?B?VGlsbG1hbiBFcmI=?=, Feb 22, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    1,909
    =?Utf-8?B?Ui4gVGhvbWFzIFtYdHJlbWUuTmV0XQ==?=
    Feb 22, 2005
  3. Chumley the Walrus

    How do I assign a variable to a container.dataitem in repeater control

    Chumley the Walrus, May 12, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    330
    Chumley the Walrus
    May 12, 2004
  4. Joe Rattz
    Replies:
    2
    Views:
    603
    Robert Koritnik
    Sep 10, 2004
  5. Replies:
    0
    Views:
    127
Loading...

Share This Page