You can set this value in web.config. For example, to change the timeout for one specific page:
<location path="somefile.aspx">
<system.web>
<httpRuntime executionTimeout="180"/>
</system.web>
</location>
See http://msdn2.microsoft.com/en-us/library/e1f13641.aspx for more details.
Hope that helps.