你这是什么写法……
Dim rows() As DataRow = ds.Tables(0).Select("UserID='001'")If (rows.Length > 0) Then REM balabalabala End If