p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 (http://p2p.wrox.com/forumdisplay.php?f=228)
-   -   Using modules (http://p2p.wrox.com/showthread.php?t=62227)

drmacy September 21st, 2007 10:39 AM

Using modules
I have several VB modules that are collections of subroutines and functions that I want to be able to call or reference by code behind my Web pages. For now, I'm using VWD 2005 Express Edition, although I also have VS 2005 available.

Where in the Solution Explorer for my site do I put the module file?

If my module is called MyModule and in it there is a function called MyFunction, how do I reference MyFunction in the button click event (for example) for a button on one of my pages?

All times are GMT -4. The time now is 04:15 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.