欢迎来到求知题库网 求知题库官网
logo
全部科目 > 微软认证考试 > MCTS > MCTS(70-528)

单项选择题

You are creating a Web Form. The Web Form allows users to rename or delete products in a list. You create a DataTable named dtProducts that is bound to a GridView. DataTable has the following four rows. dtProducts.
Rows(0)("ProductName") = "Soap"dtProducts.
Rows(1)("ProductName") = "Book"dtProducts.
Rows(2)("ProductName") = "Computer"dtProducts.
Rows(3)("ProductName") = "Spoon"dtProducts.
AcceptChanges()
The user utilizes a Web Form to delete the first product. You need to set the RowStateFilter property of the DataTables DefaultView so that only products that have not been deleted are shown. To which value should you set the DataTabless DefaultView.RowStateFilter?()

    A. Data View Row State.Modified Original
    B. Data View Row State.Modified Current
    C. Data View Row State.Current Rows
    D. Data View Row State.Added

点击查看答案&解析

相关考题

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

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

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

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