two simple questions about dataset

  • Thread starter Thread starter Dan
  • Start date Start date
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
 
Back
Top