Reading Database Values

<< Click to Display Table of Contents >>

Navigation:  Databases >

Reading Database Values

The simplest way to read the current value of a database row is by calling the GetValue method of a BncsDatabase object obtained by calling either AddDatabase or GetDatabase on the BncsFramework static.

 

The BncsFramework static also provides a GetDatabaseValue method for directly accessing the value of a database row without first obtaining a BncsDatabase object.  Note, however, that this will return a null value if the database has not been initialized or if the row is not found.