Results 1 to 3 of 3

Thread: Binding DataGrid..

Threaded View

  1. #1

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

    Binding DataGrid..

    I use this code on the Search button of the frmGrid to filter all the records with the same position.

    Dim aFind As String = InputBox("Enter a Position", "Filter Employees Position")
    'Filter
    DataSet11.Employee.DefaultView.RowFilter = "empposition like '" & aFind & "%'"
    DataGrid1.DataSource = DataSet11.Employee

    On the Input Box I type: "Clerk" and all records with this position display.
    But if want to navigate records using "<<" and ">>" doesn't work. Try to see the file attached with this thread for you to understand this.
    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