Bind a BindingNavigator to the Table

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Bind a BindingNavigator to the Table

  1. #1
    Join Date
    Nov 2009

    Bind a BindingNavigator to the Table

    I want to Bind a BindingNavigator to a table using OLEDB or any other method (excluding the automatic stuff for increased complexity of my CW). I bound the Data Grid to the data using the following code
                'Get the Questions inside the selected Quiz Title
                Dim DA As OleDb.OleDbDataAdapter = New OleDb.OleDbDataAdapter("SELECT Question.Question_ID, Question.Question_no, Question.Question FROM Question INNER JOIN Quiz ON Quiz.Quiz_ID = Question.Quiz_ID WHERE Question.Quiz_ID =" & GetID(combQuiz_Title.SelectedItem), myConnection.GetConnection)
                Dim DS As DataSet = New DataSet
                DA.Fill(DS, "Question")
                grdQuestions.DataSource = DS.Tables("Question")
            Catch ex As Exception
            End Try
    Then I created my own delete and save commands. But I dont how to do the same using BindingNavigator

  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Database Design Help needed
    By Brian Pittman in forum Database
    Replies: 2
    Last Post: 04-29-2007, 08:23 AM
  2. Attn: Daniel Reber
    By joe in forum Database
    Replies: 0
    Last Post: 04-04-2003, 05:25 PM
  3. Re: (No subject)
    By Joe in forum Database
    Replies: 0
    Last Post: 04-04-2003, 05:13 PM
  4. xml island doesn't bind to a table
    By Itai Raz in forum XML
    Replies: 1
    Last Post: 05-04-2000, 02:13 PM
  5. Replies: 2
    Last Post: 04-13-2000, 01:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center