Home  About Us   Contact  Search   Tell A Friend   Resources  dotnetVideos Store Register  Login  
  January 5, 2009  
telerik_dec08_sk2
ExamEventsInsertUpdateDelete2    

Examining the Events Associated with Inserting, Updating, and Deleting:Step 2: Prohibiting NULL UnitPrices

Examining the Events Associated with Inserting, Updating, and Deleting:
Step 2: Prohibiting NULL UnitPrices
This step of the VIDEO TUTORIAL will show case on how to implement a business rule during the updating process using a GridView control on the web page. In this case, the business rule states that the UnitPrice field can NOT be null in the underlying database table. Therefore, in order to enforce this business rule during the update process, the user must be alerted with a friendly error or alert message indicating the business rule. This alerting of an end user is accomplished by inspecting the UnitPrice value in the GridView’s RowUpdating event handler and alerting the end user by making the warning message to be visible. In addition, the update process is also cancelled by setting the GridViewUpdateEventArgs’s Cancel attribute to false. For detailed information and source code for this step, please refer to the original article.



 

This video presentation is available ONLY for REGISTERED users of this web site due to significant costs associated with data transfer of multimedia content.  Please register to view this video. Registration is FREE of charge and takes less than a minute to complete. Thanks for your consideration.

---Administrator

telerik_dec08_target_sky1
  Copyright 2008 by dotnetvideos.net   Terms Of Use | Privacy Statement