smalloy
Posts: 107
|
| Posted: 05/26/2005, 8:46 AM |
|
Just wondering how when using the object.Errors.AddError ASP maintains the user's entered data on the form when an error is encountered. If the server is processing the validation I would think that the page would return with empty fields along with the error message.
Just a question I have in trying to gain a broader understating of how ASP works.
_________________
Anything can be done, just give me time and money. |
 |
 |
Nicole
Posts: 586
|
| Posted: 05/27/2005, 1:46 AM |
|
Hello,
I try to provide some explanation about how record (and editable grid) forms work. When form is submitted all values from input controls are passed from it. Then in a code all of them are retrieved and stored , then validated. So if validation error occurs stored values are assigned to controls and form is displayed with error message. If validation is passed successfully stored values are passed to SQL queries which are to be executed.
You can look at generated code of any Record form to see it.
_________________
Regards,
Nicole |
 |
 |
|