From: Pavol S. <pa...@st...> - 2003-02-04 13:41:27
|
hi, i have question: what object is result of fbCommand.ExecuteScalar()??? directly how to cast this??? string genQuery = "SELECT GEN_ID(GENARTICLEID, 1) FROM RDB$DATABASE"; FbCommand dbCmd2 = new FbCommand(genQuery, dbConn, dbTran); int fID = dbCmd2.ExecuteScalar(); <- ?????? cast to (int) is not working p. |