In rowupdating event article on online dating 2016
NET Architecture MVP (Microsoft Most Valuable Professional) works as an Architect Consultant and provides consultancy on how to design and develop Web applications.Suprotim is also the founder and primary contributor to Dev Curry, Dot Net Curry and SQLServer Curry.Next, drag and drop a Required Field Validation control below the Text Box.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".
Enter the database details as per your setup and click on OK.
You can not attach validation controls directly to these Text Boxes.
We need to convert these Bound Fields to Template Fields.
Then in the code behind I have handled the On Row Command event.
In the event handler function I have checked for the Command Name property and write necessary code for each of the actions.