You work as an application developer at Contoso.co...
多选题

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?()

发布日期:2021-01-28

A.A

B.B

C.C

D.D

E.E

F.F

热门试题

热门资讯

    暂无相关推荐~

分享给好友

分享到朋友圈

取消

使用浏览器的分享功能,把这篇文章分享出去

确定