C# red cross in datagridview

前端 未结 2 616
-上瘾入骨i
-上瘾入骨i 2021-01-15 04:38

i am using c# and when i try to fill my datagridView most of the time a big red cross apears.

i searched for this and people say that you have to add



        
2条回答
  •  甜味超标
    2021-01-15 05:15

    In YourForm.Designer.cs look for string gridView = new DataGridView() and replace it with

    gridView = new SafeDataGridView()

    private SafeDataGridView portos_online;

    portos_online = new SafeDataGridView();

    I hope this will solve your problem. Have a nice day!

提交回复
热议问题