Click here to Skip to main content
15,893,486 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi i want put a value from datagrid view to text in C# please help me regarding this. I am using c# Window form . ......................
...................................
...............
...............
..........................
............
Posted

1 solution

dataGridView1.SelectedRows[0].Cells[column index].Value


"column index" start from 0 to n, where n is total column-1
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900