Search Result

Collapse
3 results in 0.0023 seconds.
Keywords
Members
Tags
looping
  •  

  • DeleteControl For..Each Control in Form, arbitrary behaviour

    im trying to delete all existing controls in a form before creating new ones... however, it wont delete all the controls. for every code run i create 6 controls, but for every run the "For Each" frmSub1.Control s will only delete 3. actually, if i start out with 0 controls on my form, the first run 0 will be deleted, and 6 made. second run, 3 will be deleted, 6 made (total = 9). third run, it will delete 5, add 6 (total = 10), same fourth...
    See more | Go to post

  • Why is my PagedDataSource looping to the first elements of the DataSet?

    I have a Repeater that forms panels with a left float in order to create a grid. My client only wants to show 12 elements per page, then have page numbers at the bottom of the page.

    It would appear that everything is working, except I have an issue in that on the last page, if there aren't 12 elements, it loops back to the begining and shows the first elements again.

    So if I have 20 elements total, the first 4 elements will...
    See more | Go to post
    Last edited by Niheel; Aug 20 '10, 03:46 PM.

  • sweetzhay
    started a topic need help in while wend loop help me plz

    need help in while wend loop help me plz

    this code i will have an output of
    1
    12
    123
    1234
    12345 when pressing command 1

    Private Sub Command1_Click( )

    Label1.Caption = Clear
    sides = 5
    rows = 1
    While rows <= sides
    Column = 0
    While Column < rows
    Column = Column + 1
    Label1 = Label1 & Column & Space(1)
    Wend
    ...
    See more | Go to post
Working...