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
    Posts
    6

    Bind a BindingNavigator to the Table

    Hi
    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
    Code:
    Try
                '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
                MsgBox(ex.Message)
            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
    Location
    Sterling Heights, Michigan
    Posts
    8,663

Similar Threads

  1. Database Design Help needed
    By Brian Pittman in forum Database
    Replies: 2
    Last Post: 04-29-2007, 09:23 AM
  2. Attn: Daniel Reber
    By joe in forum Database
    Replies: 0
    Last Post: 04-04-2003, 06:25 PM
  3. Re: (No subject)
    By Joe in forum Database
    Replies: 0
    Last Post: 04-04-2003, 06:13 PM
  4. xml island doesn't bind to a table
    By Itai Raz in forum XML
    Replies: 1
    Last Post: 05-04-2000, 03:13 PM
  5. Replies: 2
    Last Post: 04-13-2000, 02: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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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