The BindingSource object stores the position of the record pointer in the object's ____ property.
A. PlaceHolder
B. RecordPosition
C. RecordPointer
D. Position
Answer: D
You might also like to view...
Which of the following correctly represents the expression a = a + 3?
a) 3a b) a += 3 c) a + 3 d) None of the above.
Suppose you would like your code to perform several tasks: Use a For…Next loop with an InputBox to prompt the user four times for the price of four different T-shirts, then display each shirt price with a 25% discount in the ListBox lstResult. Which of the following code segments correctly performs these tasks?
a. ```Dim intIndex As Integer Dim sngPrice, sngDiscountPrice As Single For intIndex = 1 To 4 sngPrice = CSng(InputBox("Enter price of shirt " & intIndex.ToString)) sngDiscountPrice = sngPrice * 0.75 lstResult.Items.Add(sngDiscountPrice) Next ``` b. ```Dim intIndex As Integer Dim sngPrice, sngDiscountPrice As Single For intIndex = 0 To 4 sngPrice = CSng(InputBox("Enter price of shirt " & intIndex.ToString)) sngDiscountPrice = sngPrice - (.75 * sngPrice) Next lstResult.Items.Add(sngDiscountPrice) ``` c. ```Dim intIndex As Integer Dim sngPrice, sngDiscountPrice As Single For intIndex = 1 To 4 sngPrice = CSng(InputBox("Enter price of shirt " & intIndex.ToString)) sngDiscountPrice = sngPrice * (.25 - sngPrice) lstResult.Items.Add(sngDiscountPrice) Next ``` d. ```Dim intIndex As Integer Dim sngPrice, sngDiscountPrice As Single For intIndex = 0 To 4 sngPrice = CSng(InputBox("Enter price of shirt " & intIndex.ToString)) sngDiscountPrice = sngPrice * 0.25 lstResult.Items.Add(intIndex & " " & sngDiscountPrice) Next ```
(Time Class Modification) It would be perfectly reasonable for the Time class of Figs. 10.17– 10.18 to represent the time internally as the number of seconds since midnight rather than the three integer values hour, minute and second. Clients could use the same public methods and get the same results. Modify the Time class of Fig. 10.17 to implement the time as the number of seconds since
midnight and show that there is no visible change in functionality to the clients of the class. [Note: This exercise nicely demonstrates the virtues of implementation hiding.] What will be an ideal response?
The thumbnail of a slide master that has been preserved is preceded by a checkmark icon
Indicate whether the statement is true or false