Как отобразить счетчик в datagridview с помощью windows forms
In my application i am displaying the messages if file is uploaded successfully and at the same time i am displaying the message that it is not uploaded in a message box the problem is i need to click ok button in message box each and every time when the message occours suppose if 40 files are not inserted i need to click ok button for 40 times i need to display the files which are inserted and which are not inserted at a time in a datagridview.how can i do this. if (ErrorMessage == 0) { Ffname += path + "-" + "Uploaded successfully" + "\n"; } else { NotInsFiles += path + " - " + "Not Inserted" + "\n"; } lbluplodedfile.Text = TabNotIns; if (Ffname != null || Ffname != "") { MessageBox.Show(Ffname); lbluplodedfile.Text = Ffname; } else { MessageBox.Show(NotInsFiles); }
Что я уже пробовал:
my above code displays the inserted and not inserted files in message box but i need to show all of them in datagridview that too at last how can i do this