title: How to write every time to a new row of data table?
body: <p>How can i insert each time a diffrent row in datatable?
  The data table is used in a dataGridView to write a log. I need each time to write in a diffrent line (row) in the datatable, when I can't know how many rows I need in runtime.
  Another thing; the datatable is loaded from a XML file, so there might be already rows in the data table.</p>
  
  <p>What can i do? (in short, I always write in the same row) in C#</p>
  
  <p>EDIT:
  here is the code:</p>
  
  <p>From some reason, the DateGridView isonly having one row(This is a method that activated in a click of a button)</p>
  
  <pre><code>public void gridStart(string i, string b, string c)
          {
              DataTable dt = new DataTable();//empty table with no schema
              DataColumn colContactID = new DataColumn("Date", typeof(string));
              DataColumn colContactName = new DataColumn("Caller", typeof(string));
              DataColumn colResult = new DataColumn("Result", typeof(string));
              dt.Columns.Add(colContactID);
              dt.Columns.Add(colContactName);
              dt.Columns.Add(colResult);
              DataRow row = dt.NewRow();
              row["Date"] = i;
              row["Caller"] = b;
              row["Result"] = c;
              dt.Rows.Add(row);
  }
  </code></pre>