473,322 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Page directive- Inherits

Hi

This could be easy for most of you, I come across with the following in one
of the aspx files

<%@ Page language="c#" Inherits="ASPDS.Admin" %>

, and under the bin directory I found a dll file named ASPDS.dll

Can anyone advise on how to interpret this?

TIA

--

Nov 19 '05 #1
3 2252

It's just your project's assembly. Is it strange? I think not.

Gaidar

<dl> wrote in message news:em*************@TK2MSFTNGP14.phx.gbl...
Hi

This could be easy for most of you, I come across with the following in
one
of the aspx files

<%@ Page language="c#" Inherits="ASPDS.Admin" %>

, and under the bin directory I found a dll file named ASPDS.dll

Can anyone advise on how to interpret this?

TIA

--

Nov 19 '05 #2
There *is* something strange about it.

The keyword "Inherits" usually refers to a code-behind
class for the page to inherit. This can be any class derived
from the Page class, but does not refer to assemblies.

The usual way to refer to classes
in assemblies in the /bin directory is :

<%@ Import Namespace="YourClassName" %>

Look for a file named ASPDS.cs.

It should have a class named "Admin".


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"gaidar" <ga****@vbstreets.ru> wrote in message
news:e9**************@TK2MSFTNGP10.phx.gbl...
It's just your project's assembly. Is it strange? I think not.
Gaidar <dl> wrote in message news:em*************@TK2MSFTNGP14.phx.gbl...
Hi

This could be easy for most of you, I come across with the following in
one of the aspx files

<%@ Page language="c#" Inherits="ASPDS.Admin" %>
and under the bin directory I found a dll file named ASPDS.dll

Can anyone advise on how to interpret this?

TIA

Nov 19 '05 #3
I don't know, because I found another aspx file with this line
<% @Page language="c#" Inherits="ASPDS.CreateOU" %>
yet another aspx file with
<% @Page language="c#" Inherits="ASPDS.XXXX" %>

I guess this is an assembly, but if this is a multifile assembly, why didn't
I find any *.netmodule file? Do you mean once we complied the final dll, we
would not need the reference file .netmodule at runtime?

Many Thanks

"gaidar" <ga****@vbstreets.ru> wrote in message
news:e9**************@TK2MSFTNGP10.phx.gbl...

It's just your project's assembly. Is it strange? I think not.

Gaidar

<dl> wrote in message news:em*************@TK2MSFTNGP14.phx.gbl...
Hi

This could be easy for most of you, I come across with the following in
one
of the aspx files

<%@ Page language="c#" Inherits="ASPDS.Admin" %>

, and under the bin directory I found a dll file named ASPDS.dll

Can anyone advise on how to interpret this?

TIA

--


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Kevin Buchan | last post by:
I have a web page that I want to JIT compile using the 'src' attribute in the Page directive. I've done this many times and life has normally been great, as a result. However, I find myself...
2
by: Tim Zych | last post by:
I'm trying to stop .Net from validating data entered into a textbox. When I enter < or > .Net returns an error: potentially dangerous Request.Form value was detected from the client... so a...
1
by: Horace | last post by:
Hello Does anyone know how to remove (or make more general) both the Imports clause (in a class .vb file) and the Page directive (specifically the Inherits clause in a web page .aspx file). ...
2
by: Martin Rosén-Lidholm | last post by:
In ASP.NET 2.0 (using VS.NET 2005 beta 1), you can define an available base class in the web.config file. I can also define the available base class for a class by using the Inherits attribute...
11
by: Jeff | last post by:
Hi - I'm trying to get my ASP.NET pages to work the same way on my development machine (running from the VS.NET IDE) and on a remote (3rd-party) server. The only way I've been able to come up...
2
by: rjack | last post by:
I'm using VS 2005 Beta 2. In VS 2003, the Page directive in an aspx page has Language and CodeBehind attributes. You can have the language be different than the code behind file language. For...
1
by: Poppy | last post by:
I opened an asp page in VS.net 2002 and then saved it as an aspx page. I was prompted if I wanted to create the class file for the page and clicked yes. Now when I try and open the page I get...
5
by: homertbush | last post by:
When our asp.net pages are rendered out as html the page directive is still in the html. ie. The following page directive is present in the body of the html of the rendered page: <%@ Page...
4
by: senfo | last post by:
This is probably a really stupid question, but what exactly is the <%@ Page %directive? I thought I knew the answer to this, but now I'm not so sure that I do. Essentially, what I'd hope to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.