<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>chl  informática</title>
	<atom:link href="http://chlinformatica.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://chlinformatica.com</link>
	<description>Blog de informática</description>
	<lastBuildDate>Thu, 17 May 2012 20:48:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>Cómo saber si una variable es indefined</title>
		<link>http://chlinformatica.com/2012/05/17/como-saber-si-una-variable-es-indefined/</link>
		<comments>http://chlinformatica.com/2012/05/17/como-saber-si-una-variable-es-indefined/#comments</comments>
		<pubDate>Thu, 17 May 2012 20:48:47 +0000</pubDate>
		<dc:creator>Fran</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://chlinformatica.com/?p=336</guid>
		<description><![CDATA[Cómo saber si una variable es indefined; if (typeof(nombre)==&#8221;undefined&#8221;)]]></description>
			<content:encoded><![CDATA[<div id="fb_share">
									<div style="float:left;margin-right:10px;" >
										<a name="fb_share"	href="http://www.facebook.com/http://www.facebook.com/pages/chlinformatica/236882386367766"	target="blank">
											<img src="http://chlinformatica.com/wp-content/plugins/facebook-button-plugin/img/standart-facebook-ico.jpg" alt="Fb-Button" />
										</a>	
									</div>
									<div>
										<div id="fb-root"></div>
										<script src="http://connect.facebook.net/en_US/all.js#appId=224313110927811&amp;xfbml=1"></script>
										<fb:like href="http://chlinformatica.com/2012/05/17/como-saber-si-una-variable-es-indefined/" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
									</div>					 
								</div><p>Cómo saber si una variable es indefined;</p>
<p>if (typeof(nombre)==&#8221;undefined&#8221;)</p>
]]></content:encoded>
			<wfw:commentRss>http://chlinformatica.com/2012/05/17/como-saber-si-una-variable-es-indefined/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Equivalente isset en asp.net</title>
		<link>http://chlinformatica.com/2012/04/20/equivalente-isset-en-asp-net/</link>
		<comments>http://chlinformatica.com/2012/04/20/equivalente-isset-en-asp-net/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 19:44:41 +0000</pubDate>
		<dc:creator>Fran</dc:creator>
				<category><![CDATA[asp.net]]></category>

		<guid isPermaLink="false">http://chlinformatica.com/?p=334</guid>
		<description><![CDATA[If Not Identifier Is Nothing end if]]></description>
			<content:encoded><![CDATA[<div id="fb_share">
									<div style="float:left;margin-right:10px;" >
										<a name="fb_share"	href="http://www.facebook.com/http://www.facebook.com/pages/chlinformatica/236882386367766"	target="blank">
											<img src="http://chlinformatica.com/wp-content/plugins/facebook-button-plugin/img/standart-facebook-ico.jpg" alt="Fb-Button" />
										</a>	
									</div>
									<div>
										<div id="fb-root"></div>
										<script src="http://connect.facebook.net/en_US/all.js#appId=224313110927811&amp;xfbml=1"></script>
										<fb:like href="http://chlinformatica.com/2012/04/20/equivalente-isset-en-asp-net/" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
									</div>					 
								</div><p>If Not Identifier Is Nothing<br />
end if</p>
]]></content:encoded>
			<wfw:commentRss>http://chlinformatica.com/2012/04/20/equivalente-isset-en-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cómo simular ajax con un iframe</title>
		<link>http://chlinformatica.com/2012/04/19/como-simular-ajax-con-iframe/</link>
		<comments>http://chlinformatica.com/2012/04/19/como-simular-ajax-con-iframe/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 21:29:07 +0000</pubDate>
		<dc:creator>Fran</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://chlinformatica.com/?p=330</guid>
		<description><![CDATA[Código Javascript que nos permite recuperar el contenido de un iframe, lo utilizaremos para averigual si la operación es correcta o incorrecta. pass=0; function respuesta(){ { var prevfrm = document.getElementById(iframe).contentWindow.document; var recuperar; recuperar=prevfrm.body.innerHTML; if (pass!=0) { result=recuperar.split(&#34;&#124;&#124;&#34;); if (result[1]) alert(&#34;La operacion es correcta&#34;); else alert(&#34;Operacion incorrecta&#34;); } else pass=1; } } Y ahora el código<a href="http://chlinformatica.com/2012/04/19/como-simular-ajax-con-iframe/"> <br /><br /> (Read More...)</a>]]></description>
			<content:encoded><![CDATA[<div id="fb_share">
									<div style="float:left;margin-right:10px;" >
										<a name="fb_share"	href="http://www.facebook.com/http://www.facebook.com/pages/chlinformatica/236882386367766"	target="blank">
											<img src="http://chlinformatica.com/wp-content/plugins/facebook-button-plugin/img/standart-facebook-ico.jpg" alt="Fb-Button" />
										</a>	
									</div>
									<div>
										<div id="fb-root"></div>
										<script src="http://connect.facebook.net/en_US/all.js#appId=224313110927811&amp;xfbml=1"></script>
										<fb:like href="http://chlinformatica.com/2012/04/19/como-simular-ajax-con-iframe/" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
									</div>					 
								</div><p>Código Javascript que nos permite recuperar el contenido de un iframe, lo utilizaremos para averigual si la operación es correcta o incorrecta.</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">pass=0;
function respuesta(){
{
	var prevfrm = document.getElementById(iframe).contentWindow.document;
	var recuperar;
	recuperar=prevfrm.body.innerHTML;
					if (pass!=0)
					{					
						result=recuperar.split(&quot;||&quot;);
							if (result[1])
								alert(&quot;La operacion es correcta&quot;);
							else
								alert(&quot;Operacion incorrecta&quot;);
					}
					else  
						pass=1;
	}
}</pre></div></div>

<p>Y ahora el código HTML</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">&lt;form name=&quot;form&quot; method=&quot;post&quot; action=&quot;fichero.php&quot; target=&quot;oculto&quot;&gt;
&lt;input type=&quot;text&quot; name=&quot;nombre&quot;&gt;
&lt;input type=&quot;submit&quot; value=&quot;Enviar&quot;&gt; 
&lt;/form&gt;
&nbsp;
&lt;iframe onload=&quot;respuesta()&quot; id=&quot;iframe&quot; name=&quot;oculto&quot; style=&quot;display:none&quot;&gt;&lt;/iframe&gt;</pre></div></div>

<p>Código PHP</p>

<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">if ($_POST['nombre']==&quot;mi_nombre&quot;)
 echo &quot;||1||&quot;;
else
echo &quot;||0||&quot;;</pre></div></div>

<p></PRE></p>
<p>Resumiendo, gracias a este código podemos enviar datos en segundo plano y recibir una respuesta de la operación realizada.</p>
]]></content:encoded>
			<wfw:commentRss>http://chlinformatica.com/2012/04/19/como-simular-ajax-con-iframe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Posición de un div con jquery</title>
		<link>http://chlinformatica.com/2012/04/18/posicion-de-div-con-jquery/</link>
		<comments>http://chlinformatica.com/2012/04/18/posicion-de-div-con-jquery/#comments</comments>
		<pubDate>Wed, 18 Apr 2012 20:05:17 +0000</pubDate>
		<dc:creator>Fran</dc:creator>
				<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://chlinformatica.com/?p=328</guid>
		<description><![CDATA[var elemento = $(&#8220;.rel&#8221;); var posicion = elemento.position(); y=posicion.top;]]></description>
			<content:encoded><![CDATA[<div id="fb_share">
									<div style="float:left;margin-right:10px;" >
										<a name="fb_share"	href="http://www.facebook.com/http://www.facebook.com/pages/chlinformatica/236882386367766"	target="blank">
											<img src="http://chlinformatica.com/wp-content/plugins/facebook-button-plugin/img/standart-facebook-ico.jpg" alt="Fb-Button" />
										</a>	
									</div>
									<div>
										<div id="fb-root"></div>
										<script src="http://connect.facebook.net/en_US/all.js#appId=224313110927811&amp;xfbml=1"></script>
										<fb:like href="http://chlinformatica.com/2012/04/18/posicion-de-div-con-jquery/" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
									</div>					 
								</div><p>var elemento = $(&#8220;.rel&#8221;);<br />
var posicion = elemento.position();<br />
y=posicion.top;</p>
]]></content:encoded>
			<wfw:commentRss>http://chlinformatica.com/2012/04/18/posicion-de-div-con-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Incluir avi en HTML</title>
		<link>http://chlinformatica.com/2012/04/15/incluir-avi-en-html/</link>
		<comments>http://chlinformatica.com/2012/04/15/incluir-avi-en-html/#comments</comments>
		<pubDate>Sun, 15 Apr 2012 11:37:14 +0000</pubDate>
		<dc:creator>Fran</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://chlinformatica.com/?p=324</guid>
		<description><![CDATA[&#60;OBJECT CLASSID=&#34;clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95F&#34; HEIGHT=150 WIDTH=150 NAME=Msshow1 ID=Msshow1&#62; &#60;PARAM NAME=&#34;FileName&#34; VALUE=&#34;fireworks.AVI&#34;&#62; &#60;PARAM NAME=&#34;autoStart&#34; VALUE=&#34;true&#34;&#62; &#60;PARAM NAME=&#34;showControls&#34; VALUE=&#34;false&#34;&#62; &#60;PARAM NAME=&#34;PlayCount&#34; VALUE=&#34;20&#34;&#62; &#60;embed src=&#34;fireworks.AVI&#34; width=&#34;150&#34; height=&#34;150&#34; controller=&#34;false&#34; autostart=&#34;true&#34; loop=true&#62; &#60;/EMBED&#62; &#60;/OBJECT&#62;]]></description>
			<content:encoded><![CDATA[<div id="fb_share">
									<div style="float:left;margin-right:10px;" >
										<a name="fb_share"	href="http://www.facebook.com/http://www.facebook.com/pages/chlinformatica/236882386367766"	target="blank">
											<img src="http://chlinformatica.com/wp-content/plugins/facebook-button-plugin/img/standart-facebook-ico.jpg" alt="Fb-Button" />
										</a>	
									</div>
									<div>
										<div id="fb-root"></div>
										<script src="http://connect.facebook.net/en_US/all.js#appId=224313110927811&amp;xfbml=1"></script>
										<fb:like href="http://chlinformatica.com/2012/04/15/incluir-avi-en-html/" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
									</div>					 
								</div>
<div class="wp_syntax"><div class="code"><pre class="language" style="font-family:monospace;">&lt;OBJECT CLASSID=&quot;clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95F&quot;
HEIGHT=150
WIDTH=150
NAME=Msshow1
ID=Msshow1&gt;
&lt;PARAM NAME=&quot;FileName&quot; VALUE=&quot;fireworks.AVI&quot;&gt;
&lt;PARAM NAME=&quot;autoStart&quot; VALUE=&quot;true&quot;&gt;
&lt;PARAM NAME=&quot;showControls&quot; VALUE=&quot;false&quot;&gt;
&lt;PARAM NAME=&quot;PlayCount&quot; VALUE=&quot;20&quot;&gt;
&lt;embed src=&quot;fireworks.AVI&quot; width=&quot;150&quot; height=&quot;150&quot; controller=&quot;false&quot; autostart=&quot;true&quot; loop=true&gt;
&lt;/EMBED&gt;
&lt;/OBJECT&gt;</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://chlinformatica.com/2012/04/15/incluir-avi-en-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Añadir y eliminar estilos con jquery</title>
		<link>http://chlinformatica.com/2012/04/09/anadir-eliminar-estilos-con-jquery/</link>
		<comments>http://chlinformatica.com/2012/04/09/anadir-eliminar-estilos-con-jquery/#comments</comments>
		<pubDate>Mon, 09 Apr 2012 18:15:50 +0000</pubDate>
		<dc:creator>Fran</dc:creator>
				<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://chlinformatica.com/?p=322</guid>
		<description><![CDATA[$(&#8216;#div).removeClass(&#8216;estilo1&#8242;).addClass(&#8216;btn_estilo2);]]></description>
			<content:encoded><![CDATA[<div id="fb_share">
									<div style="float:left;margin-right:10px;" >
										<a name="fb_share"	href="http://www.facebook.com/http://www.facebook.com/pages/chlinformatica/236882386367766"	target="blank">
											<img src="http://chlinformatica.com/wp-content/plugins/facebook-button-plugin/img/standart-facebook-ico.jpg" alt="Fb-Button" />
										</a>	
									</div>
									<div>
										<div id="fb-root"></div>
										<script src="http://connect.facebook.net/en_US/all.js#appId=224313110927811&amp;xfbml=1"></script>
										<fb:like href="http://chlinformatica.com/2012/04/09/anadir-eliminar-estilos-con-jquery/" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
									</div>					 
								</div><p>$(&#8216;#div).removeClass(&#8216;estilo1&#8242;).addClass(&#8216;btn_estilo2); </p>
]]></content:encoded>
			<wfw:commentRss>http://chlinformatica.com/2012/04/09/anadir-eliminar-estilos-con-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Array dinámico con asp.net</title>
		<link>http://chlinformatica.com/2012/04/04/array-dinamico-con-asp-net/</link>
		<comments>http://chlinformatica.com/2012/04/04/array-dinamico-con-asp-net/#comments</comments>
		<pubDate>Wed, 04 Apr 2012 11:47:41 +0000</pubDate>
		<dc:creator>Fran</dc:creator>
				<category><![CDATA[asp.net]]></category>

		<guid isPermaLink="false">http://chlinformatica.com/?p=320</guid>
		<description><![CDATA[Dim array() As String ReDim array(0) array(0) = &#8220;elemento1&#8243; ReDim Preserve array(UBound(array) + 1) array(UBound(array)) = &#8220;elemento2&#8243;]]></description>
			<content:encoded><![CDATA[<div id="fb_share">
									<div style="float:left;margin-right:10px;" >
										<a name="fb_share"	href="http://www.facebook.com/http://www.facebook.com/pages/chlinformatica/236882386367766"	target="blank">
											<img src="http://chlinformatica.com/wp-content/plugins/facebook-button-plugin/img/standart-facebook-ico.jpg" alt="Fb-Button" />
										</a>	
									</div>
									<div>
										<div id="fb-root"></div>
										<script src="http://connect.facebook.net/en_US/all.js#appId=224313110927811&amp;xfbml=1"></script>
										<fb:like href="http://chlinformatica.com/2012/04/04/array-dinamico-con-asp-net/" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
									</div>					 
								</div><p> Dim array() As String<br />
 ReDim array(0)<br />
array(0) = &#8220;elemento1&#8243;<br />
ReDim Preserve array(UBound(array) + 1)<br />
array(UBound(array)) = &#8220;elemento2&#8243;</p>
]]></content:encoded>
			<wfw:commentRss>http://chlinformatica.com/2012/04/04/array-dinamico-con-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Incrementar una fecha en asp.net</title>
		<link>http://chlinformatica.com/2012/04/03/incrementar-una-fecha-en-asp-net/</link>
		<comments>http://chlinformatica.com/2012/04/03/incrementar-una-fecha-en-asp-net/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 21:40:47 +0000</pubDate>
		<dc:creator>Fran</dc:creator>
				<category><![CDATA[asp.net]]></category>

		<guid isPermaLink="false">http://chlinformatica.com/?p=318</guid>
		<description><![CDATA[Con este ejemplo incrementamos seis meses a la fecha introducida. Dim text1 As String Dim fecha As Date fecha=&#8221;01/01/2012&#8243; fecha = DateAdd(&#8220;m&#8221;, 6, fecha) Response.Write(fecha)]]></description>
			<content:encoded><![CDATA[<div id="fb_share">
									<div style="float:left;margin-right:10px;" >
										<a name="fb_share"	href="http://www.facebook.com/http://www.facebook.com/pages/chlinformatica/236882386367766"	target="blank">
											<img src="http://chlinformatica.com/wp-content/plugins/facebook-button-plugin/img/standart-facebook-ico.jpg" alt="Fb-Button" />
										</a>	
									</div>
									<div>
										<div id="fb-root"></div>
										<script src="http://connect.facebook.net/en_US/all.js#appId=224313110927811&amp;xfbml=1"></script>
										<fb:like href="http://chlinformatica.com/2012/04/03/incrementar-una-fecha-en-asp-net/" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
									</div>					 
								</div><p>Con este ejemplo incrementamos seis meses a la fecha introducida.    </p>
<p>    Dim text1 As String<br />
    Dim fecha As Date<br />
    fecha=&#8221;01/01/2012&#8243;<br />
    fecha = DateAdd(&#8220;m&#8221;, 6, fecha)</p>
<p>    Response.Write(fecha)</p>
]]></content:encoded>
			<wfw:commentRss>http://chlinformatica.com/2012/04/03/incrementar-una-fecha-en-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Añadir value al select en ASP.NET</title>
		<link>http://chlinformatica.com/2012/04/03/anadir-al-select-en-asp-net/</link>
		<comments>http://chlinformatica.com/2012/04/03/anadir-al-select-en-asp-net/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 11:55:33 +0000</pubDate>
		<dc:creator>Fran</dc:creator>
				<category><![CDATA[asp.net]]></category>

		<guid isPermaLink="false">http://chlinformatica.com/?p=314</guid>
		<description><![CDATA[ListBox1.Items.Add(New ListItem(nom, valor)) Para resear el select ListBox1.Items.Clear()]]></description>
			<content:encoded><![CDATA[<div id="fb_share">
									<div style="float:left;margin-right:10px;" >
										<a name="fb_share"	href="http://www.facebook.com/http://www.facebook.com/pages/chlinformatica/236882386367766"	target="blank">
											<img src="http://chlinformatica.com/wp-content/plugins/facebook-button-plugin/img/standart-facebook-ico.jpg" alt="Fb-Button" />
										</a>	
									</div>
									<div>
										<div id="fb-root"></div>
										<script src="http://connect.facebook.net/en_US/all.js#appId=224313110927811&amp;xfbml=1"></script>
										<fb:like href="http://chlinformatica.com/2012/04/03/anadir-al-select-en-asp-net/" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
									</div>					 
								</div><p>  ListBox1.Items.Add(New ListItem(nom, valor))</p>
<p>Para resear  el select<br />
 ListBox1.Items.Clear()</p>
]]></content:encoded>
			<wfw:commentRss>http://chlinformatica.com/2012/04/03/anadir-al-select-en-asp-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Añadir o modificar campo autoincrement en SQL SERVER</title>
		<link>http://chlinformatica.com/2012/04/01/anadir-campo-autoincrement-en-sql-server/</link>
		<comments>http://chlinformatica.com/2012/04/01/anadir-campo-autoincrement-en-sql-server/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 18:52:09 +0000</pubDate>
		<dc:creator>Fran</dc:creator>
				<category><![CDATA[SQL SERVER]]></category>

		<guid isPermaLink="false">http://chlinformatica.com/?p=310</guid>
		<description><![CDATA[Para crear un nuevo campo: ALTER TABLE usuarios ADD uid INT IDENTITY (100,1) Para modificar un campo ya creado: ALter table usuarios Alter column uid int identity(100, 1) not null]]></description>
			<content:encoded><![CDATA[<div id="fb_share">
									<div style="float:left;margin-right:10px;" >
										<a name="fb_share"	href="http://www.facebook.com/http://www.facebook.com/pages/chlinformatica/236882386367766"	target="blank">
											<img src="http://chlinformatica.com/wp-content/plugins/facebook-button-plugin/img/standart-facebook-ico.jpg" alt="Fb-Button" />
										</a>	
									</div>
									<div>
										<div id="fb-root"></div>
										<script src="http://connect.facebook.net/en_US/all.js#appId=224313110927811&amp;xfbml=1"></script>
										<fb:like href="http://chlinformatica.com/2012/04/01/anadir-campo-autoincrement-en-sql-server/" send="false" layout="button_count" width="450" show_faces="false" font=""></fb:like>
									</div>					 
								</div><p>Para crear un nuevo campo:<br />
ALTER TABLE usuarios ADD uid  INT IDENTITY (100,1)</p>
<p>Para modificar un campo ya creado:<br />
ALter table usuarios  Alter column  uid int identity(100, 1) not null</p>
]]></content:encoded>
			<wfw:commentRss>http://chlinformatica.com/2012/04/01/anadir-campo-autoincrement-en-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

