Click here to Skip to main content
13,091,894 members (59,020 online)
Rate this:
 
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 28-May-12 23:46pm
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
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web01 | 2.8.170813.1 | Last Updated 29 May 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