Dagar made fine 69 off 138 deliveries before he was caught by Laxmipathy Balaji off left-arm othodox bowler R Aushik Srinivas. He found the fence 11 times during his knock.
Apart from Dagar, Gupta was the other UP batsmen who showed some teeth with an unbeaten 55 off 156 balls. He decorated his innings with five boundaries and one six.
Earlier resuming at the 258 for seven, overnight centurion Ramaswamy Prasanna (118) added just 14 runs to his score while Aswin Crist (58) managed just four becoming right-arm pacer Imtiaz Ahmed's victims.
R P Singh (3/64) then clean bowled last man Sunil Sam to drew curtains to Tamil Nadu's innings.
Also Read
Brief Score:
Tamil Nadu 1st innings: 297 all out in 107 overs (Ramaswamy Prasanna 118, Baba Aparajith 60, Aswin Crist 58; Imtiaz Ahmed 4/79, RP Singh (3/64).