在asp.net中访问另一个类中的一个类函数 [英] access one class function in another class in asp.net
本文介绍了在asp.net中访问另一个类中的一个类函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想访问内容页面类并在另一个内容页面类中起作用我如何在asp.net中做到这一点,请帮帮我吗????
I want to access content page class and function in another content page class how can i do this in asp.net please help me????
推荐答案
如果与方法有关,则将其公开和使用 Page.PreviousPage属性 [ ^ ]
看到有多个选项可用于将数据从一页传输到另一页.
-查看状态
-控制状态
-隐藏的字段
-饼干
-查询字符串
-应用程序状态
-会话状态
-配置文件属性
If it is related to method, Make it public & use Page.PreviousPage Property [^]
See there are multiple options you have for transferring data from one page to another.
-View state
-Control state
-Hidden fields
-Cookies
-Query strings
-Application state
-Session state
-Profile Properties
这篇关于在asp.net中访问另一个类中的一个类函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文