Link to home
Start Free TrialLog in
Avatar of Mike Broderick
Mike BroderickFlag for United States of America

asked on

how to access a user-written dll's functions in aspx single page (not -codebehind)

I want to write an aspx page (single page preferred over code behind) that has a script block that calls functions I put in a dll. Can somebody give me a Hello world example. To make it simple, assume the function in the dll has one string parameter and returns a string value. Put the return value in a textbox at page load or something simple. I'm interested in the syntax to connect to the dll. If important, I have VS 2005.

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Sachintana Dissanayake
Sachintana Dissanayake
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mike Broderick

ASKER

OK. Thanks.
I tried it and it worked. I apologize but I wasnt explicit. I did not want to build snippet 2 into a web application. I would like to enter it directly (using notepad or dreamweaver for example). The thing that gets me stuck is how to perform the equivilant to "add a reference" to point to the dll from notepad. Is this possible?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That worked like a champ! Thank you.