|
|
|
|
|
|
|
|
|
|
|
|
|
Books |
|
|
|
|
|
|
|
Resources |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Feeds Subscription |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sample for GridView control with Dynamic Asp.Net 2.0 Validation controls |
|
|
This sample demonstrates a GridView control bonded with database contains some dynamic Validation controls. Click on the Edit link to enable various Asp.Net Validation controls such as RequiredFieldValidator, RangeValidator, RegularExpressionValidator, CompareValidator, CustomValidator, along with ValidationSummary control.
FYI: The Update link enables only to validate the input you feed in the controls that appeared in the Edit Mode. It will not update the data you type into the GridView or database.
|
|
|
| Name | Gender | Age | Email | City | |
|
Alex
|
M
|
35
|
alex@yahoo.com
|
Oxford
| Edit |
|
Christiana
|
F
|
39
|
chisbell@southbell.com
|
Chester
| Edit |
|
Flintoff
|
M
|
27
|
flintoff@gmail.com
|
Southside
| Edit |
|
Jeniffer
|
F
|
28
|
jeni007@aol.com
|
Destin
| Edit |
|
Leverlock
|
M
|
30
|
leverlockjj@msn.com
|
Baytown
| Edit |
|
Mark
|
M
|
42
|
markavon@hotmail.com
|
Avon Park
| Edit |
|
|
|
|
Back to Article |
|
|
|
Advertisements |
|
|
|
|
|
|
|