So your DataTable doesn't have a new row or you don't get a new row in the database?
This should show a number 1 higher than before because you're adding it to the DataTable. If you're wanting the record to show up in the database you're going to need to call Update on your DataAdapter.Code:dt.Rows.Add(dsNewRow) cnt = dt.Rows.Count()



LinkBack URL
About LinkBacks




Reply With Quote

Bookmarks