D
Daves
trying to get a boolean value from DataReader (that is, result from a SQL
query);
boolean MyBool = MyDataReader.GetBoolean(3);
well it works using that number 3 but of course I would like to do something
like
... = MyDataReader.GetBoolean["IsLocked"];
since I don't always know the field number of the IsLocked field. Why is
this so complicated and what is the best solution??
query);
boolean MyBool = MyDataReader.GetBoolean(3);
well it works using that number 3 but of course I would like to do something
like
... = MyDataReader.GetBoolean["IsLocked"];
since I don't always know the field number of the IsLocked field. Why is
this so complicated and what is the best solution??