DeletedRowInaccessibleException using BBS/DataGridView


Author
Message
Keith Chisarik
Keith Chisarik
StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)StrataFrame VIP (1.6K reputation)
Group: StrataFrame Users
Posts: 939, Visits: 40K
Scenario:

Simple table with a BO on a form, one SF BBS with that BO as its object, a native .NET datagridveiw using the BBS as the datasource. When I delete a record I get a DeletedRowInaccessibleException and cant figure out how to avoid it. The error occurs accessing the field property for the first field SHOWN in the datagrid. 'ShowDeletedRecords' is left off.

I am thinking I am missing something simple since I just want to delete, I dont often use BBS control, so pardon if a simple answer.

ystem.Data.DeletedRowInaccessibleException was unhandled by user code
  Message="Deleted row information cannot be accessed through the row."
  Source="System.Data"
  StackTrace:
       at System.Data.DataRow.GetDefaultRecord()
       at System.Data.DataRow.get_Item(String columnName)
       at SDSI_Licensing_BOLIB.BO_licenses.get_lic_product() in C:\SVN WORKING DIRECTORY\SDSI_Licensing\SDSI_Licensing_BOLIB\BO_licenses.Designer.vb:line 293
       at SDSI_Licensing_BOLIB.BO_licenses.Field_lic_product_Descriptor.GetValue(Object component) in C:\SVN WORKING DIRECTORY\SDSI_Licensing\SDSI_Licensing_BOLIB\BO_licenses.Designer.vb:line 667
       at System.Windows.Forms.BindToObject.GetValue()
       at System.Windows.Forms.Binding.PushData(Boolean force)
  InnerException:


Keith Chisarik

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search