![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have an error when I try to delete last record in the record set. The code I'm using is: lcurrow = Me.BindingContext(DsTextProdMain, "TextProductsMain").Current lcurrow.Delete() This code works for all records in the recordset except last one. But if recordset contains only one record the code works fine. The error is coming out only in 2003 version, 2002 version works fine. I'm using ADO.net The system give me a not understandable error. An unhandled exception of type 'System.NullReferenceException' occurred in system.data.dll Additional information: Object reference not set to an instance of an object. Has somebody met this behabior? |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |