How do you make a DLL in ASP.Net and draw data from it in another normal ASPX page? I'd like to put my database functions in a DLL and make it handle the DBs with calls - is this possible ?
Cheers!
Printable View
How do you make a DLL in ASP.Net and draw data from it in another normal ASPX page? I'd like to put my database functions in a DLL and make it handle the DBs with calls - is this possible ?
Cheers!
You wouldn't make a dll in ASP.NET...You would make it in one of the .NET languages then call it from your .aspx page. Or you could just create a new class and create the functionality there.
So I'd use, like VB.Net to create what - an activeX DLL(I'm all new to this .Net stuff) - and then... What ?(I want it compiled - it's for security reasons...)
Everything you write in the codebehind of an aspx page is compiled :confused: the only way anyone is going to see it is if you post the .cs .vb files on your web site. You will find the compiled code in the bin directory of your project folder.
DO'H - you're right, my bad...
I asked a friend of mine and he give me a batch that'd do the trick =).
Cheers!