Event Handler

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tony A.

    #1

    Event Handler

    How can I trigger an event after the value of a cell in a datagrid has been
    changed? I want to execute a query based on the value entered into the cell,
    and then populate another cell. Any suggestions will be appreciated.
    --
    Tony
  • Samuel Shulman

    #2
    Re: Event Handler

    AFAIK, you can't explicitely fire an event but you can call the method that
    handles the event from another method (sometimes using Nothing, Nothing as
    parameters)

    But you need some sort of event that will give you the hint that the user
    finished edting

    hth,
    Samuel


    "Tony A." <TonyA@discussi ons.microsoft.c omwrote in message
    news:6B322C71-91CA-4FB5-A5B6-7D1AA92799CF@mi crosoft.com...
    How can I trigger an event after the value of a cell in a datagrid has
    been
    changed? I want to execute a query based on the value entered into the
    cell,
    and then populate another cell. Any suggestions will be appreciated.
    --
    Tony

    Comment

    • Cor Ligthert [MVP]

      #3
      Re: Event Handler

      Tony,

      Maybe can this one helps you, with an other textbox event of course



      Cor

      "Tony A." <TonyA@discussi ons.microsoft.c omschreef in bericht
      news:6B322C71-91CA-4FB5-A5B6-7D1AA92799CF@mi crosoft.com...
      How can I trigger an event after the value of a cell in a datagrid has
      been
      changed? I want to execute a query based on the value entered into the
      cell,
      and then populate another cell. Any suggestions will be appreciated.
      --
      Tony

      Comment

      Working...