![]() |
| | #1 |
| Registered User Join Date: Nov 2007
Posts: 14
| ASP.NET question (looping inside a table) but i have a problem making a ASP.NET website using C# i have a SqlConnection in C#, and i want to make a table using the data from that connection, (i know php) so i created a table and inside that table i wrote Code: <% for (int i = 1; i < 10;i++)
{ %>
asp html script for row and cell comes here
then - <% data to import from the connection using "i" as reference %>
close row
then ending the for loop - <% } %>
so if i cant use code - how can i insert data from tables or datatables into the table rows? (that's how it's done in php.....) Thanks Roy |
| Rainbowinblack is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Frames in ASP.net Web Form (I'm using Visual C# .net) | Grayson_Peddie | Networking/Device Communication | 0 | 09-20-2003 01:57 PM |
| HELP:Hasing Table | Amber_liam | C++ Programming | 2 | 06-20-2002 04:25 AM |
| what does this warningmean??? | kreyes | C Programming | 5 | 03-04-2002 07:53 AM |
| C++ looping question | deepthought | C++ Programming | 2 | 11-18-2001 01:33 PM |
| just a question this time | korbitz | C Programming | 13 | 11-18-2001 06:21 AM |