You don't need GridView and TextBox to send emails, all you need is in you
DataTable dt
. Also you have set "From" and "To" to same address. Try with:
message.To.Add(dt.Rows[i][1].ToString());
(I'm not sure about index "1", you didn't list column names in your query).