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. WPF
  4. Timer and DataGrid Issue.

Timer and DataGrid Issue.

Scheduled Pinned Locked Moved WPF
helpcsharpwpftutorialcareer
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.
  • N Offline
    N Offline
    Nanda_MR
    wrote on last edited by
    #1

    Hi to all. I am new to WPF. Now I m building a small project. That contain Timer and Label and Datagrid. In Datagrid 7 columns are there. If i add a row in Button_Click Event it is working. But same code not working in Timer In Timer I return below code.

       On Error Resume Next
            Row\_Nos\_Text.Dispatcher.Invoke(New delSetText(AddressOf doSetText), Row\_Nos\_Text, DataGrid1.Items.Count)
            DataGrid1.Items.Add(0)
    

    The Above code display Number of row in textbox but in datagrid row was not added Plz tell how to solved Problem. Thanks in advance. Nanda

    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