SqlDataAdapter.Fill

  • Thread starter Thread starter Jerry S
  • Start date Start date
J

Jerry S

I want to know how the method Fill of the SqlDataAdapter
is actually programmed.

ie.

SqlDataAdapter da = new SqlDataAdapter();
DataSet ds = new DataSet();
da.Fill(ds);

without using a ref or anything else i can pass ds to the
Fill method and voila...wow, i have data in ds.

i've tried unsuccessfully to replicate this behavior...any
ideas?

Thanks,
Jerry S.
TvRatings.Com
 
Hi Jerry,
Yeah try to work with DataAdapter.
just retrieve data and try to write in an xml file or string.
SqlDataAdapeter has a method GetName using it you can develop your own DataSet.
Retrieve data fwrite an xsl file or string.
And using XMLReader read the file or string.

Thanx
 

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

Back
Top