[.net] C# Add names to rows

Started by
0 comments, last by Pseudonym 17 years, 1 month ago
Hi. I'm starting with C#, and I have a question. Is there a way to set names to the rows in a DataGridView? Thanks.
Advertisement
Yep, here you go.

dataGridView.Rows[0].HeaderCell.Value = "Row Name Here";

This topic is closed to new replies.

Advertisement