It's almost time to go back to my spider that I created and make it self sufficient. I need to start populating my search db bigtime. I feel a little nervous because I haven't worked on that part of the project for a while. For the search engine part I am close to having a nice prototype. The last code I entered was:
if(!found)
{
row[i]=term2;
row[i-1]=1;
}
toboAdapter.Update(toboTable);
Showing posts with label DataTable. Show all posts
Showing posts with label DataTable. Show all posts
Wednesday, October 22, 2008
Sunday, October 19, 2008
DataTable woes
For some reason I am unable to update a DataTable.
I've got a foreach(DataRow row in dataTable.Rows)
but if I assign row[whatever]=something;
and go row.AcceptChanges();
the changes don't get applied.
I think I may have to create a row object and do an Update. That's my initial hunch.
It worked in code above the foreach, but it was a little different there.
I've got a foreach(DataRow row in dataTable.Rows)
but if I assign row[whatever]=something;
and go row.AcceptChanges();
the changes don't get applied.
I think I may have to create a row object and do an Update. That's my initial hunch.
It worked in code above the foreach, but it was a little different there.
Subscribe to:
Posts (Atom)