Container.DataItem("Item") Question.

Results 1 to 2 of 2

Thread: Container.DataItem("Item") Question.

  1. #1
    Join Date
    Dec 1969

    Default Container.DataItem("Item") Question.

    I&#039;m using Container.DataItem("Qty") in ASP.NET templatecolumn. My question is how to use If...Else to check the "Qty" value?<BR><BR>I try to use:<BR>If Container.DataItem("Qty") &#062; 10 then<BR> Response.Write "Yes,record more than 10"<BR>Else<BR> Response.Write "No,record is not more than 10"<BR>End If<BR><BR>But error page display "Container" is not declaretion.<BR><BR>May I know why? How to solve this problem? Please help ~~~ expert!!!<BR>

  2. #2

    Default RE: Container.DataItem(

    Are you using it with a databinding "tag"?<BR>&#060; % # % &#062;

Posting Permissions

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