two simple questions about dataset

D

Dan

Hi,

1) In the code below, when i do:
d.Fill(ds,"anything")
it works just as:
d.fill(ds)
Why?

2)
What do i get with: x = d.Fill(ds) ?
(actually, i get 39, but this is not the amount of records)


The code:
d = New OleDbDataAdapter(sql, sConnectionString)
ds = New DataSet()
a = New GridView
d.Fill(ds)
Dim x As Integer
x = d.Fill(ds)

Thanks
 

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