Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validating input in a GridView
Message
De
11/01/2007 11:48:08
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Validating input in a GridView
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01184632
Message ID:
01184632
Vues:
59
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform