collect data from datagrid

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Jul 2008
Posts: 504
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 25
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro

collect data from datagrid

 
0
  #1
Oct 3rd, 2008
I have a datagrid to show data from backend access file. when I click a button it was show. I want I click on a data and it will show in a text box of other form. anybody can help me.
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 2,149
Reputation: debasisdas will become famous soon enough debasisdas will become famous soon enough 
Solved Threads: 132
debasisdas's Avatar
debasisdas debasisdas is offline Offline
Postaholic

Re: collect data from datagrid

 
0
  #2
Oct 5th, 2008
you need to capture the row numner and colum number in the grid ,read it and pass the value to the textbox on another page.
Share your Knowledge.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 504
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 25
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro

Re: collect data from datagrid

 
0
  #3
Oct 5th, 2008
please details.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 504
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 25
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro

Re: collect data from datagrid

 
0
  #4
Oct 6th, 2008
Please help me urgent.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 45
Reputation: AUGXIS is an unknown quantity at this point 
Solved Threads: 11
AUGXIS's Avatar
AUGXIS AUGXIS is offline Offline
Light Poster

Re: collect data from datagrid

 
0
  #5
Oct 7th, 2008
you use the grid property rowsel and colsel to specify the cell you click on then pass the value to a textbox.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 504
Reputation: abu taher is an unknown quantity at this point 
Solved Threads: 25
abu taher's Avatar
abu taher abu taher is offline Offline
Posting Pro

Re: collect data from datagrid

 
0
  #6
Oct 8th, 2008
Sorry. please tell another way or details.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 45
Reputation: AUGXIS is an unknown quantity at this point 
Solved Threads: 11
AUGXIS's Avatar
AUGXIS AUGXIS is offline Offline
Light Poster

Re: collect data from datagrid

 
1
  #7
Oct 8th, 2008
on click event of the grid try this
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. Text1.Text = grid.TextMatrix(grid.RowSel, grid.ColSel)
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum


Views: 937 | Replies: 6
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC