可学答题网 > 问答 > MCTS(70-561)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You work as an ap


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 have completed the following code segment. (Line numbers are for reference only.)   01 private void GetRecords(SqlDataAdapter da, DataTable table) {  02  03     try {  04         da.Fill(table);  05     }  06     catch (SqlException exp) {  08     }  09     finally {  10  11     }  12 }  13  You have set the da.SelectCommand.CommandText property to a stored procedure, which declares a variable named @msg. If the stored procedure has a bad shipping address, it will do the following:   1. sets @msg with the id of the record.  2. raises an error for the record.   The raised error can be seen in the following text: RaiseError(@msg, 10,  1). You want to retrieve all records, valid or not; and that a list item is added to the lstResults list box for each invalid record.   What should you do?()

  • AA
  • BB
  • CC
  • DD
  • EE
  • FF
参考答案
参考解析:
分类:MCTS(70-561)题库
相关推荐

1、You work as an ap

You work as an application developer at Certkiller .com. Certkiller .com wants you to develop&e...

2、You work as an ap

You work as an application developer at Certkiller .com. Certkiller .com has asked you to ...

3、You work as an ap

You work as an application developer at Certkiller .com. You have recently created an applicati...

4、You work as an ap

You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and&e...

5、You work as an ap

You work as an application developer at Certkiller .com. Certkiller .com is currently using a&e...

6、You work as an ap

You work as an application developer at Certkiller .com. You have been asked to profile a&...