User Profile

Collapse

Profile Sidebar

Collapse
vincentvinod
vincentvinod
Last Activity: Nov 21 '11, 05:51 PM
Joined: Aug 18 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • vincentvinod
    replied to How to convert an object to a Control
    Thanks Mr.Gary .. but it is showing "invalid cast expection must implement IConvertible".. . i dont know what to do...
    See more | Go to post

    Leave a comment:


  • vincentvinod
    started a topic How to convert an object to a Control

    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...
    See more | Go to post
No activity results to display
Show More
Working...