Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old May 21st, 2006, 07:15 PM
malcolm
Guest
 
Posts: n/a
Default Advice Please.

The following code
<asp:Label id="lblInvalid" runat="server" />

Is it AUtomatically generated within ASP.NET ? Or can it aslo be replicated
within ASP?


Mal


  #2  
Old May 21st, 2006, 08:25 PM
Evertjan.
Guest
 
Posts: n/a
Default Re: Advice Please.

malcolm wrote on 21 mei 2006 in microsoft.public.inetserver.asp.general:
[color=blue]
> The following code
> <asp:Label id="lblInvalid" runat="server" />
>
> Is it AUtomatically generated within ASP.NET ?[/color]

I do not know about asp.net, that is not the subject of this NG.
[color=blue]
> Or can it aslo be
> replicated within ASP?[/color]

It is NOT classic ASP.



--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
  #3  
Old May 21st, 2006, 08:55 PM
Mike Brind
Guest
 
Posts: n/a
Default Re: Advice Please.


malcolm wrote:[color=blue]
> The following code
> <asp:Label id="lblInvalid" runat="server" />
>
> Is it AUtomatically generated within ASP.NET ? Or can it aslo be replicated
> within ASP?
>
>
> Mal[/color]

Server controls do not exist in classic asp. This particular dotnet
server control is simply a place holder for text. It can be
"replicated" in classic ASP like this:

If rs.EOF Then
lblInvalid= "Login Failed"
Else
lblInvalid= "Login Successful"
End If

and then elsewhere in the code <%= lblInvalid%>

--
Mike Brind

  #4  
Old May 22nd, 2006, 09:45 PM
malcolm
Guest
 
Posts: n/a
Default Re: Advice Please.

"Mike Brind" <paxtonend@hotmail.com> wrote in message
It can be "replicated" in classic ASP like this:

If rs.EOF Then
lblInvalid= "Login Failed"
Else
lblInvalid= "Login Successful"
End If

and then elsewhere in the code <%= lblInvalid%>

Thanks Mike, but I am not sure if I am using Clasic asp of not!!! My code
was posted in another post, not so long ago :-( But no one reply...



 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,338 network members.