Hi guy i a newbie in vb so i need your help from all of you. So Genius can help. I create a data grid and by default it have 2 column and two row. So now i need to add more column i check for the properties of the data grid nothing on adding the column. So can tell me how to do it ?

Recommended Answers

All 2 Replies

DataGrid1.Columns.Add 2

Good Luck

DataGrid1.Columns.Add 2

Good Luck

You mean is put this code in the coding part right

Then thank you

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.