Hi Sketch,
Normaly to much work to type but it is Chrismass time
roughly written so can have errors
\\\\Your page
public class myASPX
Inherits System.Web.UI.Page
Private Sub Page_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
dim mySketch as new sketch
me.label1.text= mySketch.myname
end sub
///
\\\ Your class that you can use on any aspx.vb page in your project
public class Sketch
private myInternName as string
public sub new
myInternName = "Sketch"
end sub
public readonly property myname as string
get
return myInternName
end get
end property
end class
///
"skech" <sk***@seker.zzn.com.bunusil> schreef in bericht
news:O0**************@TK2MSFTNGP09.phx.gbl...
How to use one class file on more aspx page.
I need basic example
Thanks