legendgod Posted June 26, 2004 Posted June 26, 2004 I am now working on a project which create a web service. I found that many function is duplicate on several pages. And when the function need to be modified, I have to check out all the pages. Sometimes, I want to call page2's functionB in functionA in page1. But it is difficult when the pages are individuals. I have learnd C++ when I was schooling and learnd some of the O-O concept (e.g. public,private,protected). However, since I don't get a proper lesson on .NET and I don't have VS.NET right now (I am using dreamweaver + WebMatrix), it is quite difficult for a newbie like me to figure out how to do it. I wanna search on Google but I don't know what's this tactic named....Can anyone please show me some reference? Any idea with be helpful. Thank you very much. Quote http://blog.legendgod.com
Administrators PlausiblyDamp Posted June 26, 2004 Administrators Posted June 26, 2004 You could create a class within your project and put these functions there, this class could then be accessed from both pages. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.