C validating textbox input

05 Oct

This will display the template designer for the column as shown in Figure 6.

c validating textbox input-81c validating textbox input-54

On the next step select Customer ID, Company Name, Contact Name and Country columns (Figure 2).

It will allow the user to include or omit the currency symbol in the data, reformatting the text correctly when the control loses focus regardless.

NET 2.0 Grid View control allows us to quickly edit and delete records. Drag and drop an SQL Data Source control on the web form.

As I mentioned before, information is passed to the validation function in the event object, and in the code we see that the member ‘value’ is used to communicate the current value of the field.

The member ‘rc’ (or return code) is used to communicate back if the validation was successful or not.