Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. BindingNavigator

BindingNavigator

Scheduled Pinned Locked Moved Visual Basic
questionwpfwcfhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Joe Programm3r
    wrote on last edited by
    #1

    Greetings All: The issue is that when I execute the Fill method during a button's onClick event, it works fine. But when the Fill method is executed when a boolean propery is updated, the code executes but never populates the binding navigator. Here's the code snippets in question: Here's what works: Private Sub FillToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FillToolStripButton.Click Try Me.SpEDMS_EnumNIOSHByStudyTableAdapter.Fill(Me.Dataset_frmPerson_NIOSH.spEDMS_EnumNIOSHByStudy, New System.Nullable(Of Integer)(CType(glStudyId, Integer))) Catch ex As System.Exception System.Windows.Forms.MessageBox.Show(ex.Message) End Try End Sub Here's the same code in the 'propery set' that executes but the navigator never shows any data Private _QueryNIOSH As Boolean Public Property QueryNIOSH() As Boolean Get Return _QueryNIOSH End Get Set(ByVal value As Boolean) _QueryNIOSH = value If value Then Try Me.SpEDMS_EnumNIOSHByStudyTableAdapter.Fill(Me.Dataset_frmPerson_NIOSH.spEDMS_EnumNIOSHByStudy, New System.Nullable(Of Integer)(CType(glStudyId, Integer))) Catch ex As System.Exception System.Windows.Forms.MessageBox.Show(ex.Message) End Try End If End Set End Property Why does it work in one part of the form but not another? Any ideas?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups