Check if a new row is added to a DataGridView

I download data from my server and use a DataGridView to present the result. When a new row is added, I’d like my program to show a signal. How can I do that?

Answers


Subscribe to the DataGridView.RowsAdded event.

dataGridView1.RowsAdded += new DataGridViewRowsAddedEventHandler(dataGridView1_RowsAdded);

void dataGridView1_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e)
{
    // show the signal
}

Need Your Help

Overriding method in DLL using reflection

c# reflection dll

I am not even sure if this is possible so apologies if not. I have googled quite extensively and not found what I am looking for.

load data local infile with decimal values

mysql csv

I made a importer for the csv files for the customer and the problem which I have is that I get truncated values for decimal values in the file, example: