|
-
Feb 8th, 2010, 07:32 AM
#1
Thread Starter
Member
[RESOLVED] Argument Exception was unhandled
Having created a database and testing it I get the following error message,
ARGUMENT EXCEPTION WAS UNHANDLED
Public Class Form1
Private Sub AddressBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddressBindingNavigatorSaveItem.Click
Me.Validate()
Me.AddressBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.ThePhoneBookDataSet)
End Sub
The line
Me.AddressBindingSource.EndEdit()
being highlighted.
My action during the test was to fill in a field, save it then changed the information within, only to get the above message.
Whats gone wrong
prme
-
Feb 8th, 2010, 10:32 AM
#2
Re: Argument Exception was unhandled
The exception dialog that appears in visual studio when you do not handle an exception gives you more information than just the type of exception (in this case ArgumentException) - it should tell you exactly which argument and why it caused a problem. What else does it say?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|