Acessing codebehind data from ASPX

F

Fabiano

Please,

i have an webform (.aspx) where i need to acess data of my codebehind (.cs).

Is there a way i can do this? I tryied something like ASP approach with no
sucess.

Any idea?

Tks

Fabiano
 
J

Jeffrey Palermo [MCP]

Fabiano,
Your ASPX page is a class that inherits from your code-behind class, so
any protected or public members (variables, properties, or methods) are
inherited. For example, if you have a public method in your code-behind
file, then the inline code in your ASPX page can just call this method.

Regards,
Jeffrey Palermo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top