<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwizguide.com/rss_namespace/">
 <channel>
  <title>Datakent Forum : [C#]-Web.Config ayarını bir çırpıda değiştirmek</title>
  <link>http://forum.datakent.com/</link>
  <description>XML içerik linki; Datakent Forum : C# &amp; ASP.NET : [C#]-Web.Config ayarını bir çırpıda değiştirmek</description>
  <pubDate>Sat, 02 May 2026 10:38:03 +0000</pubDate>
  <lastBuildDate>Fri, 23 Jul 2010 10:37:17 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.54</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.datakent.com/RSS_post_feed.asp?TID=1956</WebWizForums:feedURL>
  <image>
   <title>Datakent Forum</title>
   <url>http://forum.datakent.com/forum_images/datakent.com_forums.png</url>
   <link>http://forum.datakent.com/</link>
  </image>
  <item>
   <title>[C#]-Web.Config ayarını bir çırpıda değiştirmek : Murat abi &#351;u kod &#231;ok i&#351;ime yar...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4280#4280</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3122" rel="nofollow">turknetyazilim</a><br /><strong>Konu:</strong> 1956<br /><strong>Gönderim Zamanı:</strong> 23.Temmuz.2010 Saat 10:37<br /><br />Murat abi şu kod çok işime yarayacak<DIV>Label1.Text&nbsp;=&nbsp;(exc.Message&nbsp;+&nbsp;<SPAN style="COLOR: #a31515">"&lt;br&nbsp;/&gt;"</SPAN>&nbsp;+&nbsp;exc.StackTrace).Replace(<SPAN style="COLOR: #a31515">"\n"</SPAN>,&nbsp;<SPAN style="COLOR: #a31515">"&lt;br&nbsp;/&gt;"</SPAN>);</DIV><DIV><BR>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 23 Jul 2010 10:37:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4280#4280</guid>
  </item> 
  <item>
   <title>[C#]-Web.Config ayarını bir çırpıda değiştirmek : null olup olmad&#305;g&#305;n&#305; denetlemek...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4276#4276</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3864" rel="nofollow">h.cetiner</a><br /><strong>Konu:</strong> 1956<br /><strong>Gönderim Zamanı:</strong> 22.Temmuz.2010 Saat 23:59<br /><br /><P>null olup olmadıgını denetlemek &nbsp;aklıma gelmemişti</P><DIV>çok teşekkürler</DIV>]]>
   </description>
   <pubDate>Thu, 22 Jul 2010 23:59:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4276#4276</guid>
  </item> 
  <item>
   <title>[C#]-Web.Config ayarını bir çırpıda değiştirmek : protectedvoidPage_Load(objects...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4275#4275</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=1" rel="nofollow">murat turan</a><br /><strong>Konu:</strong> 1956<br /><strong>Gönderim Zamanı:</strong> 22.Temmuz.2010 Saat 21:13<br /><br /><PRE style="FONT-FAMILY: c&#111;nsolas"><PRE style="FONT-FAMILY: c&#111;nsolas">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">protected</SPAN>&nbsp;<SPAN style="COLOR: blue">void</SPAN>&nbsp;Page_Load(<SPAN style="COLOR: blue">object</SPAN>&nbsp;sender,&nbsp;<SPAN style="COLOR: #2b91af">EventArgs</SPAN>&nbsp;e)<BR>&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">if</SPAN>&nbsp;(!IsPostBack)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.Configuration.<SPAN style="COLOR: #2b91af">Configuration</SPAN>&nbsp;config&nbsp;=&nbsp;System.Web.Configuration.<SPAN style="COLOR: #2b91af">WebConfigurationManager</SPAN>.OpenWebConfiguration(<SPAN style="COLOR: #a31515">"~"</SPAN>);<BR> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.Configuration.<SPAN style="COLOR: #2b91af">KeyValueConfigurationElement</SPAN>&nbsp;setting&nbsp;=&nbsp;config.AppSettings.Settings&#091;<SPAN style="COLOR: #a31515">"MyValue"</SPAN>&#093;;<BR> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">if</SPAN>&nbsp;(<SPAN style="COLOR: blue">null</SPAN>&nbsp;!=&nbsp;setting)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;textboxValue.Text&nbsp;=&nbsp;setting.Value;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;}</PRE><PRE style="FONT-FAMILY: c&#111;nsolas">&nbsp;</PRE></PRE><PRE style="FONT-FAMILY: c&#111;nsolas">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">protected</SPAN>&nbsp;<SPAN style="COLOR: blue">void</SPAN>&nbsp;Button3_Click(<SPAN style="COLOR: blue">object</SPAN>&nbsp;sender,&nbsp;<SPAN style="COLOR: #2b91af">EventArgs</SPAN>&nbsp;e)<BR>&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">try</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.Configuration.<SPAN style="COLOR: #2b91af">Configuration</SPAN>&nbsp;config&nbsp;=&nbsp;System.Web.Configuration.<SPAN style="COLOR: #2b91af">WebConfigurationManager</SPAN>.OpenWebConfiguration(<SPAN style="COLOR: #a31515">"~"</SPAN>);<BR> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System.Configuration.<SPAN style="COLOR: #2b91af">KeyValueConfigurationElement</SPAN>&nbsp;setting&nbsp;=&nbsp;config.AppSettings.Settings&#091;<SPAN style="COLOR: #a31515">"MyValue"</SPAN>&#093;;<BR> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">if</SPAN>&nbsp;(<SPAN style="COLOR: blue">null</SPAN>&nbsp;!=&nbsp;setting)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;config.AppSettings.Settings&#091;<SPAN style="COLOR: #a31515">"MyValue"</SPAN>&#093;.Value&nbsp;=&nbsp;textboxValue.Text;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">else</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;config.AppSettings.Settings.Add(<SPAN style="COLOR: #a31515">"MyValue"</SPAN>,&nbsp;textboxValue.Text);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR> <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;config.Save();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Label1.Text&nbsp;=&nbsp;<SPAN style="COLOR: #a31515">"Değişiklik&nbsp;kayıt&nbsp;edildi."</SPAN>;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: blue">catch</SPAN>&nbsp;(System.<SPAN style="COLOR: #2b91af">Exception</SPAN>&nbsp;exc)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Label1.Text&nbsp;=&nbsp;(exc.Message&nbsp;+&nbsp;<SPAN style="COLOR: #a31515">"&lt;br&nbsp;/&gt;"</SPAN>&nbsp;+&nbsp;exc.StackTrace).Replace(<SPAN style="COLOR: #a31515">"\n"</SPAN>,&nbsp;<SPAN style="COLOR: #a31515">"&lt;br&nbsp;/&gt;"</SPAN>);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;}</PRE>]]>
   </description>
   <pubDate>Thu, 22 Jul 2010 21:13:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4275#4275</guid>
  </item> 
  <item>
   <title>[C#]-Web.Config ayarını bir çırpıda değiştirmek : yapcak bi&#351;ey yok hocam Hocam...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4274#4274</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3122" rel="nofollow">turknetyazilim</a><br /><strong>Konu:</strong> 1956<br /><strong>Gönderim Zamanı:</strong> 22.Temmuz.2010 Saat 10:43<br /><br />yapcak bişey yok hocam<img src="http://forum.datakent.com/smileys/smiley4.gif" height="17" width="17" border="0" alt="Big smile" title="Big smile" /><DIV>Hocam Habire Framework sürümünü yükselteceklerine şu methodları adam etseler daha iyi olacak.</DIV><DIV>Neymiş&nbsp; Net 4.0 : Peh </DIV><DIV>Gidin adam gibi iki tane bileşen ekleyin.Hey gidi delphim benim.<BR>Net çıktı mertlik bozuldu...</DIV><DIV>&nbsp;</DIV><DIV>Hayır o Özelliği neden readonly yapıyosun.Ne geçiyo eline. hem okunabilir yapsan ne olcak.<BR>bide diyolar sağda solda.Neyle başlasam diye. Vb.Net mi c# mı diye</DIV><DIV>Ondan sonra diyolar.C# ile başla o ileri düzey bir dil...</DIV><DIV>Al başla ondan sonra bir özelliği değiştireme<img src="http://forum.datakent.com/smileys/smiley4.gif" height="17" width="17" border="0" alt="Big smile" title="Big smile" /></DIV>]]>
   </description>
   <pubDate>Thu, 22 Jul 2010 10:43:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4274#4274</guid>
  </item> 
  <item>
   <title>[C#]-Web.Config ayarını bir çırpıda değiştirmek : C# da remove etmeden de&#287;i&#351;tiremiyoruz....</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4272#4272</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3864" rel="nofollow">h.cetiner</a><br /><strong>Konu:</strong> 1956<br /><strong>Gönderim Zamanı:</strong> 21.Temmuz.2010 Saat 19:44<br /><br /><DIV>C# da remove etmeden değiştiremiyoruz. </DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>yani VB.net ile C# tam olarak aynı şekilde çalışmıyor. </DIV><DIV></DIV>tam standartları oturtamamışlar <span style="font-size:10px"><br /><br />Düzenleyen h.cetiner - 21.Temmuz.2010 Saat 21:03</span>]]>
   </description>
   <pubDate>Wed, 21 Jul 2010 19:44:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4272#4272</guid>
  </item> 
  <item>
   <title>[C#]-Web.Config ayarını bir çırpıda değiştirmek : VB de g&#252;zel .sorun yok: ama ben...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4271#4271</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3864" rel="nofollow">h.cetiner</a><br /><strong>Konu:</strong> 1956<br /><strong>Gönderim Zamanı:</strong> 21.Temmuz.2010 Saat 19:42<br /><br />VB de güzel .sorun yok:<DIV>ama ben C# kısıtlamasından bahsediyorum</DIV><DIV>C# da şu yok</DIV><DIV>myConfiguration<SPAN ="pun">.</SPAN><SPAN ="typ"><FONT color=#2b91af>AppSettings</FONT></SPAN><SPAN ="pun">.</SPAN><SPAN ="typ"><FONT color=#2b91af>Settings</FONT></SPAN><SPAN ="pun">.</SPAN><SPAN ="typ"><FONT color=#2b91af>Item&#091;</FONT></SPAN><SPAN ="str"><FONT color=#800000>"myKey"&#093;</FONT></SPAN><SPAN ="pun">.</SPAN><SPAN ="typ"><FONT color=#2b91af>Value</FONT></SPAN></DIV><DIV><SPAN ="typ"><FONT color=#2b91af>ya da şu</FONT></SPAN></DIV><DIV><SPAN ="typ"><FONT color=#2b91af></FONT></SPAN>&nbsp;</DIV><DIV><SPAN ="typ"><FONT color=#2b91af>ya da bunu yazarsan readonly.yani bu properrtnin düzenleyicisi (setter) yok.</FONT></SPAN></DIV><DIV><SPAN ="typ">myConfiguration<SPAN ="pun">.</SPAN><SPAN ="typ"><FONT color=#2b91af>AppSettings</FONT></SPAN><SPAN ="pun">.</SPAN><SPAN ="typ"><FONT color=#2b91af>Settings&#091;</FONT></SPAN><SPAN ="str"><FONT color=#800000>"myKey"&#093;</FONT></SPAN><SPAN ="pun">.</SPAN><SPAN ="typ"><FONT color=#2b91af>Value</FONT></SPAN></SPAN></DIV><DIV><SPAN ="typ"><SPAN ="typ"><FONT color=#2b91af></FONT></SPAN></SPAN>&nbsp;</DIV><DIV><SPAN ="typ"><FONT color=#2b91af></FONT></SPAN>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 21 Jul 2010 19:42:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4271#4271</guid>
  </item> 
  <item>
   <title>[C#]-Web.Config ayarını bir çırpıda değiştirmek : Item(&amp;#034;myKey&amp;#034;).Value...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4269#4269</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3122" rel="nofollow">turknetyazilim</a><br /><strong>Konu:</strong> 1956<br /><strong>Gönderim Zamanı:</strong> 21.Temmuz.2010 Saat 13:35<br /><br /><SPAN ="typ"><FONT color=#2b91af>Item</FONT></SPAN><SPAN ="pun">(</SPAN><SPAN ="str"><FONT color=#800000>"myKey"</FONT></SPAN><SPAN ="pun">).</SPAN><SPAN ="typ"><FONT color=#2b91af>Value </FONT><FONT color=#000000>bu şekilde hocam<img src="http://forum.datakent.com/smileys/smiley1.gif" height="17" width="17" border="0" alt="Smile" title="Smile" /></FONT></SPAN>]]>
   </description>
   <pubDate>Wed, 21 Jul 2010 13:35:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4269#4269</guid>
  </item> 
  <item>
   <title>[C#]-Web.Config ayarını bir çırpıda değiştirmek : Hocam a&#351;a&#287;&#305;daki adres i&#351;inizi...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4268#4268</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3122" rel="nofollow">turknetyazilim</a><br /><strong>Konu:</strong> 1956<br /><strong>Gönderim Zamanı:</strong> 21.Temmuz.2010 Saat 13:34<br /><br />Hocam aşağıdaki adres işinizi görecek galiba<DIV><a href="http://stackoverflow.com/questi&#111;ns/719928/how-do-you-modify-the-web-c&#111;nfig-appsettings-at-runtime" target="_blank">http://stackoverflow.com/questions/719928/how-do-you-modify-the-web-config-appsettings-at-runtime</A><BR><SPAN =tag><FONT color=#800000>&lt;appSettings&gt;</FONT></SPAN><SPAN =pln>&nbsp;<BR>&nbsp; </SPAN><SPAN =tag><FONT color=#800000>&lt;add</FONT></SPAN><SPAN =pln> </SPAN><SPAN =atn><FONT color=#ff0000>key</FONT></SPAN><SPAN =pun>=</SPAN><SPAN =atv><FONT color=#0000ff>"productspagedesc"</FONT></SPAN><SPAN =pln> </SPAN><SPAN =atn><FONT color=#ff0000>value</FONT></SPAN><SPAN =pun>=</SPAN><SPAN =atv><FONT color=#0000ff>"TODO: Edit this default message"</FONT></SPAN><SPAN =pln> </SPAN><SPAN =tag><FONT color=#800000>/&gt;</FONT></SPAN><SPAN =pln>&nbsp;<BR>&nbsp; </SPAN><SPAN =tag><FONT color=#800000>&lt;add</FONT></SPAN><SPAN =pln> </SPAN><SPAN =atn><FONT color=#ff0000>key</FONT></SPAN><SPAN =pun>=</SPAN><SPAN =atv><FONT color=#0000ff>"servicespagedesc"</FONT></SPAN><SPAN =pln> </SPAN><SPAN =atn><FONT color=#ff0000>value</FONT></SPAN><SPAN =pun>=</SPAN><SPAN =atv><FONT color=#0000ff>"TODO: Edit this default message"</FONT></SPAN><SPAN =pln> </SPAN><SPAN =tag><FONT color=#800000>/&gt;</FONT></SPAN><SPAN =pln>&nbsp;<BR>&nbsp; </SPAN><SPAN =tag><FONT color=#800000>&lt;add</FONT></SPAN><SPAN =pln> </SPAN><SPAN =atn><FONT color=#ff0000>key</FONT></SPAN><SPAN =pun>=</SPAN><SPAN =atv><FONT color=#0000ff>"contactspagedesc"</FONT></SPAN><SPAN =pln> </SPAN><SPAN =atn><FONT color=#ff0000>value</FONT></SPAN><SPAN =pun>=</SPAN><SPAN =atv><FONT color=#0000ff>"TODO: Edit this default message"</FONT></SPAN><SPAN =pln> </SPAN><SPAN =tag><FONT color=#800000>/&gt;</FONT></SPAN><SPAN =pln>&nbsp;<BR>&nbsp; </SPAN><SPAN =tag><FONT color=#800000>&lt;add</FONT></SPAN><SPAN =pln> </SPAN><SPAN =atn><FONT color=#ff0000>key</FONT></SPAN><SPAN =pun>=</SPAN><SPAN =atv><FONT color=#0000ff>"aboutpagedesc"</FONT></SPAN><SPAN =pln> </SPAN><SPAN =atn><FONT color=#ff0000>value</FONT></SPAN><SPAN =pun>=</SPAN><SPAN =atv><FONT color=#0000ff>"TODO: Edit this default message"</FONT></SPAN><SPAN =pln> </SPAN><SPAN =tag><FONT color=#800000>/&gt;</FONT></SPAN><SPAN =pln>&nbsp;<BR>&nbsp; </SPAN><SPAN =tag><FONT color=#800000>&lt;add</FONT></SPAN><SPAN =pln> </SPAN><SPAN =atn><FONT color=#ff0000>key</FONT></SPAN><SPAN =pun>=</SPAN><SPAN =atv><FONT color=#0000ff>"homepagedesc"</FONT></SPAN><SPAN =pln> </SPAN><SPAN =atn><FONT color=#ff0000>value</FONT></SPAN><SPAN =pun>=</SPAN><SPAN =atv><FONT color=#0000ff>"TODO: Edit this default message"</FONT></SPAN><SPAN =pln> </SPAN><SPAN =tag><FONT color=#800000>/&gt;</FONT></SPAN><SPAN =pln>&nbsp;<BR>&nbsp;</SPAN><SPAN =tag><FONT color=#800000>&lt;/appSettings&gt;</FONT></SPAN><SPAN =pln>&nbsp;<BR><BR><SPAN =typ><FONT color=#2b91af>Dim</FONT></SPAN><SPAN =pln> myConfiguration </SPAN><SPAN =typ><FONT color=#2b91af>As</FONT></SPAN><SPAN =pln> </SPAN><SPAN =typ><FONT color=#2b91af>Configuration</FONT></SPAN><SPAN =pln> </SPAN><SPAN =pun>=</SPAN><SPAN =pln> </SPAN><SPAN =typ><FONT color=#2b91af>System</FONT></SPAN><SPAN =pun>.</SPAN><SPAN =typ><FONT color=#2b91af>Web</FONT></SPAN><SPAN =pun>.</SPAN><SPAN =typ><FONT color=#2b91af>Configuration</FONT></SPAN><SPAN =pun>.</SPAN><SPAN =typ><FONT color=#2b91af>WebConfigurationManager</FONT></SPAN><SPAN =pun>.</SPAN><SPAN =typ><FONT color=#2b91af>OpenWebConfiguration</FONT></SPAN><SPAN =pun>(</SPAN><SPAN =str><FONT color=#800000>"~"</FONT></SPAN><SPAN =pun>)</SPAN><SPAN =pln>&nbsp;<BR>&nbsp; &nbsp; &nbsp; &nbsp; myConfiguration</SPAN><SPAN =pun>.</SPAN><SPAN =typ><FONT color=#2b91af>ConnectionStrings</FONT></SPAN><SPAN =pun>.</SPAN><SPAN =typ><FONT color=#2b91af>ConnectionStrings</FONT></SPAN><SPAN =pun>(</SPAN><SPAN =str><FONT color=#800000>"myDatabaseName"</FONT></SPAN><SPAN =pun>).</SPAN><SPAN =typ><FONT color=#2b91af>ConnectionString</FONT></SPAN><SPAN =pln> </SPAN><SPAN =pun>=</SPAN><SPAN =pln> txtConnectionString</SPAN><SPAN =pun>.</SPAN><SPAN =typ><FONT color=#2b91af>Text</FONT></SPAN><SPAN =pln>&nbsp;<BR>myConfiguration</SPAN><SPAN =pun>.</SPAN><SPAN =typ><FONT color=#2b91af>AppSettings</FONT></SPAN><SPAN =pun>.</SPAN><SPAN =typ><FONT color=#2b91af>Settings</FONT></SPAN><SPAN =pun>.</SPAN><SPAN =typ><FONT color=#2b91af>Item</FONT></SPAN><SPAN =pun>(</SPAN><SPAN =str><FONT color=#800000>"myKey"</FONT></SPAN><SPAN =pun>).</SPAN><SPAN =typ><FONT color=#2b91af>Value</FONT></SPAN><SPAN =pln> </SPAN><SPAN =pun>=</SPAN><SPAN =pln> txtmyKey</SPAN><SPAN =pun>.</SPAN><SPAN =typ><FONT color=#2b91af>Text</FONT></SPAN><SPAN =pln>&nbsp;<BR>myConfiguration</SPAN><SPAN =pun>.</SPAN><SPAN =typ><FONT color=#2b91af>Save</FONT></SPAN><SPAN =pun>()</SPAN><SPAN =pln>&nbsp;<BR></SPAN></SPAN></DIV>]]>
   </description>
   <pubDate>Wed, 21 Jul 2010 13:34:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4268#4268</guid>
  </item> 
  <item>
   <title>[C#]-Web.Config ayarını bir çırpıda değiştirmek : bu sorunsal da &#231;&#246;z&#252;ld&#252; ancak :  soruyu...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4266#4266</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3864" rel="nofollow">h.cetiner</a><br /><strong>Konu:</strong> 1956<br /><strong>Gönderim Zamanı:</strong> 20.Temmuz.2010 Saat 21:46<br /><br /><DIV>bu sorunsal da çözüldü ancak :</DIV><DIV>&nbsp;</DIV><DIV>soruyu basitleştireyim </DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>AppSettings</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>Settings</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>Remove&nbsp;</FONT></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2><BR></FONT></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>kullanmadan bu iş olmuyormu ? settings in set özelliği yok C# da VB de var...</FONT></FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>yani mutlaka key i önce silip sonra add ile eklemek mi lazım mutlaka ?</FONT></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2></DIV></FONT></FONT><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2></FONT></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>&nbsp;</DIV></FONT></FONT><span style="font-size:10px"><br /><br />Düzenleyen h.cetiner - 20.Temmuz.2010 Saat 21:47</span>]]>
   </description>
   <pubDate>Tue, 20 Jul 2010 21:46:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4266#4266</guid>
  </item> 
  <item>
   <title>[C#]-Web.Config ayarını bir çırpıda değiştirmek : sorum basit gibi : string a=...</title>
   <link>http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4265#4265</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="http://forum.datakent.com/member_profile.asp?PF=3864" rel="nofollow">h.cetiner</a><br /><strong>Konu:</strong> 1956<br /><strong>Gönderim Zamanı:</strong> 20.Temmuz.2010 Saat 21:24<br /><br /><P>sorum basit gibi :</P><FONT color=#008000 size=2><FONT color=#008000 size=2><P>string a= ConfigurationManager.AppSettings&#091;"Anahtar"&#093;</P><DIV><FONT color=#000000>ile Web.Config ayarını okuyabiliyorum</FONT></DIV><DIV><FONT color=#000000>ancak bu veriyi nasıl değşitirebilirim ?</FONT></DIV><DIV>&nbsp;</DIV><DIV><FONT color=#000000>değişmesine değişiyor ancak web.config de bi değşiklik yok.</FONT></DIV><DIV><P>ConfigurationManager.AppSettings&#091;"Anahtar"&#093;=a;</P></DIV><DIV><FONT color=#000000>cache mi nereye yazıyorsa</FONT></DIV><DIV><FONT color=#000000>bu veriyi değiştirip geri kaydetmek istiyorum.</FONT></DIV><DIV><FONT color=#000000>nasıl yapabilirim ?</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000>(şimdiden teşekkürler)<FONT size=2><FONT size=2></DIV></FONT></FONT></FONT></FONT></FONT><span style="font-size:10px"><br /><br />Düzenleyen h.cetiner - 21.Temmuz.2010 Saat 19:46</span>]]>
   </description>
   <pubDate>Tue, 20 Jul 2010 21:24:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.datakent.com/forum_posts.asp?TID=1956&amp;PID=4265#4265</guid>
  </item> 
 </channel>
</rss>