RE: When to use DataAdapter's FillSchema?

From: Wayne Froese (WayneFroese_at_discussions.microsoft.com)
Date: 08/24/04


Date: Tue, 24 Aug 2004 07:45:02 -0700

I've used the FillSchema when I want the Dataset to look like the *real* data
but I don't actually need the data. For example, you can get an empty Table
that would match your database.

"Peter" wrote:

> Hello,
>
> Thanks for reviewing my question. I am sure this is a simple one. When
> would you want to use the DataAdapter's FillSchema method? What am I missing
> out when I just use the Fill method? I created a form using two DataAdapters
> and one Dataset that contains two tables. There is also a relationship
> between the two. Is this the appropriate time to use FillSchema before
> calling the Fill method?
>
> Many Thanks
> Peter