How can I make the DataGrid column be blank and not display (null) as the default value?

Platform: WinForms| Category: Datagrid

When you go to a new row in a DataGrid, the columns display (null). To prevent this behavior and make all the columns be empty, you can set the DefaultValue property of the DataColumn to be String.Empty.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.