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. C#
  4. User Control data binding

User Control data binding

Scheduled Pinned Locked Moved C#
announcementwpfwcf
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.
  • A Offline
    A Offline
    Andrew Bleakley
    wrote on last edited by
    #1

    What have I done wrong. I slapped up a quick dataset navigation control (first, back, next,last) to add to any form i create. somewhere along the line i have mangled something and now to update both the user control and the parent form (with it's databound controls) i need to add BOTH these two lines: this.Parent.BindingContext[ControlDataSet, TableName].Position -= 1; this.BindingContext[ControlDataSet, TableName].Position -= 1; where : ControlDataSset is a DataSet on the parent form and TableName is a string containing the name of the table in the dataset I wish to move through The VB version only requires the second line. It is incredible simple i am just stumped. here thanks in advance

    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