How do I dynamically create check boxes and text labels???

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hey guys,

I really appreciate any advice you all can give me. I'm developing a
..NET 2.0 ASP page using VS 2005. This page will display "events". There is a
MAIN event, and "sub" events. I really have no idea how many sub events there
will be. I'll be retrieving the list in a query, and displaying the list
top-down. However, I don't want to create it in a list-box because I will
also be adding a check-box after each one. So basically, I'd like to have
them be dynamically created depending on how many there are. A label, and a
check box, for each one. Although there is no set limit (probably be less
than 10), I don't want to limit myself to that as there might be the
possibility of 100 or so at some point.

Can anyone give me some insight on how I would do this? And more
specifically, how do I define it's space in the page "realestate"?



Thanks!!!

Todd
 
Thanks Mark, I appreciate the response, however... I have to use the CRM SDK
rather than connect to it directly through SQL. So, when I say Query... I
really mean that I'm getting the data from an SDK and not through SQL.


Thanks,

Todd
 
I have to use the CRM SDK rather than connect to it directly through SQL.

Why didn't you say that in the OP...?
So, when I say Query... I really mean that I'm getting the data from an
SDK
and not through SQL.

In what format is the data returned from the SDK, then...?
 
Todd,
This is really an ASP.NET group question, not a C# group question. You are
referring (I hope) to ".NET 2.0 ASP.NET (ASPX) page using VS 2005."
Peter
 
Back
Top