Results 1 to 1 of 1

Thread: Grid

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2002
    Location
    Pilipinas
    Posts
    441

    Grid

    I use this code to filter all employees with the same position.

    'Filter
    DataSet11.Employee.DefaultView.RowFilter = "empposition='" & ComboBox1.Text & "'"

    Dim dv As DataView
    dv = DataSet11.Employee.DefaultView

    DataGrid1.DataSource = dv

    But when I use the code below to go to next record but it doesn't work!

    'Move Next
    Me.BindingContext(DataSet11, "Employee").Position += 1

    Kindly help with this! Attached with this thread is the project that I'm doing. please check it first before answering this thread to understand it clearly.

    thanks!!
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width