FAQ Database Discussion Community

DLL References doesn't work in App_Code classes

I get some troubles with a DLL reference. I have MySql.Data.dll in my bin folder. And I added the reference of this dll to my project. I can well use classes from this dll (like MySqlConnection, MySqlClient, etc) in aspx.cs but i cannot use it in classes from files from...

How to add properties to controls that are created in a class ASP.NET C#?

I have this in my App_Code folder. I am creating a custom control for uploading files. I need to add AllowMultiple property to the FileUpload control .How do I do it? See the comments in the code to see where the fileupload, cannot figure out how to do it from...