欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > 微软认证考试 > MCTS > MCTS(70-561)

多项选择题

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

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题