Add the following parameter to the connection string: Integrated Security=true; PersistSecurityInfo=true;
Add the following parameter to the connection string: Integrated Security=SSPI;
Add the following parameter to the connection string: Integrated Security=SSPI; PersistSecurityInfo=yes;
Add the following parameter to the connection string: Integrated Security=true;
第1题:
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. You want to make sure that the application is operative to any type of database. What should you do?()
第2题:
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. The Contoso.com network contains a Microsoft SQL Server 2005 server named DB01. Your application retrieve records from a database named Trades that resides on DB01. The application connects to Trades by using an instance of the SqlConnection class with the following connection string. "Data Source=DB01;UID=’mhamm’;PWD=’password’;" When the application calls the Open method of the SqlConnection object, it displays the following: "Cannot open user default database. Login failed. Login failed for user ’mhamm’". You need to make sure that you can connect to Trades when the user account for the connection is mhamm. What should you do? ()
第3题:
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. The database on the Microsoft SQL Server 2005 database has two tables that are displayed by using two SqlConnection objects in two different GridView controls. You want the tables to be displayed at the same time with the use a single SqlConnection object. What should you do?()
第4题:
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You use the ClickOnce deployment methodology to distribute the application. You need to store application-specific data along with read/write permissions without requiring elevated permissions for the application. Where should you store the application data?()
第5题:
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You create a Web page to display photos and captions. The caption of each photo in the database can be modified by using the application. You write the following code fragment:
第6题:
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application contains a DataSourceControl named CategoriesDataSource that is bound to a Microsoft SQL Server 2005 table. The CategoryName column is the primary key of the table. You write the following code fragment in a FormView control: 01 02
第7题:
ObjContext.SaveChanges(SaveOptions.DetectChangesBeforeSave);
ObjContext.SaveChanges(SaveOptions.AcceptAllChangesAfterSave);
ObjContext.SaveChanges(SaveOptions.All);
ObjContext.SaveChanges(SaveOptions.None);
第8题:
Add the following parameter to the connection string: Integrated Security=true; PersistSecurityInfo=true;
Add the following parameter to the connection string: Integrated Security=SSPI;
Add the following parameter to the connection string: Integrated Security=SSPI; PersistSecurityInfo=yes;
Add the following parameter to the connection string: Integrated Security=true;
第9题:
Remove all clustered indexes from the database.
Remove all dependencies on the Microsoft Distributed Transaction Coordinator (MSDTC) from the application.
Use SSL and SQL authentication to connect to the database.
Use SSL and Windows authentication to connect to the database.
第10题:
Add the connection string to the Settings.settings file.
Add connection string to the Web.config file and use protected configuration.
Use the TRUE setting in the Persist Security Info keyword.
Use the FALSE setting in the Persist Security Info keyword
第11题:
SelectedValue='<%# Eval(CategoryID) %>'
SelectedValue='<%# Bind(CategoryID) %>'
SelectedValue='<%# Eval(CategoryName) %>'
SelectedValue='<%# Bind(CategoryName) %>'
第12题:
Frame
Slider
Viewbox
ScrollViewer
第13题:
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application uses Session objects. You are modifying the application to run on a Web farm. You need to ensure that the application can access the Session objects from all the servers in the Web farm. You also need to ensure that when any server in the Web farm restarts or stops responding, the Session objects are not lost. What should you do?()
第14题:
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application that will connect to the Microsoft SQL Server 2005 database. You want to use Windows Authentication along with the Microsoft OLE DB provider. You now need to make sure that the OLE DB connection is as secure as possible. What should you do?()
第15题:
You are planning the migration of an existing application to Windows Azure and SQL Azure. The original application includes a Microsoft SQL Server 2008 database. You need to recommend an approach for ensuring that the database migrates successfully toSQL Azure. Which two actions should you recommend?()
第16题:
You create Windows Forms applications by using the .NET Framework 3.5. You plan to use a setup project to deploy a new Windows Forms application.The application uses a component that requires the Microsoft NET Framework 1.1.You need to create a launch condition so that the application can be deployed on client computers. What should you do?()
第17题:
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application resides on a server named ContosoTest that runs Microsoft IIS 5.0. You use a computer named ContosoDev to log on to the Contoso.com domain with an account named ContosoUser. The ContosoTest and ContosoDev servers are members of the Contoso.com domain. You need to set up the appropriate permission for remote debugging. What should you do?()
第18题:
Edit the ASP.NET runtime version in IIS 6.0.
Edit the System.Web section handler version number in the machine.config file.
Add the requiredRuntime configuration element to the Web.config file and set the version attribute to v3.5.
Add the supportedRuntime configuration element in the Web.config file and set the version attribute to v3.5.
第19题:
Use SQL Azure Data Sync.
Use the Microsoft Sync Framework.
Use Windows Azure Blobstorage snapshots.
Use the Microsoft SQL Server replication component.
第20题:
In isolated storage.
On the database server.
In the ClickOnce data directory.
In the App.config file of the application.
第21题:
Set the database driver name in the connection string of the application, and then the connection object as follows: DbConnection connection = new OdbcConnection(connectionString);
Create the connection object as follows: DbProviderFactory factoryDbProviderFactories.GetFactory(databaseProviderName); DbConnection connection =factory.CreateConnection();
Create the connection object as follows: DbProviderFactory factory = DbProviderFactories.GetFactory(System.Data.Odbc); DbConnection connection = factory.CreateConnection();
Set the database driver name in the connection string of the application, and then the connection object as follows:DbConnection connection = new OleDbConnection(connectionString);
第22题:
Create a bound connection by using the sp_getbindtoken and the sp_bindsession stored procedures.
Create an exception handler for the connection-busy exception that is thrown on using a single SqlConnection object.
Run the two SqlDataReader objects by using a single SqlCommand object.
Enable Multiple Active Result Sets (MARS) in the connection string of the application.
第23题:
Set the Remote Debugging Monitor to use Windows Authentication.
Add the ContosoUser account to the domain Administrators group.
Add the ContosoUser account to the local Administrators group on the ContosoTest server.
Change the ASP.NET worker process on the ContosoTest server to run as the local Administrator account.
第24题:
Change the connection string as follows:Data Source=DB01;Initial Catalog=Trades;UID=mhamm; PWD=password;
Create a login for Mia Hamm on DB01.
Create a database user object in Trades and map the object to the SQL Server 2005 Login of Mia Hamm.
Change the connection string as follows:Server=DB01;Database=Trades;UID=mhamm;PWD=password;