![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm asp.net newbie and converting a old classic asp system, and on classic asp we had: table % While rs.eof % tr % For I = 1 To 3 'we'll have 3 columns, etc... % td></td % Next % /tr % rs.Next Loop etc % What is equivalent on asp.net? it would be GridView? Is possible to control dynamically the quantity of columns wich the table will have? because on asp we have total control over how the html will be produced, with the tags <% %> inside the <table><tds><trs> etc... Not a easy task converting to asp.net, dont you think ? Thanks a lot! |
#3
| |||
| |||
|
|
Yup, GridView. And you would bind a DataTable from a DataSet to it in one line of code. -- Peter Site: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com MetaFinder: http://www.blogmetafinder.com "Paulo" wrote: Hi, I'm asp.net newbie and converting a old classic asp system, and on classic asp we had: table % While rs.eof % tr % For I = 1 To 3 'we'll have 3 columns, etc... % td></td % Next % /tr % rs.Next Loop etc % What is equivalent on asp.net? it would be GridView? Is possible to control dynamically the quantity of columns wich the table will have? because on asp we have total control over how the html will be produced, with the tags <% %> inside the <table><tds><trs> etc... Not a easy task converting to asp.net, dont you think ? Thanks a lot! |
#4
| |||
| |||
|
|
And you can easily control what columns you want to display and what order you want to see them in. "Peter Bromberg [C# MVP]" <pbromberg (AT) yahoo (DOT) NoSpamMaam.com> wrote in message news:7190E1E9-997A-41B3-B922-6264B5684DAE (AT) microsoft (DOT) com... Yup, GridView. And you would bind a DataTable from a DataSet to it in one line of code. -- Peter Site: http://www.eggheadcafe.com UnBlog: http://petesbloggerama.blogspot.com MetaFinder: http://www.blogmetafinder.com "Paulo" wrote: Hi, I'm asp.net newbie and converting a old classic asp system, and on classic asp we had: table % While rs.eof % tr % For I = 1 To 3 'we'll have 3 columns, etc... % td></td % Next % /tr % rs.Next Loop etc % What is equivalent on asp.net? it would be GridView? Is possible to control dynamically the quantity of columns wich the table will have? because on asp we have total control over how the html will be produced, with the tags <% %> inside the <table><tds><trs> etc... Not a easy task converting to asp.net, dont you think ? Thanks a lot! |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |