<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Adquiriendo Conocimientos</title>
	<atom:link href="http://adquiriendoconocimiento.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://adquiriendoconocimiento.wordpress.com</link>
	<description>Algo de los conocimientos adquiridos a lo largo del camino laboral.</description>
	<lastBuildDate>Tue, 30 Sep 2008 22:44:06 +0000</lastBuildDate>
	<language>es</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='adquiriendoconocimiento.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Adquiriendo Conocimientos</title>
		<link>http://adquiriendoconocimiento.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://adquiriendoconocimiento.wordpress.com/osd.xml" title="Adquiriendo Conocimientos" />
	<atom:link rel='hub' href='http://adquiriendoconocimiento.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Plantillas Crear Tabla.</title>
		<link>http://adquiriendoconocimiento.wordpress.com/2008/09/29/plantillas-crear-tabla/</link>
		<comments>http://adquiriendoconocimiento.wordpress.com/2008/09/29/plantillas-crear-tabla/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 20:53:55 +0000</pubDate>
		<dc:creator>adquiriendoconocimiento</dc:creator>
				<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://adquiriendoconocimiento.wordpress.com/?p=65</guid>
		<description><![CDATA[Este es una plantilla para crear una tabla.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=65&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Este es una plantilla para crear una <strong>tabla</strong>.</p>
<p><pre class="brush: sql;">IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[TableName]') AND OBJECTPROPERTY(id, N'IsUserTable') = 1)
 DROP TABLE [dbo].[TableName]
GO

CREATE TABLE [dbo].[TableName] (
 ColName1  DATETIME  NOT NULL,
 ColName2  INT   NOT NULL,
 ColName3  VARCHAR(12)  NOT NULL,
 ColName4 NUMERIC(12,0)  )
GO

ALTER TABLE [dbo].[TableName]
 ADD CONSTRAINT   PK_TableName
 PRIMARY KEY  (ColName1, ColName2, ColName3)
GO

GRANT ALL
 ON [dbo].[TableName]
 TO PUBLIC</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adquiriendoconocimiento.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adquiriendoconocimiento.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adquiriendoconocimiento.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adquiriendoconocimiento.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adquiriendoconocimiento.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adquiriendoconocimiento.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adquiriendoconocimiento.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adquiriendoconocimiento.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adquiriendoconocimiento.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adquiriendoconocimiento.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adquiriendoconocimiento.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adquiriendoconocimiento.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adquiriendoconocimiento.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adquiriendoconocimiento.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=65&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adquiriendoconocimiento.wordpress.com/2008/09/29/plantillas-crear-tabla/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e0cbee4f58761b7411fe52434f2f4b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adquiriendoconocimiento</media:title>
		</media:content>
	</item>
		<item>
		<title>Funciones de Conversiones de Tipos de Datos VB.Net</title>
		<link>http://adquiriendoconocimiento.wordpress.com/2008/09/26/funciones-de-conversiones-de-tipos-de-datos-vbnet/</link>
		<comments>http://adquiriendoconocimiento.wordpress.com/2008/09/26/funciones-de-conversiones-de-tipos-de-datos-vbnet/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 00:02:46 +0000</pubDate>
		<dc:creator>adquiriendoconocimiento</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://adquiriendoconocimiento.wordpress.com/?p=61</guid>
		<description><![CDATA[CBool Boolean (Tipo de datos, Visual Basic) Cualquier expresión numérica, Char o String válida.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=61&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre class="libCScode">
<strong><a href="http://msdn.microsoft.com/es-es/library/s2dy91zy(VS.80).aspx" target="_blank">CBool</a></strong> <span class="linkTerms"><a id="ctl00_rs1_mainContentContainer_ctl23" href="http://msdn.microsoft.com/es-es/library/wts33hb3(VS.80).aspx"><span style="color:#0033cc;">Boolean (Tipo de datos, Visual Basic)</span></a></span>  Cualquier expresión numérica, <strong>Char</strong> o <strong>String</strong> válida.</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adquiriendoconocimiento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adquiriendoconocimiento.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adquiriendoconocimiento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adquiriendoconocimiento.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adquiriendoconocimiento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adquiriendoconocimiento.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adquiriendoconocimiento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adquiriendoconocimiento.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adquiriendoconocimiento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adquiriendoconocimiento.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adquiriendoconocimiento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adquiriendoconocimiento.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adquiriendoconocimiento.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adquiriendoconocimiento.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=61&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adquiriendoconocimiento.wordpress.com/2008/09/26/funciones-de-conversiones-de-tipos-de-datos-vbnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e0cbee4f58761b7411fe52434f2f4b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adquiriendoconocimiento</media:title>
		</media:content>
	</item>
		<item>
		<title>Trabajar con Archivos en VisualBasic.Net</title>
		<link>http://adquiriendoconocimiento.wordpress.com/2008/09/25/trabajar-con-archivos-en-visualbasicnet/</link>
		<comments>http://adquiriendoconocimiento.wordpress.com/2008/09/25/trabajar-con-archivos-en-visualbasicnet/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 23:54:41 +0000</pubDate>
		<dc:creator>adquiriendoconocimiento</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://adquiriendoconocimiento.wordpress.com/?p=58</guid>
		<description><![CDATA[Esta es una liga interesante en donde se encuentran una serie de ejemplos de como trabajar con archivos.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=58&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Esta es una liga interesante en donde se encuentran una serie de ejemplos de como <a href="http://www.recursosvisualbasic.com.ar/htm/vb-net/3-ejemplos-con-archivos-en-vb-net.htm#6" target="_blank">trabajar con archivos</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adquiriendoconocimiento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adquiriendoconocimiento.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adquiriendoconocimiento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adquiriendoconocimiento.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adquiriendoconocimiento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adquiriendoconocimiento.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adquiriendoconocimiento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adquiriendoconocimiento.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adquiriendoconocimiento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adquiriendoconocimiento.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adquiriendoconocimiento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adquiriendoconocimiento.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adquiriendoconocimiento.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adquiriendoconocimiento.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=58&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adquiriendoconocimiento.wordpress.com/2008/09/25/trabajar-con-archivos-en-visualbasicnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e0cbee4f58761b7411fe52434f2f4b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adquiriendoconocimiento</media:title>
		</media:content>
	</item>
		<item>
		<title>Calendario en VisualBasic.Net</title>
		<link>http://adquiriendoconocimiento.wordpress.com/2008/09/25/calendario-en-visualbasicnet/</link>
		<comments>http://adquiriendoconocimiento.wordpress.com/2008/09/25/calendario-en-visualbasicnet/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 22:34:04 +0000</pubDate>
		<dc:creator>adquiriendoconocimiento</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://adquiriendoconocimiento.wordpress.com/?p=48</guid>
		<description><![CDATA[Como implementar el siguiente calendario en una pagina Aspx.  1.- Tener los Archivos Java Scripts incluidos en el Proyecto. 2.-En la página donde se utilizara agregar en el encabezado HTML lo siguiente: 2.-Siguiendo en HTML ir al Botón y agregar el siguiente codigo.   Para mas informacion: Calendar, Demo.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=48&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">Como implementar el siguiente calendario en una pagina Aspx. </p>
<p style="text-align:center;"><a href="http://adquiriendoconocimiento.files.wordpress.com/2008/09/calendar.jpg"><img class="size-full wp-image-49  aligncenter" title="calendar" src="http://adquiriendoconocimiento.files.wordpress.com/2008/09/calendar.jpg?w=468" alt=""   /></a></p>
<p><span style="color:#800000;">1.- </span>Tener los Archivos Java Scripts incluidos en el Proyecto.</p>
<p style="text-align:center;"><a href="http://adquiriendoconocimiento.files.wordpress.com/2008/09/includes.jpg"><img class="size-full wp-image-50  aligncenter" title="includes" src="http://adquiriendoconocimiento.files.wordpress.com/2008/09/includes.jpg?w=468" alt=""   /></a></p>
<p><span style="color:#800000;">2.-</span><span style="color:#000000;">En la página donde se utilizara agregar en el encabezado HTML lo siguiente:</span></p>
<p><pre class="brush: xml;">&lt;LINK title=&quot;win2k-cold-1&quot; media=&quot;all&quot; href=&quot;css/calendar-win2k-cold-1.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot;&gt;
&lt;script src=&quot;Includes/calendar/calendar.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;Includes/calendar/lang/calendar-es.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;Includes/calendar/calendar-setup.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
</pre></p>
<p><span style="color:#800000;">2.-</span><span style="color:#000000;">Siguiendo en HTML ir al Botón y agregar el siguiente codigo.</span></p>
<p>  <pre class="brush: xml;">&lt;asp:textbox oncontextmenu=&quot;return false;&quot; id=&quot;TxtFechaInicio&quot; onkeydown=&quot;return false;&quot; runat=&quot;server&quot; &gt;&lt;/asp:textbox&gt;
&lt;asp:button id=&quot;BtnCalendar1&quot; runat=&quot;server&quot; Text=&quot;...&quot;&gt;&lt;/asp:button&gt;
   &lt;script type=&quot;text/javascript&quot;&gt;    
      Calendar.setup({            
      inputField     :    &quot;TxtFechaInicio&quot;,   
      ifFormat       :    &quot;%d/%m/%Y&quot;,                             
      singleClick    :    true,          
      step           :    1,              
      align          :    &quot;Br&quot;,
      button : &quot;BtnCalendar1&quot;
      });
   &lt;/script&gt;</pre><br />
Para mas informacion: <a href="http://www.dynarch.com/projects/calendar/" target="_blank">Calendar</a>, <a href="http://www.dynarch.com/demos/jscalendar/" target="_blank">Demo</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adquiriendoconocimiento.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adquiriendoconocimiento.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adquiriendoconocimiento.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adquiriendoconocimiento.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adquiriendoconocimiento.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adquiriendoconocimiento.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adquiriendoconocimiento.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adquiriendoconocimiento.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adquiriendoconocimiento.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adquiriendoconocimiento.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adquiriendoconocimiento.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adquiriendoconocimiento.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adquiriendoconocimiento.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adquiriendoconocimiento.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=48&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adquiriendoconocimiento.wordpress.com/2008/09/25/calendario-en-visualbasicnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e0cbee4f58761b7411fe52434f2f4b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adquiriendoconocimiento</media:title>
		</media:content>

		<media:content url="http://adquiriendoconocimiento.files.wordpress.com/2008/09/calendar.jpg" medium="image">
			<media:title type="html">calendar</media:title>
		</media:content>

		<media:content url="http://adquiriendoconocimiento.files.wordpress.com/2008/09/includes.jpg" medium="image">
			<media:title type="html">includes</media:title>
		</media:content>
	</item>
		<item>
		<title>Formatos de Fecha en un DataGrid</title>
		<link>http://adquiriendoconocimiento.wordpress.com/2008/09/25/formatos-de-fecha-en-un-datagrid/</link>
		<comments>http://adquiriendoconocimiento.wordpress.com/2008/09/25/formatos-de-fecha-en-un-datagrid/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 21:17:26 +0000</pubDate>
		<dc:creator>adquiriendoconocimiento</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://adquiriendoconocimiento.wordpress.com/?p=39</guid>
		<description><![CDATA[Hay diversas formas de dar formato a una fecha en un DataGrid de Visual Basic.Net {0:dd &#8216;de&#8217; MMMM &#8216;de&#8217; yyyy,dddd} 25 de Enero de 2008,Viernes {0:dd/MMM/yyyy} 25-Ene-08 {0:ddd, dd MMM yyyy HH&#8217;:'mm&#8217;:'ss &#8216;GMT&#8217;} Vie, 25 Ene 2008 06:30:07 GMT {0:dddd, dd MMMM yyyy h:mm tt} Viernes, 25 Enero 2008 6:30 AM {0:dddd, dd MMMM yyyy [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=39&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hay diversas formas de dar formato a una fecha en un DataGrid de Visual Basic.Net</p>
<table style="width:377pt;border-collapse:collapse;" border="0" cellspacing="0" cellpadding="0" width="503">
<col style="width:195pt;" span="1" width="260"></col>
<col style="width:182pt;" span="1" width="243"></col>
<tbody>
<tr style="height:18pt;">
<td class="xl22" style="width:195pt;height:18pt;background-color:transparent;border:maroon 1pt solid;" width="260" height="24"><span lang="ES-MX"><span style="font-size:x-small;font-family:Arial;">{0:dd &#8216;de&#8217; MMMM &#8216;de&#8217; yyyy,dddd}</span></span></td>
<td class="xl23" style="border-right:maroon 1pt solid;border-top:maroon 1pt solid;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="ES-MX"><span style="font-size:x-small;font-family:Arial;">25 de Enero de 2008,Viernes</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="ES-MX"><span style="font-size:x-small;font-family:Arial;">{0:dd/MMM/yyyy}</span></span></td>
<td class="xl27" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="ES-MX"><span style="font-size:x-small;font-family:Arial;">25-Ene-08</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:ddd, dd MMM yyyy HH&#8217;:'mm&#8217;:'ss &#8216;GMT&#8217;}</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">Vie, 25 Ene 2008 06:30:07 GMT</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:dddd, dd MMMM yyyy h:mm tt}</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">Viernes, 25 Enero 2008 6:30 AM</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="ES-MX"><span style="font-size:x-small;font-family:Arial;">{0:dddd, dd MMMM yyyy H:mm}</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">Viernes, 25 Enero 2008 6:30</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="ES-MX"><span style="font-size:x-small;font-family:Arial;">{0:dddd, dd MMMM yyyy hh:mm tt}</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">Viernes, 25 Enero 2008 06:30 AM</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:dddd, dd MMMM yyyy HH:mm:ss}</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">Viernes, 25 Enero 2008 06:30:07</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="ES-MX"><span style="font-size:x-small;font-family:Arial;">{0:dddd, dd MMMM yyyy HH:mm}</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">Viernes, 25 Enero 2008 06:30</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:dddd, dd MMMM yyyy}</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">Viernes, 25 Enero 2008</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="ES-MX"><span style="font-size:x-small;font-family:Arial;">{0:dddd, dd MMMM yyyy H:mm}</span></span></td>
<td class="xl26" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="ES-MX"><span style="font-size:x-small;font-family:Arial;">Viernes, 25 Enero 2008 0:00</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:H:mm}</span></span></td>
<td class="xl28" style="border-right:maroon 1pt solid;border-top:maroon;border-left:maroon;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span style="font-size:x-small;font-family:Arial;">6:30</span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:HH:mm }</span></span></td>
<td class="xl29" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span style="font-size:x-small;font-family:Arial;">06:30</span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:hh:mm tt}</span></span></td>
<td class="xl29" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span style="font-size:x-small;font-family:Arial;">06:30 AM</span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:HH:mm:ss}</span></span></td>
<td class="xl29" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span style="font-size:x-small;font-family:Arial;">06:30:05</span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:MM/dd/yyyy h:mm tt}</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">08/25/2008 6:30 AM</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:MM/dd/yyyy H:mm}</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">08/25/2008 6:30</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:MM/dd/yyyy hh:mm tt}</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;"><span style="font-family:Arial;">08/25/2008 06:30 AM<span> </span></span></span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:MM/dd/yyyy HH:mm:ss}</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">08/25/2008 06:30:07</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:MM/dd/yyyy HH:mm}</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">08/25/2008 06:30</span></span></td>
</tr>
<tr style="height:18pt;">
<td class="xl24" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:maroon 1pt solid;width:195pt;border-bottom:maroon 1pt solid;height:18pt;background-color:transparent;" width="260" height="24"><span lang="EN-US"><span style="font-size:x-small;font-family:Arial;">{0:yyyy&#8217;-'MM&#8217;-'dd&#8217;T'HH&#8217;:'mm&#8217;:'ss }</span></span></td>
<td class="xl25" style="border-right:maroon 1pt solid;border-top:#ece9d8;border-left:#ece9d8;width:182pt;border-bottom:maroon 1pt solid;background-color:transparent;" width="243"><span lang="EN-US"><span style="font-size:x-small;"><span style="font-family:Arial;">2008-08-25T06:30:07<span> </span></span></span></span></td>
</tr>
</tbody>
</table>
<p>En la propiedad <strong>Data Fotmatting Expression</strong> del Datagrid.</p>
<p><a href="http://adquiriendoconocimiento.files.wordpress.com/2008/09/propertydatagrid1.jpg"><img class="aligncenter size-large wp-image-45" title="propertydatagrid1" src="http://adquiriendoconocimiento.files.wordpress.com/2008/09/propertydatagrid1.jpg?w=455&#038;h=395" alt="" width="455" height="395" /></a></p>
<p><a href="http://msdn.microsoft.com/es-es/library/8kb3ddd4(VS.80).aspx" target="_blank">Cadena de Formatos de Fecha y Hora</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adquiriendoconocimiento.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adquiriendoconocimiento.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adquiriendoconocimiento.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adquiriendoconocimiento.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adquiriendoconocimiento.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adquiriendoconocimiento.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adquiriendoconocimiento.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adquiriendoconocimiento.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adquiriendoconocimiento.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adquiriendoconocimiento.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adquiriendoconocimiento.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adquiriendoconocimiento.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adquiriendoconocimiento.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adquiriendoconocimiento.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=39&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adquiriendoconocimiento.wordpress.com/2008/09/25/formatos-de-fecha-en-un-datagrid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e0cbee4f58761b7411fe52434f2f4b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adquiriendoconocimiento</media:title>
		</media:content>

		<media:content url="http://adquiriendoconocimiento.files.wordpress.com/2008/09/propertydatagrid1.jpg?w=455" medium="image">
			<media:title type="html">propertydatagrid1</media:title>
		</media:content>
	</item>
		<item>
		<title>Clase de Conexion BD</title>
		<link>http://adquiriendoconocimiento.wordpress.com/2008/09/25/clase-de-conexion-bd/</link>
		<comments>http://adquiriendoconocimiento.wordpress.com/2008/09/25/clase-de-conexion-bd/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 17:40:52 +0000</pubDate>
		<dc:creator>adquiriendoconocimiento</dc:creator>
				<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://adquiriendoconocimiento.wordpress.com/?p=30</guid>
		<description><![CDATA[Esta clase sirve para conectarse a una Base de Datos de SQL. Es necesario agregar en las referencias del projecto las dll: System, System.Data, System.XML.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=30&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Esta clase sirve para conectarse a una Base de Datos de SQL. Es necesario agregar en las referencias del projecto las dll: <span style="color:#993300;">System, System.Data, System.XML.</span></p>
<p><pre class="brush: vb;">Imports System.Data
Imports System.Data.SqlClient

Public Class clsConexion

    Public Function FG_ConnectionString_Get(ByVal PP_STR_Servidor As String, ByVal PP_STR_BaseDatos As String, ByVal PP_STR_User_Id As String, ByVal PP_STR_Password As String) As String
        Dim VP_STR_ConnectionString As String

        VP_STR_ConnectionString = &quot;Data source=&quot; + PP_STR_Servidor + &quot;;&quot;
        VP_STR_ConnectionString = VP_STR_ConnectionString + &quot;initial catalog=&quot; + PP_STR_BaseDatos + &quot;;&quot;
        VP_STR_ConnectionString = VP_STR_ConnectionString + &quot;user id=&quot; + PP_STR_User_Id + &quot;;&quot;
        VP_STR_ConnectionString = VP_STR_ConnectionString + &quot;password=&quot; + PP_STR_Password + &quot;&quot;

        'Regresa el Resultado
        FG_ConnectionString_Get = VP_STR_ConnectionString
    End Function

    Public Function FG_SqlConnection_Open(ByVal VP_STR_ConnectionString As String) As SqlConnection
        Dim VP_SQL_Conexion As SqlConnection

        'Crea la conexion de la BD.
        VP_SQL_Conexion = New SqlConnection(VP_STR_ConnectionString)
        'Regresa el Resultado
        FG_SqlConnection_Open = VP_SQL_Conexion
    End Function

    Public Sub PG_SqlCommand_Init(ByRef PP_SQL_Conexion As SqlConnection, ByRef PP_SQL_Comando As SqlCommand, ByVal PP_STR_Nombre_SP As String)
        With PP_SQL_Comando
            .Connection = PP_SQL_Conexion
            .CommandText = PP_STR_Nombre_SP
            .CommandType = CommandType.StoredProcedure
            .Parameters.Clear()
        End With
        'Abre la Conexion.
        PP_SQL_Conexion.Open()
    End Sub

    Public Sub PG_Comando_Parameter_Set_Integer(ByRef PP_SQL_Comando As SqlCommand, ByVal PP_STR_Nombre_Parametro As String, ByVal PP_INT_Valor As Integer)
        'Configura un Parametro de Tipo Entero
        Dim VP_PAR_Parametro As New SqlParameter

        With VP_PAR_Parametro
            .ParameterName = (PP_STR_Nombre_Parametro)
            .SqlDbType = SqlDbType.Int
            .Value = PP_INT_Valor
        End With

        'Asigna el Parametro
        PP_SQL_Comando.Parameters.Add(VP_PAR_Parametro)
    End Sub

    Public Sub PG_Comando_Parameter_Set_Char(ByRef PP_SQL_Comando As SqlCommand, ByVal PP_STR_Nombre_Parametro As String, ByVal PP_STR_Valor As String)
        'Configura un Parametro de Tipo Char
        Dim VP_PAR_Parametro As New SqlParameter

        With VP_PAR_Parametro
            .ParameterName = (PP_STR_Nombre_Parametro)
            .SqlDbType = SqlDbType.Char
            .Value = Trim(PP_STR_Valor)
        End With

        'Asigna el Parametro
        PP_SQL_Comando.Parameters.Add(VP_PAR_Parametro)
    End Sub

    Public Sub PG_Comando_Parameter_Set_Decimal(ByRef PP_SQL_Comando As SqlCommand, ByVal PP_STR_Nombre_Parametro As String, ByVal PP_DEC_Valor As Decimal)
        'Configura un Parametro de Tipo Decimal.
        Dim VP_PAR_Parametro As New SqlParameter

        With VP_PAR_Parametro
            .ParameterName = (PP_STR_Nombre_Parametro)
            .SqlDbType = SqlDbType.Decimal
            .Value = PP_DEC_Valor
        End With

        'Asigna el Parametro
        PP_SQL_Comando.Parameters.Add(VP_PAR_Parametro)
    End Sub

    Public Sub PG_Comando_Parameter_Set_Date(ByRef PP_SQL_Comando As SqlCommand, ByVal PP_STR_Nombre_Parametro As String, ByVal PP_DAT_Valor As Date)
        'Configura un Parametro de Tipo Fecha.
        Dim VP_PAR_Parametro As New SqlParameter

        With VP_PAR_Parametro
            .ParameterName = (PP_STR_Nombre_Parametro)
            .SqlDbType = SqlDbType.DateTime
            .Value = PP_DAT_Valor
        End With

        'Asigna el Parametro
        PP_SQL_Comando.Parameters.Add(VP_PAR_Parametro)
    End Sub

    Public Sub PG_Comando_ExecuteNonQuery(ByVal PP_SQL_Comando As SqlCommand)
        PP_SQL_Comando.ExecuteNonQuery()
    End Sub

    Public Sub PG_DataTable_Fill(ByVal PP_SQL_Comando As SqlCommand, ByRef PP_DTA_Resultado As DataTable)
        'Llena el DataTable.
        Dim VP_DAP_Resultado As New SqlDataAdapter

        VP_DAP_Resultado.SelectCommand = PP_SQL_Comando
        VP_DAP_Resultado.Fill(PP_DTA_Resultado)

    End Sub

    Public Sub PG_DataSet_Fill(ByVal PP_SQL_Comando As SqlCommand, ByRef PP_DTS_Resultado As DataSet)
        'Llena el DataTable.
        Dim VP_DAP_Resultado As New SqlDataAdapter

        VP_DAP_Resultado.SelectCommand = PP_SQL_Comando
        VP_DAP_Resultado.Fill(PP_DTS_Resultado)

    End Sub

    Public Sub PG_SqlConnection_Close(ByRef PP_SQL_Conexion As SqlConnection)
        If PP_SQL_Conexion.State = ConnectionState.Open Then
            PP_SQL_Conexion.Close()
        End If
    End Sub

End Class</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adquiriendoconocimiento.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adquiriendoconocimiento.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adquiriendoconocimiento.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adquiriendoconocimiento.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adquiriendoconocimiento.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adquiriendoconocimiento.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adquiriendoconocimiento.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adquiriendoconocimiento.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adquiriendoconocimiento.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adquiriendoconocimiento.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adquiriendoconocimiento.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adquiriendoconocimiento.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adquiriendoconocimiento.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adquiriendoconocimiento.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=30&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adquiriendoconocimiento.wordpress.com/2008/09/25/clase-de-conexion-bd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e0cbee4f58761b7411fe52434f2f4b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adquiriendoconocimiento</media:title>
		</media:content>
	</item>
		<item>
		<title>Collation</title>
		<link>http://adquiriendoconocimiento.wordpress.com/2008/09/25/collation/</link>
		<comments>http://adquiriendoconocimiento.wordpress.com/2008/09/25/collation/#comments</comments>
		<pubDate>Thu, 25 Sep 2008 16:17:21 +0000</pubDate>
		<dc:creator>adquiriendoconocimiento</dc:creator>
				<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://adquiriendoconocimiento.wordpress.com/?p=15</guid>
		<description><![CDATA[Al compilar un Sp me muestra este error: &#8220;Cannot resolve collation conflict for equal to operation&#8220;. Esto se debio a que estaba creando una tabla temporal en una base de datos y su Collation era diferente al de TEMPDB.  La tabla temporal tomaba la collation de la TEMPDB. Entonces lo que hice fue asignarle la Collation de [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=15&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Al compilar un Sp me muestra este error: &#8220;<span style="color:#ff0000;">Cannot resolve <span class="searchTerm"><strong>collation</strong></span> conflict for equal to operation</span>&#8220;.</p>
<p>Esto se debio a que estaba creando una tabla temporal en una base de datos y su <strong>Collation </strong>era diferente al de TEMPDB<strong>.  </strong>La tabla temporal tomaba la collation de la TEMPDB. Entonces lo que hice fue asignarle la Collation de la BD donde la estoy mandando a generar.  </p>
<p><span style="color:#0000ff;">Name: DBDWH<br />
Collation name: SQL_Latin1_General_CP850_CI_AS</span></p>
<p><span style="color:#0000ff;">Name: tempdb<br />
Collation name: SQL_Latin_General_CP1_CI_AI</span></p>
<p><span style="color:#000000;">Solucion:  Despues de los campo string coloque <span style="color:#0000ff;">COLLATE</span> database_default.</span></p>
<p><pre class="brush: sql;">CREATE TABLE ##Ventas (
 Producto    VARCHAR(13)   COLLATE database_default,
 Folio       VARCHAR(30)   COLLATE database_default,
 FechaVenta  NUMERIC(8, 0) )</pre></p>
<p><strong><a href="http://msdn.microsoft.com/es-es/library/ms190920.aspx" target="_blank">COLLATE</a></strong>: Es una cláusula que se puede aplicar a una definición de base de datos o a una definición de columna para definir la intercalación, o a una expresión de cadena de caracteres para aplicar una conversión de intercalación.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/adquiriendoconocimiento.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/adquiriendoconocimiento.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/adquiriendoconocimiento.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/adquiriendoconocimiento.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/adquiriendoconocimiento.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/adquiriendoconocimiento.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/adquiriendoconocimiento.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/adquiriendoconocimiento.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/adquiriendoconocimiento.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/adquiriendoconocimiento.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/adquiriendoconocimiento.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/adquiriendoconocimiento.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/adquiriendoconocimiento.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/adquiriendoconocimiento.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=adquiriendoconocimiento.wordpress.com&amp;blog=4971167&amp;post=15&amp;subd=adquiriendoconocimiento&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://adquiriendoconocimiento.wordpress.com/2008/09/25/collation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/94e0cbee4f58761b7411fe52434f2f4b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">adquiriendoconocimiento</media:title>
		</media:content>
	</item>
	</channel>
</rss>
