Home  About Us   Contact  Search   Tell A Friend   Resources  dotnetVideos Store Register  Login  
  January 6, 2009  
telerik_dec08_sky1
DeclarativeParms3    

Declarative Parameters:Step 3-Showing All Suppliers by Default

Declarative Parameters: Step 3-Showing All Suppliers by Default
This step of the VIDEO TUTORIAL will demonstrate on how to show all the suppliers by default at runtime on the web page DelcarativeParms.aspx. In order to accomplish this, a check has to be made for null value in the business logic layer method GetSuppliersByCountry(string country). If the country parameter is NULL that means, the user has entered no value and clicked on ‘Show Suppliers’ button on the web page at run time. This triggers the button’s click event and passes a NULL value as parameter to the GetSuppliersByCountry method of business logic layer. In this method, we have to verify this value, if it is NULL, we have to invoke GetSuppliers( ) method instead of GetSuppliersByCountry method which expects a string value (country) as a parameter. Therefore, we display all the suppliers by default by modifying the GetSuppliersByCountry method in the SuppliersBLL class file.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