Click here to Skip to main content
13,006,530 members (60,905 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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 >>>
+905212323232123  SHOULD BE TRANSFARED listbox..

please tell me how to do it..thanks for helping in advance

image is here :[^]
Posted 8-Nov-12 9:35am
Updated 8-Nov-12 9:46am

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
Web01 | 2.8.170628.1 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2017
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