DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: problems in displaying output..

  1. #1
    Prabhakar Guest

    problems in displaying output..


    Hi there,
    I am trying to execute this simple program, but I see only a blank brower
    with nothing on it!!!

    <%@ Page Language="C#" %>
    <HTML>
    <HEAD>
    <TITLE>My First ASPX Page</TITLE>
    </HEAD>
    <BODY>
    <CENTER>
    <%
    int loop;
    String s="";
    for ( loop=1 ; loop<=5 ; loop++ )
    {
    s=s +
    String.Format(
    "<FONT SIZE={0}>Hello ASP.NET World</FONT><BR>",
    loop);
    }
    Message.InnerHtml=s;
    %>
    <SPAN id="Message" runat=server/>

    </CENTER>
    </BODY>


    What are the settings that I need to take care of !!! I am running IIS5.0
    with Windows 2000 (SP2) & .Net 1.0. ASP.net State service is running under
    local system a/c.

    Thanks

    Prabhakar


  2. #2
    Constance J. Petersen Guest

    Re: problems in displaying output..

    "Prabhakar" <prabhakark@traffixinc.com> wrote in message
    news:3cc8517f$1@10.1.10.29...
    > I am trying to execute this simple program, but I see only a blank brower
    > with nothing on it!!!

    ....
    > <SPAN id="Message" runat=server/>


    At a glance, the span tag is wrong -- it's not an empty element. It's format is:

    <span></span>

    --
    Constance Petersen, DevX newsgroup section leader
    SoftMedia Artisans, Inc.
    http://www.smartisans.com
    For useful, usable software and Web sites
    Featured Web design: http://www.keweenawnow.com/
    --
    Please reply in the newsgroup so everyone can benefit




  3. #3
    prabhakar Guest

    Re: problems in displaying output..


    my installation of vs.net was missing some components, so I downloaded .NET
    SDK Framework (of 131 Mb). And everything went smooth.
    Thanks for going thr' my posting.
    Prabhakar
    "Constance J. Petersen" <constance@smartisans.com> wrote:
    >"Prabhakar" <prabhakark@traffixinc.com> wrote in message
    >news:3cc8517f$1@10.1.10.29...
    >> I am trying to execute this simple program, but I see only a blank brower
    >> with nothing on it!!!

    >....
    >> <SPAN id="Message" runat=server/>

    >
    >At a glance, the span tag is wrong -- it's not an empty element. It's format

    is:
    >
    ><span></span>
    >
    >--
    >Constance Petersen, DevX newsgroup section leader
    >SoftMedia Artisans, Inc.
    >http://www.smartisans.com
    >For useful, usable software and Web sites
    >Featured Web design: http://www.keweenawnow.com/
    >--
    >Please reply in the newsgroup so everyone can benefit
    >
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center