Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 1.0
This is the forum to discuss the Wrox book Beginning ASP.NET 1.0 with C# by Chris Goode, John Kauffman, Christopher L. Miller, Neil Raybould, S. Srinivasa Sivakumar, Dave Sussman, Ollie Cornes, Rob Birdwell, Matt Butler, Gary Johnson, Ajoy Krishnamoorthy, Juan T. Llibre, Chris Ullman; ISBN: 9780764543708
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 5th, 2004, 05:26 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default Need Help About Tracing An Application

Hi every one i have problem in implementing a topic that i can find in the page of chap.19 page 775 in try out
the code encoutered with a problem and dont work correctly any one help me where i maybe have get mistakes
Quote:
quote:
Code:
<%@ Page Language="C#" ContentType="text/html" trace="true" ResponseEncoding="utf-8" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script language="c#" runat="server">
void Page_Load()
      {
      }
public int sub(int intFirst,int intSecond)
             {
             Trace.Write("intFirst:",intFirst);//***Error cause In this Line and its expect the of parameters to be string
             Trace.Write("IntSecond:",intSecond););//****Error cause In this Line and its expect the of parameters to be string

             return intSecond+intFirst;
              }
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
</head>
<body>
<%=sub(12,15)%>

</body>
</html>
Thanks In Advance.
YoOrD.

Beauty Is not on the face
Beauty is on the heart
--<<Ghibran Khalil>>--
__________________
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;YoOrD .
Beauty is not on the face
Beauty is on the heart
~~&lt;&lt;Ghibran Khalil&gt;&gt;~~
 
Old October 5th, 2004, 08:58 AM
Friend of Wrox
 
Join Date: May 2004
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi every one my problem is about what i read in book about an example that get two parameter of integer type but i gte error about that this function(method) has two string parameters
 
Quote:
quote:Trace.Write("intFirst:",intFirst);
Quote:
Trace.Write("intSecond:",intSecond);
what i must to do to make this example run correctly.
Thanks in Advance.
YoOrD.

Beauty Is not on the face
Beauty is on the heart
--<<Ghibran Khalil>>--





Similar Threads
Thread Thread Starter Forum Replies Last Post
Tracing connectionstring miguel.ossa ASP.NET 2.0 Basics 4 January 8th, 2008 04:24 PM
Tracing xmlhttp traffic balaskumar XML 2 May 10th, 2006 09:48 PM
Oracle ODBC tracing raekism Oracle 0 February 28th, 2005 02:42 AM
Tracing via executable bmains VB.NET 1 April 29th, 2004 02:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.