ASP.NET issue

Discussion in 'ASP General' started by David Bachman, May 26, 2004.

  1. I am a novice to ASP.NET, so this is probably an easy question to
    answer.

    I filled a datagrid from an oracle db using an ODBC connection. I am
    connected to the data source and have no compilation errors, but the
    output within the <asp: tags does not display anything:

    <html>
    <body><form runat="server">
    <asp:DataGrid id="myDataGrid" runat="server" >
    <Columns name="name">
    <asp:BoundColumn DataField="surname" />
    <asp:BoundColumn DataField="empid" />
    </Columns>
    </asp:DataGrid>
    </form>
    </body>
    </html>

    I've checked the source on my browser and the code within the <asp: and
    </asp: tags does not display.

    Any help would be appreciated.

    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
     
    David Bachman, May 26, 2004
    #1
    1. Advertising

  2. http://www.aspfaq.com/5002

    --
    Aaron Bertrand
    SQL Server MVP
    http://www.aspfaq.com/




    "David Bachman" <> wrote in message
    news:...
    >
    > I am a novice to ASP.NET, so this is probably an easy question to
    > answer.
    >
    > I filled a datagrid from an oracle db using an ODBC connection. I am
    > connected to the data source and have no compilation errors, but the
    > output within the <asp: tags does not display anything:
    >
    > <html>
    > <body><form runat="server">
    > <asp:DataGrid id="myDataGrid" runat="server" >
    > <Columns name="name">
    > <asp:BoundColumn DataField="surname" />
    > <asp:BoundColumn DataField="empid" />
    > </Columns>
    > </asp:DataGrid>
    > </form>
    > </body>
    > </html>
    >
    > I've checked the source on my browser and the code within the <asp: and
    > </asp: tags does not display.
    >
    > Any help would be appreciated.
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
    > Don't just participate in USENET...get rewarded for it!
     
    Aaron Bertrand - MVP, May 26, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nathan
    Replies:
    0
    Views:
    1,630
    Nathan
    Jan 5, 2006
  2. Replies:
    3
    Views:
    456
  3. =?Utf-8?B?TWlrZQ==?=

    Querystring Issue - ASP.NET within ASP site's IFRAME

    =?Utf-8?B?TWlrZQ==?=, Jul 12, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    801
    =?Utf-8?B?TWlrZQ==?=
    Jul 12, 2007
  4. Juan T. Llibre
    Replies:
    3
    Views:
    399
    Nick Chan
    Sep 17, 2007
  5. Abubakar
    Replies:
    0
    Views:
    383
    Abubakar
    Aug 31, 2008
Loading...

Share This Page