Hello,
do you have added a column to the datagridview in the designer?
If not add a column with the designer or this code (for example in formaload)
datagridview1.Columns.Add("Message");
then you cann add rows in your loop like this:
datagridview1.Rows.Add(m.ToString());
I hope this might help you.