Hi guys i have a problem with this code that i found... i have 2 datetimepickers and i would like to find the difference in days between both of the 2 datetimepickers.
textBox1.Text = ((dateTimePicker2.Value - dateTimePicker1.Value)).TotalDays.ToString("#");
I cannot convert the textbox to a string nor a int...I do not understand what does the ToString("#") means too......... The results from the codes are wierd too... Result 1