Click here to Skip to main content
12,448,343 members (55,435 online)
Rate this:
 
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
beratxt745
Updated 8-Nov-12 9:46am
v2

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160811.3 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2016
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