Torna al Thread

Dim changed As Boolean = False Dim ctrl As Control For Each ctrl In Me.Controls If TypeOf ctrl Is TextBox Then If Not CType(ctrl, TextBox).Text.Equals(CStr("" & ctrl.Tag), StringComparison.InvariantCultureIgnoreCase) Then changed = True Exit For End If ElseIf TypeOf ctrl Is TextBox Then If Not CType(ctrl, CheckBox).Checked.Equals(CBool(ctrl.Tag)) Then changed = True Exit For End If End If Next
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5