Solution 1 is correct and addition to that,
You really don't have to save the updated data in some datatable, because ASP .NET provides temporary persistence storage until the page is post back. So take a look at that link and given below as well. You surely get the idea how to deal with your problem.
See
this[
^].
Good Luck. :)
-KR