Seems like a datalist would be in order :) http://authors.aspalliance.com/aspxtreme/sys/web/ui/webcontrols/repeatdirectionclass.aspx
You can also use a string builder / build the string serverside then just output it. ----- Original Message ----- From: "christopher andrada" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, February 22, 2005 7:07 PM 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 > > > > > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.859 / Virus Database: 585 - Release Date: 2/14/2005 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/
