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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. WCF and WF
  4. Help on dynamically value insert in a specific column.

Help on dynamically value insert in a specific column.

Scheduled Pinned Locked Moved WCF and WF
help
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.
  • S Offline
    S Offline
    Saiyed Alam
    wrote on last edited by
    #1

    Hello Friends, I need to insert value on a specific column of my datagrid in run time. Suppose I need to insert value in column 0 dynamically. But no will be inserted in other rows as they will be empty because the user will insert value in them. Any help will be appreciated. Thanking in Advance Johnny

    M 1 Reply Last reply
    0
    • S Saiyed Alam

      Hello Friends, I need to insert value on a specific column of my datagrid in run time. Suppose I need to insert value in column 0 dynamically. But no will be inserted in other rows as they will be empty because the user will insert value in them. Any help will be appreciated. Thanking in Advance Johnny

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      Your datagrid should be backed by a collection of row data items (via its ItemsSource property). The properties of the objects in the collection that are bound to grid columns should implement change notifications. To insert a value in a specific column, simply change the property that is bound to the column on the desired row's data object.

      Mark Salsbery Microsoft MVP - Visual C++ :java:

      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