Hi.
In my application i have four dropdowns with options in that options if user selects "traveltime" shows time in travel textbox,.Below code works if user select traveltime from dd1(Traveltime)+dd2(TT)+dd3(TT)+dd4(TT) = gives correct travel time.if user
selects dd1(TT) ,dd2(otheroption ),dd3(TT)=showing only dd3traveltime not showing sum of both dd1 and dd3.
protected void txt_ServicesHrs_TextChanged(object sender, EventArgs e)
{
DateTime dFrom;
DateTime dTo;
int val1, val2, val3;
string sDateFrom = txt_ServicesStartTIme.Text; // In your case get the time from the TextBox
string sDateTo = txt_ServicesEndTime.Text;
string servicesBreakfast = txt_ServicesBreakfast.Text;
string servicesLunch = txt_ServicesLunch.Text;
string servicesDinner = txt_ServicesDinner.Text;
int.TryParse(ser ...
Go to the complete details ...