J
Jim Bunton
I have written asp web pages using vbscript and I am used to using include
files.
E.G.
<!-- #include file = "adovbs.inc" -->
<!-- #include file = "MyInclude.asp" -->
BUT - I guess it's time to move on!
So I'm 'having a go' with Ms Visual Web Developer (Express)
vb.net etc
AND my grasp of 'Object Orientated' is a bit shakey]
?? start ??
1. do I need something like adovbs in this environment
2. 'MyInclude' is generally a set of Function and procedures often used.
eg
Function OpenSuppliers (Cn, CursorToUse, LockToUse)
Dim sql, Rs
set Rs = Server.CreateObject("ADODB.Recordset")
sql="SELECT * FROM Suppliers "
Rs.open Sql,Cn, CursorToUse,LockToUse,adCmdText
Set OpenSuppliers = Rs
End Function
How do I implement such functions in in an include file this new environment
?? end ??
files.
E.G.
<!-- #include file = "adovbs.inc" -->
<!-- #include file = "MyInclude.asp" -->
BUT - I guess it's time to move on!
So I'm 'having a go' with Ms Visual Web Developer (Express)
vb.net etc
AND my grasp of 'Object Orientated' is a bit shakey]
?? start ??
1. do I need something like adovbs in this environment
2. 'MyInclude' is generally a set of Function and procedures often used.
eg
Function OpenSuppliers (Cn, CursorToUse, LockToUse)
Dim sql, Rs
set Rs = Server.CreateObject("ADODB.Recordset")
sql="SELECT * FROM Suppliers "
Rs.open Sql,Cn, CursorToUse,LockToUse,adCmdText
Set OpenSuppliers = Rs
End Function
How do I implement such functions in in an include file this new environment
?? end ??