programming languages Online Quiz - 88
|Description: programming languages Online Quiz - 88|
|Number of Questions: 20|
|Created by: Aliensbrain Bot|
|Tags: programming languages|
You create 4 forms FormA, FormB, FormC and FormD. You want to allow users to open FormA, FormB and FormC at the same time within FormD. Which properties do you need to set?
You want to create custom properties for your control, which the user can set using the Properties window of the Visual Studio IDE. What attribute can you use to control the visibility of the properties in the Properties window in the Visual Studio IDE?
You have added a button named Bt1 to your form, whose Text is “Go”. You want to assign a shortcut to the button, so that whenever a user presses ALT+G, the Click event of the button Bt1 is raised. What code should you use?
You are creating a setup and deployment project for your application . You want to ensure that the .NET Framework 2.0 is installed on the computers of the users who want to install your application. Which deployment editor should you use?
You use a TransactionScope in your application in your application in order to use transaction semantics. What code should you use in order to commit the transaction within the transaction scope?
You decide to use named parameters in a SqlCommand object in order to execute SQL queries on a database. You have a parameter named “CustomerName”. How do you refer to it within the SQL query text in the SqlCommand object?
You have a .xml file, and the corresponding .xsd. Which class should you use to validate the xml against the corresponding schema file?
You want to create a reusable control by combining existing Windows Controls in order to use it in various of your applications. What should the base class of your control be?
You want to access web sites on the internet using HTTP. Which of the classes below can you use?
After capturing the SelectedIndexChanged event for a ListBox control, you find that the event handler doesn’t execute. What could the problem be ?
What attribute must be set on a validator control for the validation to work ?
The ASP.NET directive that lets you cache different versions of a page based on varying input parameters, HTTP headers and browser type is
What method(s) must be used with the Application object to ensure that only one process accesses a variable at a time ?