Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validating input in a GridView
Message
From
11/01/2007 11:48:08
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Validating input in a GridView
Environment versions
Environment:
VB 8.0
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01184632
Message ID:
01184632
Views:
58
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
Map
View

Click here to load this message in the networking platform