Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 171
  • Last Modified:

VB.net add rows with headers

Hi. How do I modify the following code to also add a header?

 Me.DataGridView1.Rows.Add()

Thanks
0
Murray Brown
Asked:
Murray Brown
1 Solution
 
f_o_o_k_yCommented:
Me.DataGridView1.Columns.Add("colName","ColHeader")
Best Regards
FooKy
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
thanks very much
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now