User Profile
Collapse
-
Thanks Mr.Gary .. but it is showing "invalid cast expection must implement IConvertible".. . i dont know what to do... -
How to convert an object to a Control
Hi all,
i am trying to convert a dataGridView cell to a control
i used the codes
Code:Control dat = new Control(); dat = Convert.ChangeType(dataGridView1[colIndex,rowIndex],typeof(Control));
I am fetching the values of colIndex and rowIndes from a index code... the problem is even though i tried many codes to convert, it does not work
The expection i am gettting...
No activity results to display
Show More
Leave a comment: