替换一个:
Dim dr As DataRow = DataTables("UserPower").Find("UserID = 'ADMIN'") If dr IsNot Nothing Then dr("Enabled")="1" End If
替换所有符合条件的:
DataTables("UserPower").PeplaceFor("Enabled", 1, "UserID = 'ADMIN'")