update dataset into table

  • Thread starter Thread starter Franko
  • Start date Start date
F

Franko

I have a typed dataset which i populate with data from a webservice. I
can see using the watch window that it has 92 records. however when i
update it back to my database, i cannot see the data in the table.
there is no errors thrown up. what is wrong? here is the code snippet

"Rawdata" is the name of my tablethat i want to update



SqlConn = New SqlConnection(StrConnection)

SqlDtAdapter = New SqlDataAdapter
SqlDtAdapter.t()
SqlDtAdapter.Update(SqlDsObject, "RawData")

Return SqlDsObject
 
If you call DataTable dt = SqlDsObject.GetChanges();

do you have any rows? If so, I'd look to the Update Logic. How are you
doing it? With a CommandBuilder, DataAdapter wizard or rolling your own?
 
Back
Top