PC Review


Reply
Thread Tools Rate Thread

ASP.Net Newbie question

 
 
ranch99ranch99@gmail.com
Guest
Posts: n/a
 
      31st May 2007
I read a piece of code like the following

<asp:TextBox id=myTextBox ...> </asp:TextBox>

Does asp in asp:TextBox is a namespace?

 
Reply With Quote
 
 
 
 
Mike
Guest
Posts: n/a
 
      31st May 2007
its an asp.net control.

a namespace is like
System.IO;
System.Data


check out this:
http://msdn2.microsoft.com/en-us/library/ms973231.aspx



<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I read a piece of code like the following
>
> <asp:TextBox id=myTextBox ...> </asp:TextBox>
>
> Does asp in asp:TextBox is a namespace?
>



 
Reply With Quote
 
bruce barker
Guest
Posts: n/a
 
      31st May 2007
its an xml namespace reference not to be confused with a .net namespace.

-- bruce (sqlwork.com)



(E-Mail Removed) wrote:
> I read a piece of code like the following
>
> <asp:TextBox id=myTextBox ...> </asp:TextBox>
>
> Does asp in asp:TextBox is a namespace?
>

 
Reply With Quote
 
Juan T. Llibre
Guest
Posts: n/a
 
      31st May 2007
It's an ASP.NET web server control.

See :
http://msdn2.microsoft.com/en-us/library/fhc2c904(VS.71).aspx

There's other ASP.NET web server controls which serve different purposes.

See :
http://msdn2.microsoft.com/en-us/library/zfzfkea6(VS.71).aspx




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
======================================
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I read a piece of code like the following
>
> <asp:TextBox id=myTextBox ...> </asp:TextBox>
>
> Does asp in asp:TextBox is a namespace?
>



 
Reply With Quote
 
ranch99ranch99@gmail.com
Guest
Posts: n/a
 
      31st May 2007
In C#, we can use using namepsace to avoid wring namespace.
I wonder for xml namespace, is there any similar usage?


On May 31, 11:35 am, bruce barker <nos...@nospam.com> wrote:
> its an xml namespace reference not to be confused with a .net namespace.
>
> -- bruce (sqlwork.com)
>
>
>
> ranch99ranc...@gmail.com wrote:
> > I read a piece of code like the following

>
> > <asp:TextBox id=myTextBox ...> </asp:TextBox>

>
> > Does asp in asp:TextBox is a namespace?- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
ranch99ranch99@gmail.com
Guest
Posts: n/a
 
      1st Jun 2007
In C#, we can use using namepsace to avoid wring namespace.
I wonder for xml namespace, is there any similar usage?


On May 31, 11:35 am, bruce barker <nos...@nospam.com> wrote:
> its an xml namespace reference not to be confused with a .net namespace.
>
> -- bruce (sqlwork.com)
>
>
>
> ranch99ranc...@gmail.com wrote:
> > I read a piece of code like the following

>
> > <asp:TextBox id=myTextBox ...> </asp:TextBox>

>
> > Does asp in asp:TextBox is a namespace?- Hide quoted text -

>
> - Show quoted text -



 
Reply With Quote
 
Juan T. Llibre
Guest
Posts: n/a
 
      1st Jun 2007
re:
!> <asp:TextBox id=myTextBox ...> </asp:TextBox>

Although that *looks* like an xml namespace reference,
it's actually a reference to an ASP.NET web server control.

Just because the naming convention for an ASP.NET web server control
*uses* xml-like syntax, doesn't mean that it's an xml namespace reference.

For one, the <asp: reference exists within aspx source code, which isn't xml-based.

web.config and machine.config are xml documents.
*.aspx source code files aren't.




Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
======================================
<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In C#, we can use using namepsace to avoid wring namespace.
> I wonder for xml namespace, is there any similar usage?



> On May 31, 11:35 am, bruce barker <nos...@nospam.com> wrote:
>> its an xml namespace reference not to be confused with a .net namespace.
>>
>> -- bruce (sqlwork.com)


>> ranch99ranc...@gmail.com wrote:
>> > I read a piece of code like the following

>>
>> > <asp:TextBox id=myTextBox ...> </asp:TextBox>

>>
>> > Does asp in asp:TextBox is a namespace?- Hide quoted text -

>>
>> - Show quoted text -

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Real Newbie newbie question Dave Microsoft Excel New Users 1 10th Jan 2007 07:55 PM
Newbie Question - Subtraction Formula Question admiral_victory@iol.ie Microsoft Excel Misc 3 5th May 2006 05:50 PM
VPN question from newbie Kelvin Microsoft Windows 2000 RAS Routing 1 17th Apr 2004 03:34 AM
Arraylist simple question (newbie) OT (for a CF project, but not necessarily a CF question?) Keith R Microsoft Dot NET Compact Framework 1 2nd Dec 2003 10:27 PM
Question re: different shells - newbie question PJC Windows XP Embedded 1 25th Nov 2003 11:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:36 AM.