Wrox Programmer Forums
|
BOOK: Professional InfoPath 2003
This is the forum to discuss the Wrox book Professional InfoPath 2003 by Ian Williams, Pierre Greborio; ISBN: 9780764557132
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional InfoPath 2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 13th, 2006, 08:13 AM
Authorized User
 
Join Date: Oct 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.ConfigurationSetting s.AppSettings["ListName"];

this.thisXDocument.UI.Alert(listname);

But I get nothing in the alert!!!
What is the problem? why can I work with config






Similar Threads
Thread Thread Starter Forum Replies Last Post
deploying a project in v.net bobwith5 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 September 18th, 2007 07:33 AM
Simple ASP.NET Project anbane80 ASP.NET 1.0 and 1.1 Basics 2 December 8th, 2006 01:20 AM
.Net dependency in .Net Setup project Ahmed_cseng BOOK: ASP.NET Website Programming Problem-Design-Solution 1 September 18th, 2006 09:10 PM
.net project pao Need help with your homework? 2 September 6th, 2006 05:55 AM
VC.NET project questions shmacgregor ASP.NET 1.x and 2.0 Application Design 17 December 9th, 2003 06:16 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.