C
Clay Beatty
OK, I am a .Net newbie... and I'm sure that if I spend the next two
weeks pouring through MSDN articles, I will find the answer... But...
I'm sure that this is done all the time, and so I'm sure the answer
could be found here much more quickly
I have a page, whose load event will execute a database query. Based
on the number of rows returned from that query, I would like
instantiate a new UserControl for each and every row. I would like to
place those user controls into a dynamically generated HTML table, and
also I would like to set the properties of each control based on the
contents of the applicable row in the result set.
Problem is, I don't have clue as to how to start this... I have
searched these news groups, and found referneces to placeholder and to
the LoadControl function... but I haven't seen a case close to the
one I described above.
The simplest code sample would be greatly appreciated.... Thank you in
afvance
Clay Beatty
weeks pouring through MSDN articles, I will find the answer... But...
I'm sure that this is done all the time, and so I'm sure the answer
could be found here much more quickly
I have a page, whose load event will execute a database query. Based
on the number of rows returned from that query, I would like
instantiate a new UserControl for each and every row. I would like to
place those user controls into a dynamically generated HTML table, and
also I would like to set the properties of each control based on the
contents of the applicable row in the result set.
Problem is, I don't have clue as to how to start this... I have
searched these news groups, and found referneces to placeholder and to
the LoadControl function... but I haven't seen a case close to the
one I described above.
The simplest code sample would be greatly appreciated.... Thank you in
afvance
Clay Beatty