Net gridview rowupdating Nude chating without registration
Set the Control To Validate and Error message properties to the appropriate values. Up till now we used the validation controls to validate Grid View input on client and server side.
On the first step of the wizard click on "New Connection" button to open a dialog as shown in Figure 1.This will convert them from Bound Field to Template Field.Now from the smart tag of the Grid View choose "Edit Template" and then select "Edit Item Template" of Company Name column.Inside the event handler we added two validation conditions: We used the New Values collection to check the entered country.If the country is null then we set Cancel property of Grid View Update Event Args class to true.
Set the Control To Validate property of Required Field Validator control to Text Box1 (i.e. Also, set its Error Message property to "Please enter company name".