C# compare time string in datagrid to current time
<p>I am looking for some assistance to an issue I'm having. I am trying to create a datagrid filter with one of the columns being 'Time' with the data being read in from a text file in a string format as 16:23 etc., I need to compare it with the current time and if greater to output to the datagrid.</p>

<pre><code>DataTable table = new DataTable();
table.Columns.Add("Number", typeof(string));
table.Columns.Add("Operator", typeof(string));
table.Columns.Add("Bus Stop", typeof(string));
table.Columns.Add("Destination", typeof(string));
table.Columns.Add("Day", typeof(string));
table.Columns.Add("Time", typeof(string));

// ...

string currentTime = DateTime.Now.ToString("HH:mm");

table.DefaultView.RowFilter = string.Format("Time = #" + &gt;= currentTime  + "#", DataViewRowState.CurrentRows);

dataGridView1.DefaultCellStyle.Font = new Font("Ariel", 9);
dataGridView1.DataSource = table;
</code></pre>