Search

You searched for the word(s): userid:478205

Matching Posts

  • Re: -- SiteMapProvider class

    I have add the name of DLL in the web.config : <appSettings/> <connectionStrings> <add connectionString="server=.;trusted_connection=true;database=Cepir" name="connection"/> </connectionStrings> <system.web> <siteMap defaultProvider="tstPro" enabled="true"> <providers> <add name="tstPro" type="Cepir.MySiteMapProvider, MySiteMapProvider.dll" connectionStringKey="connection"/> <
  • Re: -- SiteMapProvider class

    I compile MySiteMapProvider.cs file in MySiteMapProvider.dll. I add a reference (MySiteMapProvider.dll), VS has create a new bin folder with the dll file. But I have always this error : Exception Details: System.Web.HttpException: The SiteMapProvider 'MySiteMapProvider' cannot be found. :(
  • Re: -- SiteMapProvider class

    My file is in the Code folder. I'll try to compile it and add to the assembly.
  • Re: -- SiteMapProvider class

    Hello, Thanks for your answer. I place the "command.Connection = conn " after "command.CommandText" as you write. But I have a new error message : "Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: The SiteMapProvider 'MySiteMapProvider' cannot be found." I despair :'(
  • Re: -- SiteMapProvider class

    Ok, finally i've found an example I adapt to use with SQL SERVER : using System; using System.Web; using System.Data.SqlClient; using System.Data.SqlTypes; using System.Data; using System.Configuration; using System.Configuration.Provider; using System.Collections; using System.Collections.Specialized; /// <summary> /// Définit un nouveau provider pour le SiteMap /// </summary> /// namespace Cepir { public class MySiteMapProvider : SiteMapProvider { private SiteMapProvider parentSiteMapProvider
  • -- SiteMapProvider class

    Frederik and I agree with him, thinks the follow mail could be interesting for anyone. So, I post it here : **************************************************************************** Hello, I'm a beginner in C# and I'm looking for an example about an extended SiteMapProvider class. I don't know how (and what) methods overriding to get menu items extract from a database. Could you give me an example or a url about this ? Thank you very well. Best regards, Florian ----- Hi, You can find the http
  • Re: Building Menus Dynamically

    Hello, I need to write a class extends SiteMapProvider class too, but I'm a newbie in C# and I don't know how to write it :'(. I would like to populate the SiteMapDataSource with a Sqlserver Table. somebody could write a short example please ? Thanks very well !
  • XPathDocument - Save some XML elements

    Hello, I'm a beginner in C# and ASP.NET. I would like to copy in a new xml file some elements from a existing xml file. so I wrote this : XPathDocument doc = new XPathDocument(Server.MapPath("testi.xml")); XPathNavigator nav = doc.CreateNavigator(); XPathExpression Expr = nav.Compile("/svg//g[@id='"+ Request.QueryString["ID"]+"']//ancestor-or-self::*"); Now, how to write in to a xml file, elements in Expr ? Thanks.
    Posted to XML and XmlDataSource Control (Forum) by ezeckiel on 7/30/2004
Page 1 of 1 (9 items)