试题详情
- 多项选择题 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?()
A、A
B、B
C、C
D、D
E、E
F、F
- B,F
关注下方微信公众号,在线模考后查看
热门试题
- YouhaveaservernamedS
- You have a
- You install
- You are a
- Your organization i
- Your company&en
- Your network&e
- You are the network
- You are developing
- You have
- You work
- You work
- 你是 TestKing.co
- 您有一台名为 Compute
- You create a Web Fo
- Your company
- You have a terminal
- You have a file ser
- You are currently i
- 您正在制订备份策略Active̳