I'm trying to get the value of a cell within a selected Row in a RadGridView, I know how to do this for a DataGridView but can't convert the code.
if (rgv_customers.SelectedCells.Count > 0)
{
int selectedrowindex = rgv_customers.SelectedRows.RowIndex;
DataGridViewRow selectedRow = rgv_customers.Rows[selectedrowindex];
string comapany = Convert.ToString(selectedRow.Cells["Company"].Value);
}
The above code works for a DataGridView, does anyone know how to convert it for a RadGridView?