MCSD.NET - 70-315 Exam Question:
Download Questions PDF

Suppose You are creating an ASP.NET application for XYZ. An earlier version of the application uses
ActiveX components that are written in Visual Basic 6.0. The new ASP.NET application will
continue to use the ActiveX components.
You want the marshaling of data between your ASP.NET application and the ActiveX
components to occur as quickly as possible.
Which two actions should you take? (Each correct answer presents part of the solution. Choose
two)
A. Use ODBC binding.
B. Use late binding.
C. Use early binding
D. Set the AspCompat attribute of the Page directive to true.
E. Set the AspCompat attribute of the Page directive to false.

Answer:

C. Use early binding
D. Set the AspCompat attribute of the Page directive to true.

Download MCSD.NET - 70-315 Exam Interview Questions And Answers PDF

Previous QuestionNext Question
Suppose You create English, French, and German versions of a test engine ASP.NET application you are
developing for XYZ Inc. You have separate resource files for each language version.
You need to deploy the appropriate resource file based on the language settings of the server.
What should you do?
A. Create an installer and set the Installer.Context property for each version of your application.
B. Create an installer that has a launch condition to verify the locale settings.
C. Create an installer that has a custom action to install only location-specific files.
D. Create an installer that has an MsiConfigureProduct function to install the appropriate version.
You are creating an ASP.NET application to track XYZ sales orders. The application uses an
ADO.NET DataSet object that contains two DataTable objects. One table is named Orders, and
the other table is named OrderDetails. The application displays data from the Orders table in a list
box. You want the order details for an order to be displayed in a grid when a user selects the
order in the list box. You want to modify these objects to enable your code to find all the order
details for the selected order.
What should you do?
A. Add a DataRelation object to the Relations collection of the DataSet object.
B. Use the DataSet.Merge method to connect the Orders table and the OrderDetails table to each
other.
C. Add a ForeignKeyConstraint to the OrderDetails table.
D. Add a keyref constraint to the DataSet schema.