What does this sign (!) mean? Exemple
If dt.Rows.Count > 0 Then
Dim dr As DataRow
dr = dt.Rows(0)
Form_main.p1.Enabled = dr!p1
Close()
End If
It accesses the indexer of the object's type. In your case dr!p1 is short for dr("p1").
You have to consider whether the confusion caused by this unusual syntax is worth the 3 keystrokes you save.