InfoPath project in .NET - InfoPath Dev
in

InfoPath Dev

InfoPath project in .NET

Last post 03-07-2006 11:33 PM by liorlankri. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-07-2006 11:33 PM

    InfoPath project in .NET

    I created InfoPath project in .NET (c#). I add to the project an application config (App.config) file. In the App.config file I have this code:

    <configuration>
    <appSettings>
    <add key="ListName" value="MyForms" />
    </appSettings>
    </configuration>

    In the form's code I have this code:

    string listname=System.Configuration.ConfigurationSettings.AppSettings["ListName"];

    this.thisXDocument.UI.Alert(listname);

    But I get nothing in the alert!!!
    What is the problem? why can I work with config
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.