|
-
Nov 21st, 2003, 01:22 AM
#1
Thread Starter
Addicted Member
Datagrid / DataTable Query
Hi guys,
I'm having a bit of a headache with validating fields in a datagrid/table.
I am able to get the row fine and perform all the right checks.
(Using the datatable RowChanging event) I throw an exception as the documentation tells me too. (When I decide the data is invalid)
What happens however, is that .Net displays a message box saying that there is an error commiting to the row to the original datastore and do I wish to continue. (Yes/No) Both these options cancel the update.
My problem is that I do not want this messagebox being displayed to the user, but I cannot see how to stop it. I know I'm probably missing something pretty obvious Anyone want to tell me how to resolve this?
Cheers
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
|