<?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>GeoAvila (Geovanny G. Avila) &#187; validar si hay texto en un textbox vb.net c#</title>
	<atom:link href="http://geoavila.com/tag/validar-si-hay-texto-en-un-textbox-vb-net-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://geoavila.com</link>
	<description>Desarrollo.. de software.</description>
	<lastBuildDate>Tue, 27 Apr 2010 23:30:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>validar si hay texto en un textbox vb.net c#</title>
		<link>http://geoavila.com/valida-si-hay-texto-en-un-textbox/</link>
		<comments>http://geoavila.com/valida-si-hay-texto-en-un-textbox/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 19:48:00 +0000</pubDate>
		<dc:creator>GeoAvila</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Mono .NET]]></category>
		<category><![CDATA[Visual Basic .NET]]></category>
		<category><![CDATA[validar si hay texto en un textbox vb.net c#]]></category>

		<guid isPermaLink="false">http://geoavila.com/2009/08/05/valida-enterodecimal-en-un-textbox/</guid>
		<description><![CDATA[


 Esta código ayuda a revisar si existe un texto ingresado en un textbox en VB.net y C#.
PLAIN TEXT
VB.NET:




If TextBox.Text.Length &#60;1 Then


MessageBox.Show&#40;Me, "Debe colocar un cliente válido", "error", MessageBoxButtons.OK, MessageBoxIcon.&#91;Error&#93;&#41;


Return


End If 






PLAIN TEXT
C#:




if &#40;TextBox.Text.Length &#60;1&#41;


&#123;


MessageBox.Show&#40;this, "Debe colocar un cliente válido", "error", MessageBoxButtons.OK, MessageBoxIcon.Error&#41;;


return;


&#125; 






nos vemos espero les sirva algo sencillo pero muy útil.
]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-6058344163325637";
/* 468x15, creado 17/10/08 */
google_ad_slot = "2693427472";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></-> <p>Esta código ayuda a revisar si existe un texto ingresado en un textbox en VB.net y C#.</p>
<div class="igBar"><span id="lvbnet-3"><a href="#" onclick="javascript:showPlainTxt('vbnet-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">VB.NET:</span>
<div id="vbnet-3">
<div class="vbnet">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">If</span> TextBox.<span style="color: #0000FF;">Text</span>.<span style="color: #0000FF;">Length</span> &lt;<span style="color: #FF0000;color:#800000;">1</span> <span style="color: #FF8000;">Then</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">MessageBox.<span style="color: #0000FF;">Show</span><span style="color: #000000;">&#40;</span><span style="color: #FF8000;">Me</span>, <span style="color: #808080;">"Debe colocar un cliente válido"</span>, <span style="color: #808080;">"error"</span>, MessageBoxButtons.<span style="color: #0600FF;">OK</span>, MessageBoxIcon.<span style="color: #000000;">&#91;</span><span style="color: #FF8000;">Error</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Return</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">End</span> <span style="color: #0600FF;">If</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<div class="igBar"><span id="lcsharp-4"><a href="#" onclick="javascript:showPlainTxt('csharp-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">C#:</span>
<div id="csharp-4">
<div class="csharp">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span>TextBox.<span style="color: #0000FF;">Text</span>.<span style="color: #0000FF;">Length</span> &lt;<span style="color: #FF0000;color:#800000;">1</span><span style="color: #000000;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000;">&#123;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">MessageBox.<span style="color: #0000FF;">Show</span><span style="color: #000000;">&#40;</span><span style="color: #0600FF;">this</span>, <span style="color: #808080;">"Debe colocar un cliente válido"</span>, <span style="color: #808080;">"error"</span>, MessageBoxButtons.<span style="color: #0000FF;">OK</span>, MessageBoxIcon.<span style="color: #0000FF;">Error</span><span style="color: #000000;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #0600FF;">return</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #000000;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>nos vemos espero les sirva algo sencillo pero muy útil.</p>
]]></content:encoded>
			<wfw:commentRss>http://geoavila.com/valida-si-hay-texto-en-un-textbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
