I have a table with \'dateborrowed\' and \'datereturned\' column. What I want to do is I want to get the value in between \'datereturned\' and \'dateborrowed\' and bind it t
TimeSpan ts = Convert.ToDateTime(dr["datereturned"]) - Convert.ToDateTime(dr["dateborrowed"]); (ts.TotalDays); // Will return the difference in Days