| | |
How it is possible tu use a class that is in a new vb file??
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
Here is an example using a class called MyClass in Page1.aspx
In you class file:
In your code behind page:
So, you are replacing "Inherits System.Web.UI.Page" in your codebehind pages with the name of your class.
-sypher
In you class file:
ASP.NET Syntax (Toggle Plain Text)
Public Class MyClass Inherits System.Web.UI.Page
In your code behind page:
ASP.NET Syntax (Toggle Plain Text)
Public Class Page1 Inherits MyClass
So, you are replacing "Inherits System.Web.UI.Page" in your codebehind pages with the name of your class.
-sypher
![]() |
Similar Threads
- Custom Class - File I/O (C++)
- finding a class inside a jar file (Java)
- Reading an input file as a class memeber function (C++)
- Two-way class communication (C++)
- Initializing an array as a class mamber (C++)
- Help with Class, stuck. (C++)
- unresolved external symbol when using a hashtable class (C++)
- problem reading text file to struct (C++)
- Class Passing and Returning Arrays (Java)
Other Threads in the ASP.NET Forum
- Previous Thread: hide checkbox in grid appropriately
- Next Thread: Web Server controls to a file
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 activexcontrol advice ajax alltypeofvideos anathor appliances application asp asp.net bc30451 beginner bottomasp.net box browser button c# cac checkbox click commonfunctions dataaccesslayer database datagridview datagridviewcheckbox datalist development dgv dialog dropdownlist dynamically edit expose feedback fileuploader fill flash form formatdecimal formview google grid gridview gudi iframe iis image javascript list listbox login microsoft mono mouse mssql news numerical opera panelmasterpagebuttoncontrols parent project radio redirect registration relationaldatabases reportemail richtextbox save schoolproject search security select sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking treeview unauthorized validatedate validation vb.net video videos view vista visualstudio web webapplications webdevelopemnt webprogramming webservice xsl youareanotmemberofthedebuggerusers





