Mar 02
'clean up any previous data if present
'start with the checkboxes
Dim tblControl As HtmlTable = CType(checkBoxes.Controls(0), HtmlTable)
For Each control As System.Web.UI.Control In tblControl.Controls
If (TypeOf control Is System.Web.UI.HtmlControls.HtmlTableRow) Then
For Each rowControl As System.Web.UI.Control In control.Controls
If (TypeOf rowControl Is System.Web.UI.HtmlControls.HtmlTableCell) Then
For Each cellControl As System.Web.UI.Control In rowControl.Controls
If (TypeOf cellControl Is System.Web.UI.WebControls.CheckBox) Then
Dim chkBox As System.Web.UI.WebControls.CheckBox = CType(cellControl, System.Web.UI.WebControls.CheckBox)
chkBox.Checked = False
End If
Next
End If
Next
End If
Next
3 Responses to “Legacy ASP.NET == typeof(Satan)”
Leave a Reply
You must be logged in to post a comment.



June 10th, 2010 at 4:12 am
Please e-mail me your contacts. I have a question webmaster@spottovo.ru” rel=”nofollow”>……
Thank you!!!…
July 3rd, 2010 at 9:59 pm
Buy:Zithromax.Propecia.Levitra.Cialis Soft Tabs.Viagra.Viagra Professional.VPXL.Viagra Super Force.Viagra Soft Tabs.Soma.Maxaman.Cialis.Cialis Professional.Viagra Super Active+.Super Active ED Pack.Cialis Super Active+.Tramadol….
July 21st, 2010 at 11:47 am
Buy:Amoxicillin.Ventolin.Zocor.Female Cialis.Prozac.Lipitor.Acomplia.Zetia.Lasix.Aricept.Nymphomax.Female Pink Viagra.SleepWell.Lipothin.Benicar.Seroquel.Buspar.Wellbutrin SR.Cozaar.Advair….