Hi naresh,
Create a DLL file to Web application
You need to create a new project using the template "Class library". Then you can either project reference the "class library" project, or reference the DLL output of it from your web application
Full example of creating a DLL file to web application
Open visual studio --> create new project --> select Class Library\
http://www.lynda.com/Visual-Studio-2010-tutorials/essential-training/Creating-a-class-library/76612-4.html
Implement DLL in web application
1. Create the page as normal with an aspx.vb code-behind file.
2.In the code-behind file, make the Sub declarations Public instead of Protected. Otherwise, you will not be able to call them in the .dll file from your page.
3.For the compiler to recognise them as members of their class, you will need to declare all references to controls using:
Protected WithEvents controlName As System.Web.UI.WebControls.ControlType
You will receive an error message like the one shown below in the Error List window - just ignore it:
'uxSubmit' is already declared as 'Protected Dim WithEvents uxSubmit As System.Web.UI.WebControls.Button' in this class.
4.You will also need to declare the Class as Public instead of Partial.
5.If you don't already have it, download and install the .NET Framework 2.0 Software Development Kit (SDK) from the Microsoft website.
6.From the Start menu, open the SDK command prompt.
7.Navigate to the directory containing your code-behind file.
8.Enter the following command to compile your code-behind file:
vbc /t:library /r:system.dll,system.web.dll default.aspx.vb
9The .dll file will have been created in the same directory as your code-behind file. Now you need to add this to your web application's bin directory. Go back to Visual Web Developer and add a reference to the .dll file you just created:
Website > Add Reference > Browse
The .dll file will be placed automatically in your project's Bin directory.
10.The last thing you will need to do is delete the reference to the CodeFile in your .aspx page's Page header tag.
11.You can now delete the .aspx.vb code-behind file if you wish