How should you accomplish this goal?

You create Web-based client applications. You are creating a data access component. Several Web user controls will use the component to populate bound controls from a data source. The data source has end-user inputs. You need to ensure that the data source communicates all relevant information to the Web user controls that call your component. How should you accomplish this goal?

You create Web-based client applications. You are creating a data access component. Several Web user controls will use the component to populate bound controls from a data source. The data source has end-user inputs. You need to ensure that the data source communicates all relevant information to the Web user controls that call your component. How should you accomplish this goal?

A.
When the data access component makes a successful call to the data source, raise and throw an exception to the Web user controls to indicate success.

B.
When the data access component makes an unsuccessful call to the data source, raise and throw an exception to the Web user controls to indicate failure.

C.
When the data access component makes a successful call to the data source, raise and throw an exception to the Web page to indicate success.

D.
When the data access component makes an unsuccessful call to the data source, handle it internally by using the data access component to indicate failure.



Leave a Reply 0

Your email address will not be published. Required fields are marked *