I use FirebirdSql.Data.FirebirdClient unit to connect Firebird database.
Error allows in next unit when i trying get id of generator.
My unit where i get id of generator
public int GetId()
FbConnection fbcon = new FbConnection(OpenConnection());
FbCommand getId = new FbCommand();
getId.CommandText = "select GEN_ID(SOMEGENERATOR,1) from RDB$DATABASE";
Error like this:
Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)