by: Michael Debus |
last post by:
Hi, I try to read a value from app.config file using this code:
string
s=System.Configuration.ConfigurationManager.AppSettings.ToString();
I got the compiler error:
Error 1 The type or...
|
by: natasha |
last post by:
Hello everybody,
you can use ConfigurationManager.AppSettings.Set method
(ConfigurationManager is in System.Web.Configuration namespace) to store a
modified value from web.config.
To be...
|
by: Peter Kirk |
last post by:
Hi there
is there any way to tell what .config file the property
System.Configuration.ConfigurationManager.AppSettings is trying to access?
I have a class which uses this property but no...
|
by: Mark |
last post by:
I am trying to read the appsettings section of a configuration file
using the ConfigurationManager object (ASP.NET application) with the
following three lines but for some reason the...
|
by: Jim in Arizona |
last post by:
I've been using VB 2005 for a few years now. My entire coding history is
VB related.
This weekend I decided to start learning C#. I'm at work now and decided
to do some coding in C# that I would...
|
by: sandy.82in |
last post by:
Hi
I'm new to C# , I'm using VS2005 and .NET2.0 .Here is my
issue i just developed a simple application with app.config , and a
simple class library and following is my app.configfile
<?xml...
|
by: Johnny Jörgensen |
last post by:
I don't get the ConfigurationManager object. All I want to do is store my
application settings and retrieve them on the next run.
I instantiate the Configuration:
static private Configuration...
|
by: remya1000 |
last post by:
i'm using VB.NET 2003.
Last time while i did a program in Vb.Net 2005, i use "Configuration". and i could read and write to that XML configuration file like the example below.
CODES:...
|
by: Thomas Bauer |
last post by:
Hello,
I have a config file.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="Directory" value="C:\_Database\" />
<add key="CloseApplication" value="0" />...
|
by: Tom |
last post by:
This seems odd ...
While debugging my application in VS2008, I can successfully retrieve values
from my configuration file doing the following:
string bla = ConfigurationManager.AppSettings;
...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|