angel7170
asked on
Datatable Null Exception
Hello,
I'm creating a Windows application using Access database as the backend.
What I want to achieve is to search for an record in the database using a datagridview and update the table.
I have button for "Update", but it's throwing an Nullexception error. My database table does have null values in it.
Private dt as dataset = nothing
Dim dt As DataTable = ds.Tables("TBL_ASSETS")
Me.TBL_ASSETSDataGridView. BindingCon text(dt).E ndCurrentE dit()
Me.TBL_ASSETSDataGridView. Update()
Can someone please assist?
Thank you
I'm creating a Windows application using Access database as the backend.
What I want to achieve is to search for an record in the database using a datagridview and update the table.
I have button for "Update", but it's throwing an Nullexception error. My database table does have null values in it.
Private dt as dataset = nothing
Dim dt As DataTable = ds.Tables("TBL_ASSETS")
Me.TBL_ASSETSDataGridView.
Me.TBL_ASSETSDataGridView.
Can someone please assist?
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.