Good day.

hi, i would just like to know if datagrid has a default number of columns in C#? If yes, how many columns? How can I set my datagrid to a certain number of columns only?. Thanks alot for your help.

No. Columns depend entirely on the resultant dataset.

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.