ASP.NET issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Bachman

    ASP.NET issue


    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:BoundColum n DataField="surn ame" />
    <asp:BoundColum n DataField="empi d" />
    </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

    #2
    Re: ASP.NET issue



    --
    Aaron Bertrand
    SQL Server MVP





    "David Bachman" <david.bachman@ dana.com> wrote in message
    news:et5LCg0QEH A.1048@tk2msftn gp13.phx.gbl...[color=blue]
    >
    > 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:BoundColum n DataField="surn ame" />
    > <asp:BoundColum n DataField="empi d" />
    > </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![/color]


    Comment

    Working...