wisemx
03-15-2008, 01:34 AM
Hi,
May I suggest you head over the the http://asp.net site and watch a few of the Learning videos?
There are a bunch of things wrong with the code you have posted.
Seems you may have done some classic ASP coding, and it's bad practice in ASP.NET pages.
You need to build your dynamic values in subs, then place those values where you want them.
Many of the ASP.NET 2.0 controls will do most of this work for you.
You can use templates, expressions, literals, etc., to place your values once they're generated.
By the way, besides using old school methods your ListItem line also has a typo in it. http://community.discountasp.net/emoticons/wink.gif
Salute,
Mark
May I suggest you head over the the http://asp.net site and watch a few of the Learning videos?
There are a bunch of things wrong with the code you have posted.
Seems you may have done some classic ASP coding, and it's bad practice in ASP.NET pages.
You need to build your dynamic values in subs, then place those values where you want them.
Many of the ASP.NET 2.0 controls will do most of this work for you.
You can use templates, expressions, literals, etc., to place your values once they're generated.
By the way, besides using old school methods your ListItem line also has a typo in it. http://community.discountasp.net/emoticons/wink.gif
Salute,
Mark