I am trying to use tne .Net provider 2.1.0 with Firebird 2.0.3 and Visual Studio 2008. I am unable to get the data from a query to display in a DataGridView component. I have placed an FbConnection, FbCommand, FBDataAdapter and DataSet component on the form. The FbConnection parameters are correct because I can successfully connect to the database. The FbCommand contains 'SELECT * FROM CT_STATE'. The FbDataAdapter references the FbCommand as it SelectCommand. The DataGridView references the DataSet as its DataSource. In code I put the following:
FbConnection.Open() FbDataAdapter.FillSchema(DataSet, Mapped) FBDataAdapter.Fill(DataSet) DataGridView.DataMember = "Table" Everything executes without error but nothing appears in the grid. What am I doing wrong. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider