Login    Forum    Search    FAQ   Blog

Board index » Server Side Development » ASP 3.0




 Page 1 of 1 [ 2 posts ] 



Author Message
 Post subject: custom application setting in the web condiguration
 Post Posted: Sun Nov 22, 2009 12:56 pm 
Offline

Joined: Sat Feb 21, 2009 11:25 am
Posts: 54
Code:
<customAppSettings>
    <generalSettings>
      <add key="UploadFolder" value="Images" />
      <!-- Usage of file is Mb value *1024 * 1024 e.g. 5Mb = 5242880b -->
      <add key="lMaxFileSize" value="2097152" /><!-- specified in bytes -->
    </generalSettings>
    <databaseSettings>
      <add key="connectionString" value="Data Source=10.10.1.153;Database=figures;User id=user1;password=pass1" />
    </databaseSettings>
</customAppSettings>


could anyone tell me where 2 put dis under in ma web.config file. If i
did just paste it in it n give the errors.
Thanks in advance.


Top 
 Post subject: Re: custom application setting in the web condiguration
 Post Posted: Sun Nov 22, 2009 12:57 pm 
Offline

Joined: Sat Feb 21, 2009 11:06 am
Posts: 1794
Just put da <add key ... > sections in da existin <appSettings>
section.


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 2 posts ] 




Board index » Server Side Development » ASP 3.0


Who is online

Users browsing this forum: No registered users and 3 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron