Please read the following table in HTML format from a webpage and then answer the question in detail according to the table. Each table cell is defined by a <td> and a </td> tag. Each table row starts with a <tr> and ends with a </tr> tag. 'rowspan=m' and 'colspan=n' represents a cell spaning over 'm' rows and 'n' columns.

Webpage title:
Dianna Agron filmography
Table title:
Television
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Year </th><th colspan=1 rowspan=1 > Title </th><th colspan=1 rowspan=1 > Role </th><th colspan=1 rowspan=1 > Notes </th></tr>
<tr> <td colspan=1 rowspan=1 > 2006 </td><td colspan=1 rowspan=1 > Close to Home </td><td colspan=1 rowspan=1 > Drunk Girl </td><td colspan=1 rowspan=1 > Episode: "Homecoming" </td></tr>
<tr> <td colspan=1 rowspan=1 > 2006 </td><td class="highlighted"  colspan=1 rowspan=1 > CSI: NY </td><td class="highlighted"  colspan=1 rowspan=1 > Jessica Grant </td><td class="highlighted"  colspan=1 rowspan=1 > Episode: "Murder Sings the Blues" </td></tr>
<tr> <td colspan=1 rowspan=1 > 2006 </td><td colspan=1 rowspan=1 > Drake & Josh </td><td colspan=1 rowspan=1 > Lexi </td><td colspan=1 rowspan=1 > Episode: "The Great Doheny" </td></tr>
<tr> <td colspan=1 rowspan=1 > 2006 </td><td colspan=1 rowspan=1 > Shark </td><td colspan=1 rowspan=1 > Gia Mellon </td><td colspan=1 rowspan=1 > Episode: "Love Triangle" </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > 2006 </td><td class="highlighted"  colspan=1 rowspan=1 > After Midnight: Life Behind Bars </td><td class="highlighted"  colspan=1 rowspan=1 > Kelly </td><td class="highlighted"  colspan=1 rowspan=1 > Television film </td></tr>
<tr> <td colspan=1 rowspan=1 > 2006–2007 </td><td colspan=1 rowspan=1 > Veronica Mars </td><td colspan=1 rowspan=1 > Jenny Budosh </td><td colspan=1 rowspan=1 > 3 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 2007 </td><td colspan=1 rowspan=1 > Heroes </td><td colspan=1 rowspan=1 > Debbie Marshall </td><td colspan=1 rowspan=1 > 5 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 2007 </td><td colspan=1 rowspan=1 > It's a Mall World </td><td colspan=1 rowspan=1 > Harper </td><td colspan=1 rowspan=1 > 13 episodes </td></tr>
<tr> <td colspan=1 rowspan=1 > 2008 </td><td colspan=1 rowspan=1 > Numbers </td><td colspan=1 rowspan=1 > Kelly Rand </td><td colspan=1 rowspan=1 > Episode: "Jack of All Trades" </td></tr>
<tr> <td colspan=1 rowspan=1 > 2009 </td><td colspan=1 rowspan=1 > Celebrities Anonymous </td><td colspan=1 rowspan=1 > Sadie </td><td colspan=1 rowspan=1 > Television film </td></tr>
<tr> <td colspan=1 rowspan=1 > 2009–15 </td><td colspan=1 rowspan=1 > Glee </td><td colspan=1 rowspan=1 > Quinn Fabray </td><td colspan=1 rowspan=1 > Main role (seasons 1—3); Recurring role (seasons 4—6); 73 episodes </td></tr>
</table>
Question:
Who did Dianna Agron play in Midnight: Life Behind Bars and CSI:NY?
Answer:
Agron played Kelly in the 2006 film After Midnight: Life Behind Bars, but her role in CSI:NY was Jessica Grant, who appears in one episode.