Sorry it has taken so long - I will look at this today. 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Helen
Ersando
Sent: Tuesday, September 11, 2007 9:47 PM
To: FlexWiki Users Mailing List
Subject: Re: [Flexwiki-users] Admin Page Feature Request

 

this is the fragment:

<NamespaceProviders>
      <Provider Id="28fc295a-20d3-4800-a379-3c6eeeeb3d71"
Type="FlexWiki.SqlProvider.SqlNamespaceProvider" AssemblyName="FlexWiki,
Version= 2.0.0.78, Culture=neutral, PublicKeyToken=null">
        <Parameters>
          <Parameter Name="Namespace" Value="DefaultSqlNamespace" />
          <Parameter Name="ConnectionString" Value=" Data
Source=WPHHE185001-OV7\SQLEXPRESS;Initial
Catalog=FlexwikiSqlStore;Integrated Security=true;" />
        </Parameters>
      </Provider>
</NamespaceProviders> 


and i just would like to get the value of the ConnectionString... this is
the scenario that we would like to achieve when creating a new namespace...
since, we are all for database as the storage (in the admin page), then we
will omit the selection of provider type; thus setting the
DefaultNamespaceProviderForNamespaceCreation to sqlnamespaceprovider... then
we would hide the inputting of ConnectionString; thus setting it by default
(progmmatically)... then, we would like to add an advance option wherein the
administrator can set the authorization (access) to the new namespace... 

with the code that i have shown you, i have placed a string hello in:
        foreach (NamespaceProviderParameter each in provider.Parameters)
        {
                hello = "hello";
                ... 

and have it returned... but it seems that it doesn't go to that section,
since displaying it (calling the method) shows nothing...
btw, how will i debug the source code using visual studio 2005? or is there
a way that you have defined on how to debug this? 

thanks,
helen

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to