home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / QuickStart / howto / doc / catch.aspx < prev    next >
Encoding:
Text File  |  2000-05-31  |  970 b   |  33 lines

  1.  
  2. <!-- #include virtual="/quickstart/howto/include/header.inc" -->
  3.  
  4. <h4>How Do I...Catch an exception?</h4>
  5.  
  6. <div class="indent" style="width:660">
  7. This sample illustrates how to catch an exception...
  8. </div>
  9.  
  10. <h4>Example</h4>
  11.  
  12. <p>
  13. <div class="indent">
  14. <a target="_blank" href="<%=Server.MapPath("/quickstart/howto/samples/exceptions/catch")%>">
  15. <img style="border-color:black" border=1 src="/quickstart/images/Console.gif"><br>
  16. </a>
  17. <div class="caption">Catch.exe</div><br>
  18. [<a target="_blank" href="<%=Server.MapPath("/quickstart/howto/samples/exceptions/catch")%>">View Sample</a>] | 
  19. [<a target="_blank" href="/quickstart/util/srcview.aspx?path=/quickstart/howto/samples/exceptions/catch/catch.src">View Source</a>]<p>
  20. </div>
  21.  
  22. <h4>Source Code</h4>
  23.  
  24. <div class="code">
  25. <xmp>
  26.  
  27. <!-- #include virtual="/quickstart/howto/samples/exceptions/catch/catch.cs" -->
  28.  
  29. </xmp>
  30. </div>
  31.  
  32. <!-- #include virtual="/quickstart/howto/include/footer.inc" -->
  33.