|
-
Mar 4th, 2005, 01:16 PM
#1
Thread Starter
Junior Member
geting record form datagrid
Hi,
Is there are way to get the colums of a specific record from a datagrid to print out specific values?
-
Mar 4th, 2005, 08:24 PM
#2
Re: geting record form datagrid
 Originally Posted by saphiroth
Hi,
Is there are way to get the colums of a specific record from a datagrid to print out specific values?
try this one.
if will fetch the data in first column of your datagrid
VB Code:
Private Sub DataGrid1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles DataGrid1.DoubleClick
MessageBox.Show(DataGrid1.Item(DataGrid1.CurrentCell.RowNumber, 0))
End Sub
hope that helps.
or maybe i miss the point of the question
-
Mar 7th, 2005, 09:51 AM
#3
Thread Starter
Junior Member
Re: geting record form datagrid
Thank you for you help, it works well.
-
Mar 7th, 2005, 07:42 PM
#4
Re: geting record form datagrid
 Originally Posted by saphiroth
Thank you for you help, it works well.
ok edit your post and put [Resolved] or the icon green checkmark.
happy coding
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|