PC Review


Reply
Thread Tools Rate Thread

how to call module methods from aspx page code.

 
 
Guoqi Zheng
Guest
Posts: n/a
 
      3rd Sep 2008
Dear Sir,

I have an existing application done in ASP.NET(VB.NET), I need to change one
page of it. Because I am not able to recompile the code and upload the new
dll, I am thinking to use one extra aspx page with <script runat="server">.

I need to call many methods in the vb.net module, how do I do this? the
methods in the modules seems to be treated as "Friend" which means I can not
call them from ASPX page code.

How do call those "Friend" methods in modules?

Regards,

Guoqi Zheng


 
Reply With Quote
 
 
 
 
bruce barker
Guest
Posts: n/a
 
      4th Sep 2008
if you security is set high enough, then you can use reflection to call the
methods.

-- bruce (sqlwork.com)


"Guoqi Zheng" wrote:

> Dear Sir,
>
> I have an existing application done in ASP.NET(VB.NET), I need to change one
> page of it. Because I am not able to recompile the code and upload the new
> dll, I am thinking to use one extra aspx page with <script runat="server">.
>
> I need to call many methods in the vb.net module, how do I do this? the
> methods in the modules seems to be treated as "Friend" which means I can not
> call them from ASPX page code.
>
> How do call those "Friend" methods in modules?
>
> Regards,
>
> Guoqi Zheng
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling Master Page methods directly from Content Page inline code(.aspx file) DevNll2002@gmail.com Microsoft ASP .NET 1 9th Apr 2008 01:51 AM
Call a javascript when i call an aspx page with a form html not running on server Fabio Mastria Microsoft ASP .NET 4 28th Jan 2008 09:05 AM
Web Service/Page Methods , ASPX page and GridView probashi Microsoft ASP .NET 1 28th Aug 2007 03:31 AM
Syntax for call from aspx page to .cs file then to different aspx page MadHatter51 Microsoft ASP .NET 1 17th May 2006 11:43 AM
TRICK: methods in ASPX pages with <%%> code blocks John Rivers Microsoft ASP .NET 18 7th Sep 2005 12:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:05 PM.