Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Visual Basic (https://www.askmehelpdesk.com/forumdisplay.php?f=469)
-   -   BindingContext Loop (https://www.askmehelpdesk.com/showthread.php?t=155795)

  • Nov 25, 2007, 12:20 PM
    jonesy3350
    BindingContext Loop
    I am new to this forum, but need assistance. I will preface this as my homework. I do not expect specific answers, but a point in the right direction is much appreciated.

    Assume that a form's BindingContext contains a DataSet named dsSample with a table named tblResponses. Write a loop to locate and delete records so that you delete every tenth record. That is delete records 10, 20, 30, and so on. When the process is complete, copy the DataSet to another DataSet containing the deleted records. Record and accept the changes.

    I believe I have figured out the record and accept changes, but do not know how to write the needed loop. Thank you in advance.
  • Nov 30, 2007, 09:56 PM
    Duane in Japan
    A little looping training.

    http://download.microsoft.com/downlo...e2462/05vb.wmv

  • All times are GMT -7. The time now is 10:56 AM.