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. Data Binding

Data Binding

Scheduled Pinned Locked Moved Visual Basic
csharpwpfwcfhelp
2 Posts 2 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.
  • K Offline
    K Offline
    k_siewsiew
    wrote on last edited by
    #1

    Hi, Regarding the Data binding, How can i communicate to use the data binding with User Control in VB.Net. If I have a User Control that I want to make it ready for data binding, means if i put a texbox in the form, I can bind the textbox to the usercontrol's property. Is that this possible get it. Hope that you all can give me some example to do that.Please help me. Thanks & Regards.

    E 1 Reply Last reply
    0
    • K k_siewsiew

      Hi, Regarding the Data binding, How can i communicate to use the data binding with User Control in VB.Net. If I have a User Control that I want to make it ready for data binding, means if i put a texbox in the form, I can bind the textbox to the usercontrol's property. Is that this possible get it. Hope that you all can give me some example to do that.Please help me. Thanks & Regards.

      E Offline
      E Offline
      Edbert P
      wrote on last edited by
      #2

      You can bind your UserControl to the Textbox's Text property (or any other properties). Here's an example:

      UserControl1.DataBindings.Add(New Binding("UserControlProperty", TextBox1, "Text"))

      Check MSDN on Data Bindings[^] for more information. Edbert P. Sydney, Australia.

      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