View Single Post
Old 02-24-2005, 06:41 AM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,489
sde is on a distinguished road
well i'll assume that getFlightTime() is being pulled from a database, .. so you will probably have to just submit the page and do it all server-side.

i haven't done a whole lot of c#/asp programming, .. but if i remember correctly, you can use If(IsPostBack) in the page load function. if it results in true, then i think you could then use the logic you have above.

the difference is the page will refresh as opposed to executing client side like javascript.

i'm typing from memory as i haven't coded c# very much with asp.net. you may want to google IsPostBack for examples of how others process forms server side with c#.
__________________
Mike
sde is offline   Reply With Quote