Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
i have two datagridview.. first, show books data, and second, show books i want to order... i want to call selected row from first datagridview and show it to second datagridview... how to do this ? i googling in for two days, and i don't have the answer.. somebody please help me.. i really appreciate that
Posted 29-May-12 0:46am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Get the selected row from the first gridview and add it to a data table. Then add the datatabe as the data source of the second gridview.
Hope this will help u
check http://uniquecoding.wordpress.com/2012/05/12/important-facts-about-datagridview/[^]
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 279
1 OriginalGriff 190
2 DamithSL 185
3 Peter Leow 105
4 Kornfeld Eliyahu Peter 105
0 OriginalGriff 7,355
1 DamithSL 5,254
2 Sergey Alexandrovich Kryukov 4,942
3 Maciej Los 4,906
4 Kornfeld Eliyahu Peter 4,514


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 29 May 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