Hi friends

I am designing a questionnaire where at one particular page i need to ask the user "Number of projects"

Based on the number provided and when he clicks next, he should get the table with rows equal to the number provided. The columns will be fixed .

Can anyone help me to achieve this pls

What do you have so far?

I'm not gone give you code just idea how to go about it

1st get the number from user
2nd simple for loop will do it for you

for example 4 rows with html tag td

for( int i = 0; i <= 4; i++)
{
<td> empty/with text</td>
}

Be aware I did not include it exact coding, this just kind of pseudo code

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.