General information
Category:
The Mere Mortals .NET Framework
Title:
Validating input in a GridView
Hello,
I've gone thru the Jump Start - Web Forms Application. After I was done, I tried to improve it a bit, for training purposes.
My problem is the following: I would like to validate what the user can enter when editing the order detail grid view. For now, some validations have been done in the Jump Start, but I have the following problem: When I enter a string (eg: "test") in the ProductId column of the grid for example, I get an exception because this value "test" cannot be converted in integer...
How can I handle that ?
Thanks!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only