Problem:
Substraction datetime in c#, in this case from textboxes

Solution:
DateTime _Text1 = DateTime.Parse(Text1.Text);
DateTime _Text2 = DateTime.Parse(Text2.Text);
System.TimeSpan result = _Text1 – _Text2 ;

Response.Write(result.TotalDays); –> display the total days diffrence