Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB.net add rows with headers

Posted on 2012-04-09
3
Medium Priority
?
170 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:Murray Brown
3 Comments
 
LVL 11

Accepted Solution

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

Author Comment

by:Murray Brown
ID: 37827482
thanks very much
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

971 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