Welcome to the Xceed Community | Help
Community Search  
More Search Options

checking to see if a specific datarow is selected

Sort Posts: Previous Next
  •  09-02-2010, 10:14 AM Post no. 28562

    checking to see if a specific datarow is selected

    I have a C#.Net WinForm with two seperate grids.  One grid is populated when the form loads.  I want to populate the 2nd grid with different data based on which row from the first grid is selected.

    How can I do something like the follow:

     if (row selected is specific row in grid1)

    {

    populateGrid2()

    }

  •  09-02-2010, 10:24 PM Post no. 28567 in reply to 28562

    Re: checking to see if a specific datarow is selected

    use events from first grid: SeletionChanged, CurrentRowChanged, CurrentCellChanged or alternate if you want capture mouse clicks for each cell in template row.

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.