5 Replies - 775 Views - Last Post: 24 September 2010 - 03:08 AM
Posted 14 September 2010 - 07:34 AM
i have a question about datagridview:
when i put for excample number (1) in the first cell of the datagridview
i need that number (1) emediately be send to a textbox for example txtnumber
witch event of datagrid can i use
Replies To: datagridview
Posted 21 September 2010 - 07:48 PM
The true event is (dataGridView1_CurrentCellDirtyStateChanged(object sender, EventArgs e))
Cell_Click would be more for displaying data already in a datagridview. But if you wanna take what the user just typed and display it, you have to use the above mentioned event.
Can read more on it here.
Hope it helps.
This post has been edited by StorminNorman: 21 September 2010 - 07:48 PM
Posted 24 September 2010 - 03:08 AM
Hope this may be the answer .. and thanks for suggestion @StorminNorman
This post has been edited by SHD013: 24 September 2010 - 03:11 AM