Swaminathan.M
Swaminathan.M

Reputation: 293

Using .dll file in asp.net application

I'm working on asp.net (web application). I have to use time picker control in my page. Hence i downloaded 'time picker.dll' file from some website. I need to integrate this 'dll' file into my project. can anyone pls guide me in the same?

Upvotes: 1

Views: 7156

Answers (3)

VinayC
VinayC

Reputation: 49165

Assuming dll package the typical ASP.NET server control, you have to add reference to the dll (VS Studio Project -> References -> Right-Click & Add Reference, Browse the dll file).

Next thing to do is to add the control on tool box by right clicking on the toolbox and selecting the control. Now you can drag the control on the ASP.NET Design surface. Alternatively, you can use the object browser to check the control name and use the register directive.

Upvotes: 0

endyourif
endyourif

Reputation: 2202

You would add it as a reference in the project. Right click on VS and add reference and browse to it.

In your file include a using statement for the namespace of the DLL and then you should be able to instantiate a new object.

Upvotes: 2

KV Prajapati
KV Prajapati

Reputation: 94625

Copy the "time picker.dll" into the Bin folder of your web-app and add <%@Register %> directive into your web-page to use that control.

Upvotes: 0

Related Questions