views:

157

answers:

1

I want to click a button in a webform page to add an assembly to the web.config file.

How can I do that?

<assemblies>

<add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

</assemblies>
A: 

I believe you can manipulate that section of the web.config via the AssemblyCollection .

Amal Sirisena