多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

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 application has a connection string that is defined as follows:   "Server=DB01;Database=Products Security=SSPI; Asynchronous Processing=true"   Your application contains the following code. (Line numbers are for reference only.)   01 protected void UpdateData(SqlCommand cmd)  02 {  03 cmd.Connection.Open();  04  05 lblResult.Text = "Updating ...";  06 }   The cmd object takes forever to execute. You want to make sure that the application continues to execute while cmd is executing.   What should you do?()

  • A、A
  • B、B
  • C、C
  • D、D
  • E、E
  • F、F
正确答案:D,E
答案解析:
进入题库查看解析

微信扫一扫手机做题