Is it possible to dynamically insert rows in an existing DataTable (No DataSource used)?
<p>I have created a datatable with three fields namely TimeTask, TaskItem and Count (count of user)  eg; {"12:30AM-01:00AM" , T1 , 3}. </p>

<pre><code>        dataTable.Columns.Add("Task Time", typeof(string));
        dataTable.Columns.Add("Task", typeof(string));
        dataTable.Columns.Add("Count", typeof(int));

        dataTable.Rows.Add("12:00AM-12:15AM", "T1", 6);
        dataTable.Rows.Add("12:45AM-01:00AM", "T1", 5);                             dataTable.Rows.Add("01:00AM-01:15AM", "T1", 1);
        dataTable.Rows.Add("01:15AM-01:30AM", "T2", 4);
        dataTable.Rows.Add("01:30AM-01:45AM", "T2", 9);            
        GridView1.DataSource = dataTable;
        GridView1.DataBind();



  In this there is no task for the TimeTask "12:15AM-12:30AM" and "12:30AM-12:45AM" yet the TimeTask should be inserted as,          
</code></pre>

<p>TimeTask            TaskItem           Count<br>
  12:00AM-12:15AM            T1             6<br>
  12:15AM-12:30AM            -              -<br>
  12:30AM-12:45AM            -              -<br>
  12:45AM-01:00AM            T1             5<br>
  01:00AM-01:15AM            T1             1<br>
  01:15AM-01:30AM            T2             4<br>
  01:30AM-01:45AM            T2             9 </p>

<p>How to chk for the missing rows? Is it possible to dynamically insert rows in an existing DataTable (No DataSource used) in this scenario.pls help.Thanks :-)</p>
