Click here to Skip to main content
15,893,381 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello to all, my problem is that i am developing a screen with a datagridview where on a row i type the code(id) of a record and then the name(description of that code in the file) is display in a specific cell on the same row and that cell will be activated at the same time, in short how can i display a text in a specific cell of a datagridview
Posted

1 solution

for a specific cell try this
C#
dataGridView1.Rows[3].Cells[1].Value = "YourText";
 
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