Yeah I sorta have the same question about variables. You used to be able to
make on variable and have that be displayed anywhere in a page like
<%=strUsername %> could be put any number of times in a page and display the
value of that variable. Now instead I make a literal for  each time it is
used. If that 20 times in a page then that's 20 literals............ 

-----Original Message-----
From: christopher andrada [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 22, 2005 1:07 PM
To: [email protected]
Subject: [AspNetAnyQuestionIsOk] Can ASP.net code be written everywhere in
the document?


Hi All,

I'm facing a problem in translating our ASP classic to
ASP.net.  I'm having problem with 4 x 4 picture
gallery.  I can display the photos without a problem. 
However, if I have to put some graphics or divider in
between image using "repeat" then i get stuck.

for example in our classic asp code,

if i mod 4 = 1 then
  response.write "<td></td><td></td></tr>
end if
if i mode 4 = 2 then
.
.
.
.

How can I do the same in ASP.net.  I would really
appreciate every help I can get.  Thank you very much.

Chris

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


 
Yahoo! Groups Links



 







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to