How to add column in datagridview

By bhavindave ·
Hi there, I have to add some data but without using any database. The data is given by user.

I add columns once but when i do it in second time.
Its not working. Im new in .Net platform.
Here is code

Dim DataGridView1 = New DataGridView
DataGridView1.Columns.Add("DtNumber", "No")
DataGridView1.Columns.Add("DtName", " Name ")
DataGridView1.Columns.Add("ATX", "ATX")
DataGridView1.Columns.Add("XTP", "XTP")
DataGridView1.Columns.Add("etc", "etc")

Please reply me solution.

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Software Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums