Uh... accessing field value from assembly file?

asp.net , csharp Vancouver, Canada
  • 13 years ago

    Apologies for *such* a n00b question.  Still learning the basics -- couldn't find the answer in my o'reilly or via some dedicated web searching yet... maybe I just don't know what to ask.

    I need to read the contents of a Text Box from a c# assembly file.

    This should be easy, right? 

    In the code-behind file I would just be able to call to the item by saying strVar = TextBox1.Text;

    But how to "link" from a c# class file in the App_Code directory?  I'm tinkering with advanced code I didn't write.

    I tried Using System.Web.UI... but I don't see the right way to call to that page that's implementing the object/class file.

    What am I missing?

    Thx in advance,


Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There are only two kinds of languages: the ones people complain about and the ones nobody uses” - Bjarne Stroustrup