IWETHEY v. 0.3.0 | TODO
1,095 registered users | 1 active user | 0 LpH | Statistics
Login | Create New User

Welcome to IWETHEY!

New Re: Getting closer
MessageBox.Show ("Col is " + FormCodeGrid.CurrentCell.ColumnNumber
+ ", Row is " + FormCodeGrid.CurrentCell.RowNumber
+ ", Value is " + FormCodeGrid[FormCodeGrid.CurrentCell] );

So now how do I pick a particular field in the table,
since only the 1st column has the data I want.

Hm, must be some big differences between the ASP.NET grids and the WinForms grid. The ASP grid doesn't have a concept of selected cell, only selected row.

As for limiting them to the right column, don't bother. Just pull the RowNumber from the current cell and then use that to get the cell you care about. That way it doesn't matter where in the row they click. Though you should somehow mark which columns value is important.

Actually, that might be difficult if the application grid doesn't have a Rows property. But I find it hard to believe that it doesn't have something that does the same thing.

New Yup - see other post
     More C# / Windows Forms questions - (crazy) - (10)
         Re: More C# / Windows Forms questions - (JayMehaffey) - (7)
             Getting the data - (crazy) - (6)
                 Re: Getting the data - (JayMehaffey) - (1)
                     Neither works - (crazy)
                 Getting closer - (crazy) - (3)
                     Got it - (crazy)
                     Re: Getting closer - (JayMehaffey) - (1)
                         Yup - see other post -NT - (crazy)
         A couple of ways to do it... - (ChrisR) - (1)
             Got it - (crazy)

Certainly, as long as they don't require any treatment.
52 ms