So I have a gridview with 'dateborrowed' and 'datereturned'. What I want is that the program will count for the number of days in between the 'dateborrowed' and 'datereturned' like for example 'dateborrowed' = April 1, 2011 - 'datereturned' = April 30, 2011 = 29 days in between. Also I want the value to automatically insert to a record 'daysibetween'. So how can I do that?
Help would be much appreciated. Thanks in advance!!