Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C
Hi guys ,
 
When i choose any column in dataGridview (Winform ) , All rows (values ) should be transfered into listBox control.
 
Think that i have one column named TelephoneNumbers, When i choose it , All telephone numbers should be transfared into listBox.
 
like pictured below :
StudentName    |    StudentID      |    StudentPhone  |   <<< Columns 
 
John                   1233           +905555555555         
Smith                  55555          +9055551213123 
Hasan                 42323           +905212323232123
>>>>> When i choose StudentPhone column >>>
+90555555555
+905555123123
+905212323232123  SHOULD BE TRANSFARED listbox..
please tell me how to do it..thanks for helping in advance
 
image is here : http://img426.yukle.tc/images/8287datagridview.png[^]
Posted 8-Nov-12 9:35am
beratxt698
Edited 8-Nov-12 9:46am
(no name)110.4K
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.141022.2 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100