How to Execute Code Behind Code in Inline aspx

K

Kamal Ahmed

Hi All,

I have an aspx file written using vb.net that contains code both in code
behind and inline. I want to access variable, object/classes declared in
code behind into inline .aspx file.
e.g. following code is written in File Name: Test.aspx.vb

Imports System.Data
Dim cCode as String
cCode = "ABC"

Now I want to access cCode variable in test.aspx file

How this is possible ??

TIA
 

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

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top