> ich lade eine Checkbox per loadControl in PageLoad:
>
> For i As Integer = 0 To .Rows.Count - 1
> Dim x As New CheckBox
> x.Text = .Rows(i)("Label")
> x.ID = "Region_" & .Rows(i)("RegionID")
> Me.Controls.Add(x)
> Next
>
Na ja, genauso:
Foreach(Control c in this.Controls)
{
if(c is checkBox)
{
if(c.checked == true)
{
//mach was..
}
}
}
Gruß,
Reinhold
_______________________________________________
Asp.net Mailingliste, Postings senden an:
[email protected]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net