Re: New to ASP.NET but oldtime ASP classic developer

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Scott Mitchell [MVP] (mitchell_at_4guysfromrolla.com)
Date: 02/26/04


Date: Thu, 26 Feb 2004 18:39:12 GMT


> When I go and build and show the page, it is blank.....

Are you using VS.NET? If so, are you hitting F5 to do this (or going to
Start/Debug)?

Is the code to bind the data to your data Web control in the Page_Load
event handler? What does your code-behind class look like?

Thanks.

-- 
    Scott Mitchell
    mitchell@4guysfromrolla.com
    http://www.4GuysFromRolla.com
    http://www.ASPFAQs.com
    http://www.ASPMessageboard.com
* When you think ASP, think 4GuysFromRolla.com!
"JackV" <vituja@consumer.org> wrote in message
news:%234Li38I$DHA.2636@TK2MSFTNGP09.phx.gbl...
> Hi all,
>
> Just starting in ASP.NET finnally.  I have a basic question.
>
> I want to simply display data from a SQLSever table on to the webpage.
> Simple enough?
>
> I created an app on the ASP server and added the a Data Web Form, found
my
> table and fields and then...
>
> When I go and build and show the page, it is blank.....
>
> Um,  No complie errors or warnings so what happened?  I then placed a
simple
> label on the form to make sure I am viewing the right page.  And yes the
> label came up.
>
> So somehow the page is not pulling the data...
>
> Any helpful ideas or easy step by step samples will be helpful.  Thanks
>
>