How to Execute Code Behind Code in Inline aspx

  • Thread starter Thread starter Kamal Ahmed
  • Start date Start date
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
 
Back
Top