how to transfer data from datagrid to textbox using vb6.0????
eiven_05
0
Newbie Poster
Recommended Answers
Jump to PostYou can use the following -
Text1.Text = Datagrid1.TextMatrix(Datagrid1.Row, 1) 'The 1 at the end refers to the coloumn value in the grid, in this case coloumn 1...
Jump to PostUse the same code, just change the coloumn values -
Text1.Text = Datagrid1.TextMatrix(Datagrid1.Row, 1) Text2.Text = Datagrid1.TextMatrix(Datagrid1.Row, 2) Text3.Text = Datagrid1.TextMatrix(Datagrid1.Row, 3) 'and so on...
All 6 Replies
AndreRet
526
Senior Poster
eiven_05
0
Newbie Poster
AndreRet
526
Senior Poster
AndreRet
526
Senior Poster
Kismat
0
Newbie Poster
AndreRet
526
Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.