jj 17.02.2016 firstOrDefault statt singleOrDefault
This commit is contained in:
parent
f090b6604e
commit
92df4e0048
@ -161,7 +161,7 @@ Public Class ClassControlValues
|
||||
' Wert per LINQ aus DT_ControlValues suchen der zur aktuellen controlId passt
|
||||
Dim value = (From row In DT_ControlValues.AsEnumerable()
|
||||
Where row.Item("CONTROL_ID") = ControlId
|
||||
Select row.Item("VALUE")).SingleOrDefault()
|
||||
Select row.Item("VALUE")).FirstOrDefault()
|
||||
|
||||
If TypeOf control Is GroupBox Then
|
||||
Dim groupbox As GroupBox = DirectCast(control, GroupBox)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user