Solved

VB.net add rows with headers

Posted on 2012-04-09
3
166 Views
Last Modified: 2012-04-16
Hi. How do I modify the following code to also add a header?

 Me.DataGridView1.Rows.Add()

Thanks
0
Comment
Question by:murbro
3 Comments
 
LVL 11

Accepted Solution

by:
f_o_o_k_y earned 500 total points
ID: 37827435
Me.DataGridView1.Columns.Add("colName","ColHeader")
Best Regards
FooKy
0
 

Author Comment

by:murbro
ID: 37827482
thanks very much
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
get column names from table in vb.net 8 51
Help with preventing downloading a zip file 10 45
Error message when using PrintSocket.Send 7 18
Open a link in vb.net 2 16
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question