da.FillSchema help

R

rodchar

hey all,
i'm using the fillowing line:
DataTable dt=null;
da.FillSchema(dt,SchemaType.Source);

well, it's pulling in extra columns from another table. anybody have any
ideas?

thanks,
rodchar
 
N

Nicholas Paldino [.NET/C# MVP]

rodchar,

You are going to have to post a complete example which shows the
problem. It would seem, however, that your command for the data adapter is
returning multiple result sets, which would account for multiple tables
(according to the documentation).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top