Hi guys

i'm currently working on a project and i was thinking if there's any way i can import the rows and columns the user needs on the next page

to make it clearer,
on page1, the user would be asked for the numbers of rows and/or columns they need.
then on page2, the numbers of rows and/or columns would appear according to the numbers they typed on page1.

i like to know how to get the rows and columns for the page2.

thank you! :D

Grid1.Rows.Add("item");

basically one way is to run a for loop and do it that way. the otehr is if its something that has items in it use the foreach() method.

Grid1.Rows.Add("item");

basically one way is to run a for loop and do it that way. the otehr is if its something that has items in it use the foreach() method.

Hi!
Tks for your suggestion. I managed to get the rows and columns.
Now i like to put the textboxes & labels in the rows and columns. Any idea how?
Tks for the help! :D

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.