User-183374066 posted
but the problem is some of the answer got an (-) i want to remove the (-) in the total lblleavedays.text
You String
Replace Function
lblleavedays.Text = Convert.ToString(GetWorkingDays(dtfrom, dtto) - totalholidays).Replace('-','');
You can replace either character or string. For string use double quotes
"-123".Replace("-"," ")
Regards