Form data to DLL function

  • Thread starter Thread starter NewEnglandCamper
  • Start date Start date
N

NewEnglandCamper

Another ASP.NET (using C#) Newbie here.

I need to pass form data from my ASP.NET generated page to a C# library
(which I'm am also writing). I've tried using HTTPRequest without no
success.

What is the best approach to complete this? Any sample code? Any ideas?

The code is restricted so I can't post it.

thanks!

BC
 
If this is a class library, you can reference the library from your
asp.net project and use the types from the library directly. Create
new instances of the types and call methods passing the data as
parameters.
 
You can use session variables. In the dll this will do:

System.Web.HttpContext.Current.Session["myVariable"]

Eliyahu
 

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

Back
Top