Re: FillSchema()
Posted by: Leon van der Ree
Date: September 04, 2006 04:40PM

Some more problems with FillSchema.

When you prepared a datatable (from a dataset) with dataadapter.FillSchema it isn't possible to load data in it anymore.

So:
da.FillSchema(dataSet, SchemaType.Source, tableToLoad);
da.Fill(dataSet, tableToLoad);

I end up with a dataTable in the dataSet with a stucture, but which is empty. So when I set the DataGridView.DataSource to this table I only see all my column names.

But when I only enter:
da.Fill(dataSet, tableToLoad);
So without the FillSchema.
And now everything works out fine.

But I really want to use the FillSchema method.

Please tell me if I should enter bug reports.
I'm looking forward to the beta, with hopefully solved bugs, or answers to let my problem disappear.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.