Hii,everyone
How to solve this error,please??
"System.Windows.Forms.DataGridViewCell' does not contain a definition for 'RowNumber' and no extension method 'RowNumber' accepting a first argument of type 'System.Windows.Forms.DataGridViewCell' could be found "
appears in this code:
int iRownr = this.dataGrid1.CurrentCell.RowNumber;
int iColnr = this.dataGrid1.CurrentCell.ColumnNumber;
red line appear on RowNumber
red line appear on ColumnNumber