views:

38

answers:

1

Is that possible to write namespace into some other file commonly.which should be automatically includes my page.

namespace like:using System;

+3  A: 

On web.config add the namespaces section as follows:

<system.web>
        <pages>
              <namespaces>
                    <add namespace ="...your namespace..." />
                    ...
              </namespaces>
              ...
        </pages>
        ...
</system.web>
Anero