Common errors for an IF judgment condition

xiaoxiao2021-03-06  63

We read a record from the database, judge the content of this record, when we want to check if it is empty:

MyDataReader.read ();

IF (MyDataReader [2] .toString () == "" "

{.......}

Else

{.......} ............................ Correct

IF (MyDataReader [2] .tostring () == NULL) .............................................

转载请注明原文地址:https://www.9cbs.com/read-119164.html

New Post(0)