In my Application , I am facing complication for fetching the exact Text Location or Index . My Text will be like
"AAAAAAAA" + (......a long space.......) + "BBBBBBBB"
I could able to get these values as array from my DatagridViewTextBoxCell . But i couldn't able to get their location in the cell for a highlight purpose. Please help me to solve this.
My Code to fetch value under CellPainting Event is
DataGridViewTextBoxCell currentCell =
(DataGridViewTextBoxCell)grid.Rows[e.RowIndex].Cells[e.ColumnIndex]
Thanks in advance