<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8741114057508313408</id><updated>2025-08-02T03:33:04.302-05:00</updated><category term="programacion"/><category term="Vb.Net"/><category term="asp.net 2.0"/><category term="gridview"/><category term="Datagridview"/><category term="drag and drop"/><category term="Plantillas"/><category term="Popup"/><category term="AccessDatabaseEngine"/><category term="Bitmap"/><category term="DataGridViewRow"/><category term="Drawing"/><category term="FileInfo Extension"/><category term="Google"/><category term="Graphics"/><category term="Header"/><category term="Mantenimiento de registros"/><category term="Modal Popup"/><category term="MouseMove"/><category term="Node"/><category term="Office Excel"/><category term="Paginación"/><category term="Panel"/><category term="RowHeader"/><category term="SQL"/><category term="SUNAT"/><category term="Summary"/><category term="TreeView"/><category term="Validación"/><category term="Wave"/><category term="geometry"/><category term="javascript"/><category term="shp"/><title type='text'>Programación en .NetLogía</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-6659932042321600282</id><published>2012-10-30T00:09:00.001-05:00</published><updated>2012-10-30T00:09:23.557-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="drag and drop"/><category scheme="http://www.blogger.com/atom/ns#" term="MouseMove"/><category scheme="http://www.blogger.com/atom/ns#" term="Panel"/><title type='text'>Mover Panel (Drag and Drop)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuxYqPJuZ0peZehC1LugZyzseN9L8eW_9JM_sb9uHIakaIexxw1PzD5TDHBMml3DoG8jVURI23KJf7KmzKLIWnQRBuCjvAPBk66qrBM-Mv-kMPx8ewI1-If-oXuBset9EidjuiKNH_vCUc/s1600/Sin+t%C3%ADtulo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuxYqPJuZ0peZehC1LugZyzseN9L8eW_9JM_sb9uHIakaIexxw1PzD5TDHBMml3DoG8jVURI23KJf7KmzKLIWnQRBuCjvAPBk66qrBM-Mv-kMPx8ewI1-If-oXuBset9EidjuiKNH_vCUc/s1600/Sin+t%C3%ADtulo.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;Public&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Form1&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt;
FlgMover_01 &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Boolean&lt;/span&gt;
= &lt;span style=&quot;color: blue;&quot;&gt;False&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt;
Ubicacion_01 &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;
&lt;span style=&quot;color: #2b91af;&quot;&gt;Point&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt;
FlgMover_02 &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Boolean&lt;/span&gt;
= &lt;span style=&quot;color: blue;&quot;&gt;False&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt;
Ubicacion_02 &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;
&lt;span style=&quot;color: #2b91af;&quot;&gt;Point&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; panel1_MouseDown(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;
sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;,
&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;
System.Windows.Forms.&lt;span style=&quot;color: #2b91af;&quot;&gt;MouseEventArgs&lt;/span&gt;) &lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt; Panel1.MouseDown&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FlgMover_01 = &lt;span style=&quot;color: blue;&quot;&gt;True&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ubicacion_01 = &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;
&lt;span style=&quot;color: #2b91af;&quot;&gt;Point&lt;/span&gt;(e.X, e.Y)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Me&lt;/span&gt;.Cursor
= &lt;span style=&quot;color: #2b91af;&quot;&gt;Cursors&lt;/span&gt;.SizeAll&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; Panel1_MouseMove(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;
sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;,
&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;
System.Windows.Forms.&lt;span style=&quot;color: #2b91af;&quot;&gt;MouseEventArgs&lt;/span&gt;) &lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt; Panel1.MouseMove&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;
FlgMover_01 = &lt;span style=&quot;color: blue;&quot;&gt;True&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Then&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Panel1.Location = &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Point&lt;/span&gt;(Panel1.Location.X
+ e.X - Ubicacion_01.X, Panel1.Location.Y + e.Y - Ubicacion_01.Y)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; Panel1_MouseUp(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;
sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;,
&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;
System.Windows.Forms.&lt;span style=&quot;color: #2b91af;&quot;&gt;MouseEventArgs&lt;/span&gt;) &lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt; Panel1.MouseUp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;FlgMover_01 = &lt;span style=&quot;color: blue;&quot;&gt;False&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Me&lt;/span&gt;.Cursor = &lt;span style=&quot;color: #2b91af;&quot;&gt;Cursors&lt;/span&gt;.Default&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;End&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; Panel2_MouseDown(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;
sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;,
&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;
System.Windows.Forms.&lt;span style=&quot;color: #2b91af;&quot;&gt;MouseEventArgs&lt;/span&gt;) &lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt; Panel2.MouseDown&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FlgMover_02 = &lt;span style=&quot;color: blue;&quot;&gt;True&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ubicacion_02 = &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;
&lt;span style=&quot;color: #2b91af;&quot;&gt;Point&lt;/span&gt;(e.X, e.Y)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Me&lt;/span&gt;.Cursor
= &lt;span style=&quot;color: #2b91af;&quot;&gt;Cursors&lt;/span&gt;.SizeAll&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; Panel2_MouseMove(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;
sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;,
&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;
System.Windows.Forms.&lt;span style=&quot;color: #2b91af;&quot;&gt;MouseEventArgs&lt;/span&gt;) &lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt; Panel2.MouseMove&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;
FlgMover_02 = &lt;span style=&quot;color: blue;&quot;&gt;True&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Then&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Panel2.Location = &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Point&lt;/span&gt;(Panel2.Location.X
+ e.X - Ubicacion_02.X, Panel2.Location.Y + e.Y - Ubicacion_02.Y)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; Panel2_MouseUp(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;
sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;,
&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;
System.Windows.Forms.&lt;span style=&quot;color: #2b91af;&quot;&gt;MouseEventArgs&lt;/span&gt;) &lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt; Panel2.MouseUp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;FlgMover_02 = &lt;span style=&quot;color: blue;&quot;&gt;False&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Me&lt;/span&gt;.Cursor = &lt;span style=&quot;color: #2b91af;&quot;&gt;Cursors&lt;/span&gt;.Default&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt;&quot;&gt;End&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;Class&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/6659932042321600282/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/6659932042321600282' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/6659932042321600282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/6659932042321600282'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2012/10/mover-panel-drag-and-drop.html' title='Mover Panel (Drag and Drop)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuxYqPJuZ0peZehC1LugZyzseN9L8eW_9JM_sb9uHIakaIexxw1PzD5TDHBMml3DoG8jVURI23KJf7KmzKLIWnQRBuCjvAPBk66qrBM-Mv-kMPx8ewI1-If-oXuBset9EidjuiKNH_vCUc/s72-c/Sin+t%C3%ADtulo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-1962447173036803413</id><published>2012-10-17T23:46:00.000-05:00</published><updated>2012-10-17T23:46:05.089-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="drag and drop"/><category scheme="http://www.blogger.com/atom/ns#" term="Vb.Net"/><title type='text'>drag and drop Archivo a Textbox</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsitHTJ6NNsl1Qo_SeF_zXrLFyyh7hYgf4yO2_3OOiL_TbvobKlLrwyBhsxeXnL8YuAKe1KroLQxDFQ73zf0NfxMG1xN9Md81l0qRaWKVZztmUpL3hBiL3WMeQa-WE_ZrUoxF1XxGJhzoF/s1600/001.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;277&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsitHTJ6NNsl1Qo_SeF_zXrLFyyh7hYgf4yO2_3OOiL_TbvobKlLrwyBhsxeXnL8YuAKe1KroLQxDFQ73zf0NfxMG1xN9Md81l0qRaWKVZztmUpL3hBiL3WMeQa-WE_ZrUoxF1XxGJhzoF/s400/001.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUwVCWz6-Xi8FX32kcAX0MG9cHT5iJZrNTYjPhyznzdVbid0yxLetJXTXESnRtvE5UXD5n3bmRI5LiUAAE8TmcS-RXVXzxmvbstDJ4sN-t7JWeoy0-coQ-F9_YPsLF55ze8jsy7ink537P/s1600/002.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;282&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUwVCWz6-Xi8FX32kcAX0MG9cHT5iJZrNTYjPhyznzdVbid0yxLetJXTXESnRtvE5UXD5n3bmRI5LiUAAE8TmcS-RXVXzxmvbstDJ4sN-t7JWeoy0-coQ-F9_YPsLF55ze8jsy7ink537P/s400/002.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;Propiedades del TextBox&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp; &amp;nbsp;Me.TextBox1.AllowDrop = True&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;Código:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;Imports&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;
System.IO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;Public&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Class&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Form1&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; TextBox1_DragDrop(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;
sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;,
&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;
System.Windows.Forms.&lt;span style=&quot;color: #2b91af;&quot;&gt;DragEventArgs&lt;/span&gt;) &lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt; TextBox1.DragDrop&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;
e.Data.GetDataPresent(&lt;span style=&quot;color: #2b91af;&quot;&gt;DataFormats&lt;/span&gt;.FileDrop) &lt;span style=&quot;color: blue;&quot;&gt;Then&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
filePaths &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;()
= &lt;span style=&quot;color: blue;&quot;&gt;CType&lt;/span&gt;(e.Data.GetData(&lt;span style=&quot;color: #2b91af;&quot;&gt;DataFormats&lt;/span&gt;.FileDrop),
&lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;())&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;For&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Each&lt;/span&gt; fileLoc &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;In&lt;/span&gt; filePaths&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;File&lt;/span&gt;.Exists(fileLoc) &lt;span style=&quot;color: blue;&quot;&gt;Then&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextBox1.Text = &lt;span style=&quot;color: #2b91af;&quot;&gt;Path&lt;/span&gt;.GetFullPath(fileLoc)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Next&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; TextBox1_DragEnter(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;
sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;,
&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;
System.Windows.Forms.&lt;span style=&quot;color: #2b91af;&quot;&gt;DragEventArgs&lt;/span&gt;) &lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt; TextBox1.DragEnter&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;
e.Data.GetDataPresent(&lt;span style=&quot;color: #2b91af;&quot;&gt;DataFormats&lt;/span&gt;.FileDrop) &lt;span style=&quot;color: blue;&quot;&gt;Then&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Effect = &lt;span style=&quot;color: #2b91af;&quot;&gt;DragDropEffects&lt;/span&gt;.Copy&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Else&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Effect = &lt;span style=&quot;color: #2b91af;&quot;&gt;DragDropEffects&lt;/span&gt;.None&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: blue; font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;End&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: Consolas; font-size: 9.5pt; mso-ansi-language: EN-US;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Class&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/1962447173036803413/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/1962447173036803413' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/1962447173036803413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/1962447173036803413'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2012/10/drag-and-drop-archivo-textbox.html' title='drag and drop Archivo a Textbox'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsitHTJ6NNsl1Qo_SeF_zXrLFyyh7hYgf4yO2_3OOiL_TbvobKlLrwyBhsxeXnL8YuAKe1KroLQxDFQ73zf0NfxMG1xN9Md81l0qRaWKVZztmUpL3hBiL3WMeQa-WE_ZrUoxF1XxGJhzoF/s72-c/001.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-5330063836411992882</id><published>2012-10-16T21:11:00.001-05:00</published><updated>2012-10-16T21:11:58.535-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Datagridview"/><category scheme="http://www.blogger.com/atom/ns#" term="DataGridViewRow"/><category scheme="http://www.blogger.com/atom/ns#" term="drag and drop"/><category scheme="http://www.blogger.com/atom/ns#" term="Node"/><category scheme="http://www.blogger.com/atom/ns#" term="TreeView"/><category scheme="http://www.blogger.com/atom/ns#" term="Vb.Net"/><title type='text'>Mover DataGridviewRow a un Nodo del Treeview</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRuRhGdZvR_f187BrDPS_OJT4Md34tNTtQ05PGeL4deSX8LkkytTkpyP9UBRxz5Dvez0seSV0jRHosG8GVvQOnfkG3tukCY24FkpBkYIAfxL0-UGqCHhA6SxSMlG5fcRKpEdGPjdIrSbKt/s1600/001.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;202&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRuRhGdZvR_f187BrDPS_OJT4Md34tNTtQ05PGeL4deSX8LkkytTkpyP9UBRxz5Dvez0seSV0jRHosG8GVvQOnfkG3tukCY24FkpBkYIAfxL0-UGqCHhA6SxSMlG5fcRKpEdGPjdIrSbKt/s400/001.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzAEMLd9yWD7-4zqzjyymlrGynsEyCl4FUGS6oyRp5vRbm33AXcJhIsUZcc-ls_v1yMD3JbyZm3KlcMcvujSv6QJNshIw2va4dISpHydZ5FkQFC2Ud1mQ5bu6_ixqvsic_faOCz2Eb7CLg/s1600/002.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;205&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzAEMLd9yWD7-4zqzjyymlrGynsEyCl4FUGS6oyRp5vRbm33AXcJhIsUZcc-ls_v1yMD3JbyZm3KlcMcvujSv6QJNshIw2va4dISpHydZ5FkQFC2Ud1mQ5bu6_ixqvsic_faOCz2Eb7CLg/s400/002.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Seleccionar las filas y mover hacia el tercer nivel del TreeView con el&amp;nbsp;botón&amp;nbsp;derecho del mouse.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.4shared.com/rar/63TStERa/mover_filas_a_un_nodo_de_treev.html&quot; target=&quot;_blank&quot;&gt;descargar demo&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/5330063836411992882/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/5330063836411992882' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/5330063836411992882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/5330063836411992882'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2012/10/mover-datagridviewrow-un-nodo-del.html' title='Mover DataGridviewRow a un Nodo del Treeview'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRuRhGdZvR_f187BrDPS_OJT4Md34tNTtQ05PGeL4deSX8LkkytTkpyP9UBRxz5Dvez0seSV0jRHosG8GVvQOnfkG3tukCY24FkpBkYIAfxL0-UGqCHhA6SxSMlG5fcRKpEdGPjdIrSbKt/s72-c/001.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-5901519648568166127</id><published>2012-01-21T16:02:00.000-05:00</published><updated>2012-01-23T21:23:26.686-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bitmap"/><category scheme="http://www.blogger.com/atom/ns#" term="Drawing"/><category scheme="http://www.blogger.com/atom/ns#" term="Graphics"/><category scheme="http://www.blogger.com/atom/ns#" term="programacion"/><category scheme="http://www.blogger.com/atom/ns#" term="Vb.Net"/><title type='text'>Convertir texto en Imagen en (C# Y VB.Net)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMl9T9rfDWtUfn5QPfvR_OfmPtRUPdtvG-oOUNWeS0vfA4dij6S8Zd79p4OF1fAlzUANVzP9iPlNB2mLfVrZx3sz4t8EcBNZ9ILHdbBw504kMJZn_dhXxvKpl_USwMBfuuCNsGsj9hJyT0/s1600/Texto_en_imagen.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMl9T9rfDWtUfn5QPfvR_OfmPtRUPdtvG-oOUNWeS0vfA4dij6S8Zd79p4OF1fAlzUANVzP9iPlNB2mLfVrZx3sz4t8EcBNZ9ILHdbBw504kMJZn_dhXxvKpl_USwMBfuuCNsGsj9hJyT0/s1600/Texto_en_imagen.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
En C#&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;//CREAMOS EL
OBJETO IMAGEN&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;Bitmap&lt;/span&gt;
objBmp = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Bitmap&lt;/span&gt;(1,
1);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;
Width = 0;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;
Height = 0;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;//LE DAMOS
EL FORMATO DE LA FUENTE&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;Font&lt;/span&gt;
objFont = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Font&lt;/span&gt;(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Arial&quot;&lt;/span&gt;, 20, System.Drawing.&lt;span style=&quot;color: #2b91af;&quot;&gt;FontStyle&lt;/span&gt;.Bold, System.Drawing.&lt;span style=&quot;color: #2b91af;&quot;&gt;GraphicsUnit&lt;/span&gt;.Pixel);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: #2b91af;&quot;&gt;Graphics&lt;/span&gt;
objGraphics = &lt;span style=&quot;color: #2b91af;&quot;&gt;Graphics&lt;/span&gt;.FromImage(objBmp);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Width = (&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;)objGraphics.MeasureString(textBox1.Text,
objFont).Width;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Height = (&lt;span style=&quot;color: blue;&quot;&gt;int&lt;/span&gt;)objGraphics.MeasureString(textBox1.Text,
objFont).Height;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objBmp = &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt;
&lt;span style=&quot;color: #2b91af;&quot;&gt;Bitmap&lt;/span&gt;(objBmp, &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt;
&lt;span style=&quot;color: #2b91af;&quot;&gt;Size&lt;/span&gt;(Width, Height));&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics = &lt;span style=&quot;color: #2b91af;&quot;&gt;Graphics&lt;/span&gt;.FromImage(objBmp);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics.SmoothingMode = &lt;span style=&quot;color: #2b91af;&quot;&gt;SmoothingMode&lt;/span&gt;.AntiAlias;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics.CompositingQuality =
System.Drawing.Drawing2D.&lt;span style=&quot;color: #2b91af;&quot;&gt;CompositingQuality&lt;/span&gt;.HighQuality;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics.InterpolationMode =
System.Drawing.Drawing2D.&lt;span style=&quot;color: #2b91af;&quot;&gt;InterpolationMode&lt;/span&gt;.High;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics.TextRenderingHint = &lt;span style=&quot;color: #2b91af;&quot;&gt;TextRenderingHint&lt;/span&gt;.AntiAlias;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics.DrawString(textBox1.Text,
objFont, &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;SolidBrush&lt;/span&gt;(&lt;span style=&quot;color: #2b91af;&quot;&gt;Color&lt;/span&gt;.FromArgb(102, 102, 102)), 0, 0);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics.Flush();&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pictureBox1.Image = objBmp;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
En VB.NET
&lt;br /&gt;
&amp;nbsp;

&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;&#39;CREAMOS EL
OBJETO IMAGEN&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
objBmp &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Bitmap&lt;/span&gt;(1, 1)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; Width
&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Integer&lt;/span&gt; = 0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
Height &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Integer&lt;/span&gt;
= 0&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;&#39;LE DAMOS EL
FORMATO DE LA FUENTE&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
objFont &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Font&lt;/span&gt;(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Arial&quot;&lt;/span&gt;,
20, System.Drawing.&lt;span style=&quot;color: #2b91af;&quot;&gt;FontStyle&lt;/span&gt;.Bold,
System.Drawing.&lt;span style=&quot;color: #2b91af;&quot;&gt;GraphicsUnit&lt;/span&gt;.Pixel)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
objGraphics &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;Graphics&lt;/span&gt;
= &lt;span style=&quot;color: #2b91af;&quot;&gt;Graphics&lt;/span&gt;.FromImage(objBmp)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Width = &lt;span style=&quot;color: blue;&quot;&gt;CInt&lt;/span&gt;(objGraphics.MeasureString(textBox1.Text,
objFont).Width)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Height = &lt;span style=&quot;color: blue;&quot;&gt;CInt&lt;/span&gt;(objGraphics.MeasureString(textBox1.Text,
objFont).Height)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objBmp = &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;
&lt;span style=&quot;color: #2b91af;&quot;&gt;Bitmap&lt;/span&gt;(objBmp, &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;
&lt;span style=&quot;color: #2b91af;&quot;&gt;Size&lt;/span&gt;(Width, Height))&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics = &lt;span style=&quot;color: #2b91af;&quot;&gt;Graphics&lt;/span&gt;.FromImage(objBmp)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics.SmoothingMode = &lt;span style=&quot;color: #2b91af;&quot;&gt;SmoothingMode&lt;/span&gt;.AntiAlias&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics.CompositingQuality =
System.Drawing.Drawing2D.&lt;span style=&quot;color: #2b91af;&quot;&gt;CompositingQuality&lt;/span&gt;.HighQuality&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics.InterpolationMode =
System.Drawing.Drawing2D.&lt;span style=&quot;color: #2b91af;&quot;&gt;InterpolationMode&lt;/span&gt;.High&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics.TextRenderingHint = &lt;span style=&quot;color: #2b91af;&quot;&gt;TextRenderingHint&lt;/span&gt;.AntiAlias&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics.DrawString(textBox1.Text,
objFont, &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; &lt;span style=&quot;color: #2b91af;&quot;&gt;SolidBrush&lt;/span&gt;(&lt;span style=&quot;color: #2b91af;&quot;&gt;Color&lt;/span&gt;.FromArgb(102, 102, 102)), 0, 0)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objGraphics.Flush()&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;mso-layout-grid-align: none; text-autospace: none;&quot;&gt;
&lt;span style=&quot;font-family: Consolas; font-size: 9.5pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pictureBox1.Image = objBmp&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.4shared.com/rar/nPZtZ_JS/ConvertirTextoImagen.html&quot; target=&quot;_blank&quot;&gt;Descargar ejemplo ConvertirTextoImagen.rar&lt;/a&gt;

 &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/5901519648568166127/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/5901519648568166127' title='2 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/5901519648568166127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/5901519648568166127'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2012/01/convertir-texto-en-imagen-en-c-y-vbnet.html' title='Convertir texto en Imagen en (C# Y VB.Net)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMl9T9rfDWtUfn5QPfvR_OfmPtRUPdtvG-oOUNWeS0vfA4dij6S8Zd79p4OF1fAlzUANVzP9iPlNB2mLfVrZx3sz4t8EcBNZ9ILHdbBw504kMJZn_dhXxvKpl_USwMBfuuCNsGsj9hJyT0/s72-c/Texto_en_imagen.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-1481586294183966347</id><published>2012-01-11T16:20:00.001-05:00</published><updated>2012-01-11T16:20:56.518-05:00</updated><title type='text'>Abrir puertos de SQL SERVER en Windows Server con el Firewall de Windows Activado</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h6 class=&quot;uiStreamMessage&quot; data-ft=&quot;{&amp;quot;type&amp;quot;:1}&quot;&gt;
&lt;span class=&quot;messageBody&quot; data-ft=&quot;{&amp;quot;type&amp;quot;:3}&quot;&gt;Abrir puertos de SQL SERVER en Windows Server con el Firewall de Windows Activado:&lt;br /&gt; &lt;br /&gt; 1).-Crear un archivo en blanco con extensión .bat&lt;br /&gt; 2).-Agregar el sgte codigo al archivo en blanco&lt;br /&gt; &lt;br /&gt;&lt;span class=&quot;text_exposed_show&quot;&gt; @echo =========  SQL Server Ports  ===================&lt;br /&gt; @echo Enabling SQLServer default instance port 1433&lt;br /&gt; netsh firewall set portopening TCP 1433 &quot;SQLServer&quot;&lt;br /&gt; @echo Enabling Dedicated Admin Connection port 1434&lt;br /&gt; netsh firewall set portopening TCP 1434 &quot;SQL Admin Connection&quot;&lt;br /&gt; @echo Enabling conventional SQL Server Service Broker port 4022&lt;br /&gt; netsh firewall set portopening TCP 4022 &quot;SQL Service Broker&quot;&lt;br /&gt; @echo Enabling Transact-SQL Debugger/RPC port 135&lt;br /&gt; netsh firewall set portopening TCP 135 &quot;SQL Debugger/RPC&quot;&lt;br /&gt; @echo =========  Analysis Services Ports  ==============&lt;br /&gt; @echo Enabling SSAS Default Instance port 2383&lt;br /&gt; netsh firewall set portopening TCP 2383 &quot;Analysis Services&quot;&lt;br /&gt; @echo Enabling SQL Server Browser Service port 2382&lt;br /&gt; netsh firewall set portopening TCP 2382 &quot;SQL Browser&quot;&lt;br /&gt; @echo =========  Misc Applications  ==============&lt;br /&gt; @echo Enabling HTTP port 80&lt;br /&gt; netsh firewall set portopening TCP 80 &quot;HTTP&quot;&lt;br /&gt; @echo Enabling SSL port 443&lt;br /&gt; netsh firewall set portopening TCP 443 &quot;SSL&quot;&lt;br /&gt; @echo Enabling port for SQL Server Browser Service&#39;s &#39;Browse&#39; Button&lt;br /&gt; netsh firewall set portopening UDP 1434 &quot;SQL Browser&quot;&lt;br /&gt; @echo Allowing multicast broadcast response on UDP (Browser Service Enumerations OK)&lt;br /&gt; netsh firewall set multicastbroadcastresponse ENABLE&lt;br /&gt; &lt;br /&gt; 3).-Llarmar al archivo desde command de windows y correrlo.&lt;br /&gt; 4).-Probar si se conecta al sql server desde una pc cliente&lt;/span&gt;&lt;/span&gt;&lt;/h6&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/1481586294183966347/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/1481586294183966347' title='1 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/1481586294183966347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/1481586294183966347'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2012/01/abrir-puertos-de-sql-server-en-windows.html' title='Abrir puertos de SQL SERVER en Windows Server con el Firewall de Windows Activado'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-2628977778755391445</id><published>2011-07-25T19:09:00.002-05:00</published><updated>2011-07-25T19:31:35.940-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="geometry"/><category scheme="http://www.blogger.com/atom/ns#" term="shp"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Vb.Net"/><title type='text'>Shapefile (.shp) Peru en Sql - VB.Net</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;tablas(departamento-provincia-distrito)&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbUdvHN7vvL3JVrbmZ0nv9dDfm1JVOiLyee2O3_mYs3KFCJSOhspE6NwHXOsqbssGYsTD-OxfPRAjCdCONmpBoQgDhgGHPVt2zhXqQBabOvTDFic1lywPuIGqyZL7PFtW8NtaCGD_czlHG/s1600/peru_departamento_shp_sql.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;308&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbUdvHN7vvL3JVrbmZ0nv9dDfm1JVOiLyee2O3_mYs3KFCJSOhspE6NwHXOsqbssGYsTD-OxfPRAjCdCONmpBoQgDhgGHPVt2zhXqQBabOvTDFic1lywPuIGqyZL7PFtW8NtaCGD_czlHG/s400/peru_departamento_shp_sql.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;http://www.4shared.com/file/0sTKeHIg/BAS_LIM_DEPARTAMENTO.html&quot; target=&quot;_blank&quot;&gt;descargar archivos BAS_LIM_DEPARTAMENTO.shp.rar&lt;/a&gt; &lt;br /&gt;
&lt;a href=&quot;http://www.4shared.com/file/AK6EWcHH/BAS_LIM_DEPARTAMENTO_2.html&quot; target=&quot;_blank&quot;&gt;BAS_LIM_DEPARTAMENTO_2.rar&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy-On9z8dxSPcp5gwjGMVx8MiaZjB18UJAvyLBzHhkmLitgWyVo_VFiVea301aVcR6zJMvo7-3guvpnCBWR3qDXF2N_ai1z3UpmD1zMAVz3TBzIgxwnndcKDSP6iofa3QwLvMcn6Xlc6oY/s1600/peru_provincia_shp_sql.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;311&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy-On9z8dxSPcp5gwjGMVx8MiaZjB18UJAvyLBzHhkmLitgWyVo_VFiVea301aVcR6zJMvo7-3guvpnCBWR3qDXF2N_ai1z3UpmD1zMAVz3TBzIgxwnndcKDSP6iofa3QwLvMcn6Xlc6oY/s400/peru_provincia_shp_sql.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;http://www.4shared.com/file/k7FBqoGz/BAS_LIM_PROVINCIA.html&quot; target=&quot;_blank&quot;&gt;descargar archivos BAS_LIM_PROVINCIA.shp.rar&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.4shared.com/file/AO71cZgM/BAS_LIM_PROVINCIA_2.html&quot; target=&quot;_blank&quot;&gt;BAS_LIM_PROVINCIA_2.rar&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghGWkLzBvwdmrRGEtoqshc35PRidK2Mi2dn6-2wso0RHsIagtp9myINJBMvH3MgZObqCaVnSMdNy4_ymGGTTolhJ3uemYbhyD97rTt-UeRF0L6w0pk0n2sQ-iL7x-aC_DpC6HSzyBVRO7I/s1600/peru_distritos_shp_sql.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;310&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghGWkLzBvwdmrRGEtoqshc35PRidK2Mi2dn6-2wso0RHsIagtp9myINJBMvH3MgZObqCaVnSMdNy4_ymGGTTolhJ3uemYbhyD97rTt-UeRF0L6w0pk0n2sQ-iL7x-aC_DpC6HSzyBVRO7I/s400/peru_distritos_shp_sql.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;http://www.4shared.com/file/20uQY8dc/BAS_LIM_DISTRITOS.html&quot; target=&quot;_blank&quot;&gt;descargar archivos BAS_LIM_DISTRITOS.shp.rar&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.4shared.com/file/bUV1dSw2/BAS_LIM_DISTRITOS_2.html&quot; target=&quot;_blank&quot;&gt;BAS_LIM_DISTRITOS_2.rar&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
antes de proceder la conversión instalar el &lt;a href=&quot;http://www.microsoft.com/downloads/es-es/details.aspx?familyid=d3173a87-7c0d-40cc-a408-3d1a43ae4e33&amp;amp;displaylang=es&quot;&gt;Generador de informes para Microsoft SQL Server&lt;/a&gt; mas información en http://www.microsoft.com/sqlserver/en/us/solutions-technologies/business-intelligence/reporting-services.aspx&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO6agPU8Aft6ditIx15MArmsrZ2oNbV_ljTofvEljV5a6d0SRzGTOTw_TjCzyGjvFBbUi3z7sboClS6S7AC-r0Op7jxgQbuEZzXu31PG9yYLnDNDs-9yR6o3rXG2LUGb_V_YUnurh5hjoH/s1600/Shape2Sql.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;352&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjO6agPU8Aft6ditIx15MArmsrZ2oNbV_ljTofvEljV5a6d0SRzGTOTw_TjCzyGjvFBbUi3z7sboClS6S7AC-r0Op7jxgQbuEZzXu31PG9yYLnDNDs-9yR6o3rXG2LUGb_V_YUnurh5hjoH/s400/Shape2Sql.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Ejecutar la aplicación que nos permite pasar de .shp a una tabla de sql server (&lt;a href=&quot;http://www.4shared.com/file/j7Lr1Y9I/Shape2Sql.html&quot;&gt;descargar Shape2Sql&lt;/a&gt;).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/2628977778755391445/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/2628977778755391445' title='1 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/2628977778755391445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/2628977778755391445'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2011/07/shapefile-shp-peru-en-sql-vbnet.html' title='Shapefile (.shp) Peru en Sql - VB.Net'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbUdvHN7vvL3JVrbmZ0nv9dDfm1JVOiLyee2O3_mYs3KFCJSOhspE6NwHXOsqbssGYsTD-OxfPRAjCdCONmpBoQgDhgGHPVt2zhXqQBabOvTDFic1lywPuIGqyZL7PFtW8NtaCGD_czlHG/s72-c/peru_departamento_shp_sql.bmp" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-8432039962321343691</id><published>2011-07-13T23:27:00.000-05:00</published><updated>2011-07-13T23:27:40.342-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SUNAT"/><category scheme="http://www.blogger.com/atom/ns#" term="Validación"/><category scheme="http://www.blogger.com/atom/ns#" term="Vb.Net"/><title type='text'>Validar RUC - SUNAT PERU</title><content type='html'>Algoritmo de Validación del RUC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-7XvHbpgyNdutZIsQY5vq57EBI1U2pYtIGSImxSa6SDyTL4jyHfU-DQFVU2pDfleUjxoYzws2Wlh64Eaf4XG1BTgeud00Q-6CkU9gx4DK7B7tYRmlxdgb_1zZHJRdr7RzZwRdkdwjsCqy/s1600/validar+ruc.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;333&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-7XvHbpgyNdutZIsQY5vq57EBI1U2pYtIGSImxSa6SDyTL4jyHfU-DQFVU2pDfleUjxoYzws2Wlh64Eaf4XG1BTgeud00Q-6CkU9gx4DK7B7tYRmlxdgb_1zZHJRdr7RzZwRdkdwjsCqy/s400/validar+ruc.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.4shared.com/file/oob2ITuo/VALIDAR_RUC.html&quot; target=&quot;_blank&quot;&gt;Descargar: -- VALIDAR_RUC.rar&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/8432039962321343691/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/8432039962321343691' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/8432039962321343691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/8432039962321343691'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2011/07/validar-ruc-sunat-peru.html' title='Validar RUC - SUNAT PERU'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-7XvHbpgyNdutZIsQY5vq57EBI1U2pYtIGSImxSa6SDyTL4jyHfU-DQFVU2pDfleUjxoYzws2Wlh64Eaf4XG1BTgeud00Q-6CkU9gx4DK7B7tYRmlxdgb_1zZHJRdr7RzZwRdkdwjsCqy/s72-c/validar+ruc.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-7880501434159404982</id><published>2011-06-09T00:27:00.000-05:00</published><updated>2011-06-09T00:27:29.307-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Datagridview"/><category scheme="http://www.blogger.com/atom/ns#" term="RowHeader"/><title type='text'>Agregar Numero de Fila en RowHeader del DatagridView</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1oRsIfeWpb3d50GhrI2Ibg37b4vgGr7dfs3Ub8jlOfZxMsaaT-ecfG9zflkQ_nCtbn5neL9kgFmYYPvkuHN3Ye7JSL4L1lTUjpYS6DrYwQRQWxOEDqt4dZjG7BlTzt4S0bzP6bAIJ2qVw/s1600/RowHeaderText.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;440&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1oRsIfeWpb3d50GhrI2Ibg37b4vgGr7dfs3Ub8jlOfZxMsaaT-ecfG9zflkQ_nCtbn5neL9kgFmYYPvkuHN3Ye7JSL4L1lTUjpYS6DrYwQRQWxOEDqt4dZjG7BlTzt4S0bzP6bAIJ2qVw/s640/RowHeaderText.bmp&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; DgvMostrarDatos_RowPostPaint(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;, &lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; System.Windows.Forms.DataGridViewRowPostPaintEventArgs) &lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt; DgvMostrarDatos.RowPostPaint&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; strRowNumber &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt; = (e.RowIndex + 1).ToString&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;While&lt;/span&gt; strRowNumber.Length &amp;lt; DgvMostrarDatos.RowCount.ToString.Length&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strRowNumber = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;0&quot;&lt;/span&gt; &amp;amp; strRowNumber&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;While&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; size &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; SizeF = e.Graphics.MeasureString(strRowNumber, &lt;span style=&quot;color: blue;&quot;&gt;Me&lt;/span&gt;.Font)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt; DgvMostrarDatos.RowHeadersWidth &amp;lt; &lt;span style=&quot;color: blue;&quot;&gt;CInt&lt;/span&gt;(size.Width + 20) &lt;span style=&quot;color: blue;&quot;&gt;Then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DgvMostrarDatos.RowHeadersWidth = &lt;span style=&quot;color: blue;&quot;&gt;CInt&lt;/span&gt;(size.Width + 20)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; bt &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; Brush = SystemBrushes.ControlText&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; mso-layout-grid-align: none; text-autospace: none;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.Graphics.DrawString(strRowNumber, &lt;span style=&quot;color: blue;&quot;&gt;Me&lt;/span&gt;.Font, bt, e.RowBounds.Location.X + 15, e.RowBounds.Location.Y + ((e.RowBounds.Height - size.Height) / 2))&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/7880501434159404982/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/7880501434159404982' title='6 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/7880501434159404982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/7880501434159404982'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2011/06/agregar-numero-de-fila-en-rowheader-del.html' title='Agregar Numero de Fila en RowHeader del DatagridView'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1oRsIfeWpb3d50GhrI2Ibg37b4vgGr7dfs3Ub8jlOfZxMsaaT-ecfG9zflkQ_nCtbn5neL9kgFmYYPvkuHN3Ye7JSL4L1lTUjpYS6DrYwQRQWxOEDqt4dZjG7BlTzt4S0bzP6bAIJ2qVw/s72-c/RowHeaderText.bmp" height="72" width="72"/><thr:total>6</thr:total><georss:featurename>Lima, Perú</georss:featurename><georss:point>-12.0433333 -77.028333299999986</georss:point><georss:box>-12.5153398 -77.32084429999999 -11.571326800000001 -76.735822299999981</georss:box></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-2732294614920951820</id><published>2011-04-13T16:44:00.001-05:00</published><updated>2011-04-13T16:44:49.130-05:00</updated><title type='text'>Tecnologia Interoperable</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY5YxOO7LFsmudmtaWUAutut643ZNxGVTTwMlExBKVypHicobrkl_7wuf1R8JXwSLrQ4S5lnAZHWSwEt-me5yB9WjCojckbq2LmuuYllhmhE1cEvyTBzY8DTSHHDLz4iZ38LEyYfPuIGz9/s1600/Tecnologia+interoperable.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;281&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY5YxOO7LFsmudmtaWUAutut643ZNxGVTTwMlExBKVypHicobrkl_7wuf1R8JXwSLrQ4S5lnAZHWSwEt-me5yB9WjCojckbq2LmuuYllhmhE1cEvyTBzY8DTSHHDLz4iZ38LEyYfPuIGz9/s400/Tecnologia+interoperable.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/2732294614920951820/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/2732294614920951820' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/2732294614920951820'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/2732294614920951820'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2011/04/tecnologia-interoperable.html' title='Tecnologia Interoperable'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgY5YxOO7LFsmudmtaWUAutut643ZNxGVTTwMlExBKVypHicobrkl_7wuf1R8JXwSLrQ4S5lnAZHWSwEt-me5yB9WjCojckbq2LmuuYllhmhE1cEvyTBzY8DTSHHDLz4iZ38LEyYfPuIGz9/s72-c/Tecnologia+interoperable.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-4811998129731953439</id><published>2011-04-06T18:11:00.001-05:00</published><updated>2011-04-07T09:15:05.783-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AccessDatabaseEngine"/><category scheme="http://www.blogger.com/atom/ns#" term="FileInfo Extension"/><category scheme="http://www.blogger.com/atom/ns#" term="Office Excel"/><category scheme="http://www.blogger.com/atom/ns#" term="Vb.Net"/><title type='text'>Leer Office Excel 2003,2007 con extensiones .xls;.xlsx;xlsb;xlsm en Vb.Net</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;La función tambien es aplicado para web.&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtQKtH6tTmFr4E031qOy7IIpjGO4TTwDp_D6OdQcsQJLNNoan7rcxVuG4h1PQiKcHu2SaEd8QrqjXb78sqwdV6oyAwopnYOKfEzoqAexbUcnD7ZZDF5hmo5bkikf6ikBsEQE0a_JgWmr-N/s1600/Dibujo.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtQKtH6tTmFr4E031qOy7IIpjGO4TTwDp_D6OdQcsQJLNNoan7rcxVuG4h1PQiKcHu2SaEd8QrqjXb78sqwdV6oyAwopnYOKfEzoqAexbUcnD7ZZDF5hmo5bkikf6ikBsEQE0a_JgWmr-N/s400/Dibujo.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&#39;Función para mostrar el excel&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Function&lt;/span&gt; MostrarDatExcel(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; RUTA &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;, &lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; HOJA &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;, &lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; WHERE &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;) &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; DataTable&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; Dst &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; DataSet&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; Coneccion &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt; = &lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; TABLE &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; DataTable&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; ru &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; FileInfo(RUTA)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Select&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Case&lt;/span&gt; ru.Extension&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Case&lt;/span&gt; &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;.xls&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Coneccion = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Provider=Microsoft.Jet.Oledb.4.0; data source= &quot;&lt;/span&gt; &amp;amp; RUTA &amp;amp; &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;;Extended properties=&quot;&quot;Excel 8.0;hdr=yes;imex=1&quot;&quot;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Case&lt;/span&gt; &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;.xlsx&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Coneccion = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Provider=Microsoft.ACE.OLEDB.12.0;Data Source= &quot;&lt;/span&gt; &amp;amp; RUTA &amp;amp; &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;;Extended Properties=&quot;&quot;Excel 12.0 Xml;HDR=YES&quot;&quot;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Case&lt;/span&gt; &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;.xlsb&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Coneccion = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Provider=Microsoft.ACE.OLEDB.12.0;Data Source= &quot;&lt;/span&gt; &amp;amp; RUTA &amp;amp; &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;;Extended Properties=&quot;&quot;Excel 12.0;HDR=YES&quot;&quot;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Case&lt;/span&gt; &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;.xlsm&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Coneccion = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Provider=Microsoft.ACE.OLEDB.12.0;Data Source= &quot;&lt;/span&gt; &amp;amp; RUTA &amp;amp; &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;;Extended Properties=&quot;&quot;Excel 12.0 Macro;HDR=YES&quot;&quot;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Select&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; Cn &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; OleDbConnection(Coneccion)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Try&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dst = &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; DataSet&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; Dap &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; OleDbDataAdapter(&lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Select * From [&quot;&lt;/span&gt; &amp;amp; HOJA &amp;amp; &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;$]&quot;&lt;/span&gt; &amp;amp; IIf(WHERE = &lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;.Empty, &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;&quot;&lt;/span&gt;, WHERE), Cn)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cn.Open()&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dap.Fill(Dst)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cn.Close()&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE = Dst.Tables(0)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Catch&lt;/span&gt; ex &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; Exception&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cn.Close()&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MessageBox.Show(ex.Message, &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Informa&quot;&lt;/span&gt;, MessageBoxButtons.OK, MessageBoxIcon.Information)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE = &lt;span style=&quot;color: blue;&quot;&gt;Nothing&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Try&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Return&lt;/span&gt; TABLE&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;End&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;Function&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&#39;Llamar al excel&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; Button1_Click(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; System.Object, &lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; System.EventArgs) &lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt; Button1.Click&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; oExcel &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; OpenFileDialog&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oExcel.Filter = &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;Excel 97-2003 Files|*.xls|Excel 2007 Files|*.xlsx|Excel xlsb|*.xlsb|Excel xlsm|*.xlsm|All Files|*.*&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt; oExcel.ShowDialog = Windows.Forms.DialogResult.OK &lt;span style=&quot;color: blue;&quot;&gt;Then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextBox1.Text = oExcel.FileName&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;If&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;End&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&#39;Mostrar el Datagridview&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;DataGridView1.DataSource = MostrarDatExcel(TextBox1.Text, TextBox2.Text, &lt;span style=&quot;color: #a31515;&quot;&gt;&quot;&quot;&lt;/span&gt;)&lt;/span&gt;&lt;span lang=&quot;EN-US&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
DESCARGAR Codigo&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.4shared.com/file/7X6F9jax/LeerExcel.html&quot; target=&quot;_blank&quot;&gt;LeerExcel.rar&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Referencias&lt;br /&gt;
Imports System.Data.OleDb&lt;br /&gt;
Imports System.IO&lt;br /&gt;
&lt;br /&gt;
sino tienes instalado el Office Excel 2007 descargar el siguiente componente AccessDatabaseEngine.exe(&lt;span style=&quot;font-size: x-small;&quot;&gt;Controlador de 2007 Office system: Componentes de conectividad de datos&lt;/span&gt;) instalarlo en la pc cliente y sin necesidad de instalarse el office 2007 leera la extension .xlsx&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.microsoft.com/downloads/es-es/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&quot;&gt;http://www.microsoft.com/downloads/es-es/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Información general&lt;br /&gt;
&lt;hr /&gt;&lt;div id=&quot;ctl00_ctl12_OverviewContent&quot; name=&quot;Overview&quot;&gt;Esta  descarga instalará un conjunto de componentes que pueden utilizarse con  otras aplicaciones que no son de Microsoft Office para leer datos de  archivos de 2007 Office System, como archivos de Microsoft Office Access  2007 (.mdb y .accdb) y de Microsoft Office Excel 2007 (.xls, .xlsx y  .xlsb).  También es compatible la conectividad a archivos de texto y de  Microsoft Windows SharePoint Services. &lt;br /&gt;
&lt;br /&gt;
Los controladores ODBC y  OLEDB se instalan con el objetivo de que los desarrolladores de  aplicaciones puedan utilizarlos para desarrollar aplicaciones con  conectividad a formatos de archivo de Office.&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/4811998129731953439/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/4811998129731953439' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/4811998129731953439'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/4811998129731953439'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2011/04/leer-office-excel-20032007-con.html' title='Leer Office Excel 2003,2007 con extensiones .xls;.xlsx;xlsb;xlsm en Vb.Net'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtQKtH6tTmFr4E031qOy7IIpjGO4TTwDp_D6OdQcsQJLNNoan7rcxVuG4h1PQiKcHu2SaEd8QrqjXb78sqwdV6oyAwopnYOKfEzoqAexbUcnD7ZZDF5hmo5bkikf6ikBsEQE0a_JgWmr-N/s72-c/Dibujo.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-2961749959773708664</id><published>2010-08-05T11:37:00.000-05:00</published><updated>2010-08-05T11:37:22.464-05:00</updated><title type='text'>App Inventor: Nuevo servicio de Google</title><content type='html'>Es un nuevo kit de desarrollo para aplicaciones de Android pensado para gente que busque crear aplicaciones simples para teléfonos móviles Android.&lt;br /&gt;
&lt;br /&gt;
Se trabaja de forma online,  permite realizar programas usando elementos visuales, concretamente  piezas de puzzle. Google lo ha estado probando en varios centros  educativos de EE.UU. y durante la próxima semana lo abrirá en fase beta a  unas cuantas personas.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;long_text&quot; id=&quot;result_box&quot;&gt;&lt;span title=&quot;&quot;&gt;App Inventor es simple de usar, pero también muy poderoso para &lt;/span&gt;&lt;span title=&quot;&quot;&gt;construir aplicaciones, incluso puede almacenar los datos creados por los usuarios  en una base de datos, en el que los profesores puedan crear un custionario y ser contestadas por el usuario.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;long_text&quot; id=&quot;result_box&quot;&gt;&lt;span title=&quot;&quot;&gt;Inscribite en &lt;a href=&quot;http://appinventor.googlelabs.com/about/&quot;&gt;http://appinventor.googlelabs.com/about/&lt;/a&gt; para que seas uno de los primeros en probarlo. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOoRk7Bxp2mig5haILzVVH6brzZFHZEwnlGsBZ8cuntgAobvKbx6eYopV5YJqRpBfKyV3-TELrF4rVSB-w9xfJLVoLCzuojbsVjhpmUqvKm7NPtpidbB4oSHIM6WMOHHy53Hf2kVu2A7xY/s1600/ScreenShotAbout1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;246&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOoRk7Bxp2mig5haILzVVH6brzZFHZEwnlGsBZ8cuntgAobvKbx6eYopV5YJqRpBfKyV3-TELrF4rVSB-w9xfJLVoLCzuojbsVjhpmUqvKm7NPtpidbB4oSHIM6WMOHHy53Hf2kVu2A7xY/s400/ScreenShotAbout1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span class=&quot;long_text&quot; id=&quot;result_box&quot;&gt;&lt;span title=&quot;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;object height=&quot;385&quot; width=&quot;640&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/8ADwPLSFeY8&amp;amp;hl=es_ES&amp;amp;fs=1&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;/param&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/8ADwPLSFeY8&amp;amp;hl=es_ES&amp;amp;fs=1&quot; type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot; width=&quot;640&quot; height=&quot;385&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.facebook.com/sharer.php&quot; name=&quot;fb_share&quot; type=&quot;box_count&quot;&gt;Compartir&lt;/a&gt;&lt;script src=&quot;http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/2961749959773708664/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/2961749959773708664' title='2 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/2961749959773708664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/2961749959773708664'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2010/08/app-inventor-nuevo-servicio-de-google.html' title='App Inventor: Nuevo servicio de Google'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOoRk7Bxp2mig5haILzVVH6brzZFHZEwnlGsBZ8cuntgAobvKbx6eYopV5YJqRpBfKyV3-TELrF4rVSB-w9xfJLVoLCzuojbsVjhpmUqvKm7NPtpidbB4oSHIM6WMOHHy53Hf2kVu2A7xY/s72-c/ScreenShotAbout1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-7272199799689484326</id><published>2010-08-05T02:13:00.001-05:00</published><updated>2010-08-05T02:17:21.047-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google"/><category scheme="http://www.blogger.com/atom/ns#" term="Wave"/><title type='text'>Google Wave: PROYECTO ABANDONADO</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNlViwYHxWyYpTh_K5pIaEdtte3sXsp0GMyOw0dCEtuVqOKQ0sFmA-JOqU6rWJHRfYsarV4eEb4cZ8YfMpJkh8a9UKvDM6JQkAZ9nue7rNfUqKZa2Bm_o3rwwkfTKSSYmXFeLazhydOZKR/s1600/GoogleWave.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;596&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNlViwYHxWyYpTh_K5pIaEdtte3sXsp0GMyOw0dCEtuVqOKQ0sFmA-JOqU6rWJHRfYsarV4eEb4cZ8YfMpJkh8a9UKvDM6JQkAZ9nue7rNfUqKZa2Bm_o3rwwkfTKSSYmXFeLazhydOZKR/s640/GoogleWave.bmp&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
No tenemos planes de continuar desarrollando WAVE como un producto independiente, pero vamos a mantener el sitio al menos hasta finales de año y ampliar la tecnología para su uso en otros proyectos de Google. La parte central del código, así como los protocolos que han hecho que muchas de las innovaciones de WAVE, por ejemplo, arrastrar y soltar y carácter por carácter, viven de escribir, ya están disponibles como fuente abierta, para que los clientes y socios pueden continuar con la innovación. Además, vamos a trabajar sobre las herramientas para que los usuarios fácilmente pueden &quot;liberar&quot; a su contenido desde el ciclo.&lt;br /&gt;
&lt;br /&gt;
WAVE nos ha enseñado mucho, y estamos orgullosos del equipo por la forma en la que ha empujado los límites de la informática. Estamos muy contentos con lo que van a desarrollar junto a medida que seguimos para crear innovaciones con el potencial de avance de la tecnología y la web en general. &lt;br /&gt;
&lt;br /&gt;
Fueron las palabras del equipo de desarrollo de WAVE.&amp;nbsp; :(&lt;br /&gt;
&lt;br /&gt;
Via &lt;a href=&quot;http://googleblog.blogspot.com/2010/08/update-on-google-wave.html&quot;&gt;Blog Google&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.facebook.com/sharer.php&quot; name=&quot;fb_share&quot; type=&quot;box_count&quot;&gt;Compartir&lt;/a&gt;&lt;script src=&quot;http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/7272199799689484326/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/7272199799689484326' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/7272199799689484326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/7272199799689484326'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2010/08/google-wave-proyecto-abandonado.html' title='Google Wave: PROYECTO ABANDONADO'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNlViwYHxWyYpTh_K5pIaEdtte3sXsp0GMyOw0dCEtuVqOKQ0sFmA-JOqU6rWJHRfYsarV4eEb4cZ8YfMpJkh8a9UKvDM6JQkAZ9nue7rNfUqKZa2Bm_o3rwwkfTKSSYmXFeLazhydOZKR/s72-c/GoogleWave.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-4253475105492912371</id><published>2010-07-27T08:38:00.000-05:00</published><updated>2010-07-27T08:38:59.029-05:00</updated><title type='text'>Mejor codificación con Visual Studio 2010</title><content type='html'>&lt;div class=&quot;MagazineStyle&quot;&gt;&lt;div class=&quot;FeatureTitle&quot;&gt;&lt;h1&gt;Mejor codificación con Visual Studio 2010&lt;/h1&gt;&lt;h3&gt;&lt;a href=&quot;http://www.blogger.com/magazine/ee532098.aspx?sdmr=DougTurnure&amp;amp;sdmi=authors&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl01&quot; onclick=&quot;javascript:Track(&#39;ctl00_MTContentSelector1_mainContentContainer_ctl00|ctl00_MTContentSelector1_mainContentContainer_ctl01&#39;,this);&quot;&gt;Doug Turnure&lt;/a&gt;&lt;/h3&gt;&lt;/div&gt;Han pasado 13 años desde que Microsoft desarrolló por primera vez Visual Studio, su entorno de desarrollo integrado insignia de larga duración. La versión inaugural de 1997 comenzó la alineación de las versiones 5 de Visual Basic y Visual C++ en un IDE común. Incluyó una Enterprise Edition, con un en ese entonces famoso elenco de tecnologías que incluían Visual InterDev, Microsoft Transaction Server y Visual SourceSafe 5.0. El propósito fundamental de esa versión era ayudar a los desarrolladores a crear aplicaciones distribuidas con componentes, tanto como aplicaciones cliente/servidor como aplicaciones web.&lt;br /&gt;
Hemos recorrido un largo camino como desarrolladores desde entonces. Aunque las formas modificadas de las arquitecturas de cliente/servidor y web aún dominan la escena de la codificación, el enfoque y las demandas de estas aplicaciones se han expandido desde el campo de los sistemas homogéneos y de las llamadas de objeto a objeto fuertemente tipadas.&lt;br /&gt;
La transferencia de estado de representación (REST) y las tecnologías relacionadas se están convirtiendo actualmente en los mecanismos de comunicación fundamentales estándar. Las aplicaciones están comenzando a encontrar su lugar en las arquitecturas basadas en nube, dejando la escalabilidad, la confiabilidad y la seguridad de datos en manos de terceros. Además, los patrones de aplicación web se están alineando con estilos y estándares genéricos. Incluso el hardware está cambiando, a medida que las velocidades de los procesadores se están acercando a sus máximos teóricos con la tecnología actual de chips, y los sistemas de varios núcleos están proporcionando una nueva forma de aprovechar aun más rendimiento de un mismo equipo.&lt;br /&gt;
Es a este mundo, y a sus exigencias sin precedentes de software y desarrolladores de software, que llega Visual Studio 2010. Cargado con nuevas capacidades, se posiciona para cumplir con los requisitos cada vez mayores de software en un mundo que ahora se extiende a través de plataformas, núcleos, estilos y estándares. Este artículo aborda algunas de las formas más importantes en que Visual Studio 2010 enfrenta los desafíos actuales, para ayudar a los desarrolladores a crear soluciones que prosperen en la compleja industria en la que ahora residen. No se abordarán todas las capacidades nuevas; el objetivo de este artículo es resaltar algunas de las características específicas que los desarrolladores podrán utilizar inmediatamente en su trabajo diario. La lista completa de características está disponible fácilmente en la documentación del producto.&lt;br /&gt;
&lt;h2&gt;Mejoras del IDE de Visual Studio&lt;/h2&gt;A medida que el desarrollo de software sigue enfrentando escenarios cada vez más complejos, los desarrolladores a menudo sienten la presión de ser más productivos. Visual Studio 2010 agrega varias características visuales nuevas en el editor mismo, que ayudan con la productividad. Abordaré tres de ellas en esta sección.&lt;br /&gt;
Una de las mejoras más simples de probar en el IDE de Visual Studio 2010 es la capacidad de arrastrar una ventana secundaria afuera de la ventana primaria del IDE. Los monitores se han vuelto lo suficientemente asequibles para permitir que los desarrolladores usen dos (o más) en su trabajo y esta nueva característica permite dispersar sus ventanas de codificación y diseño entre varias pantallas.&lt;br /&gt;
Funcionamiento &lt;em&gt;Sólo haga clic en la pestaña de la ventana y arrástrela afuera de la ventana del IDE de Visual Studio. La ventana se volverá a acoplar igual de fácil, sólo haciendo clic en la barra de título y arrastrándola de vuelta al área del IDE, alineando la barra de título con las pestañas de las otras ventanas. Al reacoplar, recibirá una indicación visual cuando la ventana esté alineada correctamente: la ventana se ensombrecerá para indicar que está lista para reacoplarse cuando la suelte. La&lt;/em&gt;&amp;nbsp;&lt;strong&gt;figura 1&lt;/strong&gt;&amp;nbsp;&lt;em&gt;muestra una ventana de código que se ha sacado de la ventana contenedora del IDE.&lt;/em&gt;&lt;br /&gt;
&lt;img alt=&quot;&quot; src=&quot;http://i.msdn.microsoft.com/ee336135.Turnure_Figure1(en-us,MSDN.10).png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Figura 1 &lt;strong&gt;Desprendimiento de una ventana del IDE&lt;/strong&gt;&lt;br /&gt;
Otra excelente nueva característica del editor de Visual Studio 2010 es la capacidad de seleccionar cuadros y editar un bloque vertical de texto. Algunas veces, necesita aplicar ediciones a una lista extendida de elementos y se encuentra realizando la secuencia de teclado de repetición rápida conocida (por ejemplo, “n+ flecha abajo+flecha atrás” una y otra vez). Aunque es posible que este no sea el problema más frecuente al que usted se enfrenta, suele ocurrir a veces y muchos desarrolladores desean poder seleccionar un bloque vertical completo y aplicar un cambio común a todas las líneas de una sola vez. Visual Studio 2010 presenta esta capacidad de edición de bloque.&lt;br /&gt;
&lt;strong&gt;Funcionamiento&lt;/strong&gt;&amp;nbsp;&lt;em&gt;Mantenga presionada la tecla Alt y realice la selección vertical que desea editar. El área resultada funcionará igual que una edición de una sola línea, pero las ediciones se duplicarán simultáneamente en todas las líneas seleccionadas, como se muestra en la&lt;/em&gt;&amp;nbsp;&lt;strong&gt;figura 2&lt;/strong&gt;&lt;em&gt;.&lt;/em&gt;&lt;br /&gt;
&lt;img alt=&quot;&quot; src=&quot;http://i.msdn.microsoft.com/ee336135.Turnure_Figure2a(en-us,MSDN.10).png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Figura 2 &lt;strong&gt;Selección de cuadro&lt;/strong&gt;&lt;br /&gt;
También existe una útil característica de resaltado para referencias en el código. En el editor, al hacer clic en una variable, objeto, método, propiedad, tipo u otro símbolo, todas las referencias a dicho símbolo en el código se resaltan, para ayudar a detectar rápidamente dónde se está usando el elemento.&lt;br /&gt;
&lt;strong&gt;Funcionamiento&lt;/strong&gt;&amp;nbsp;&lt;em&gt;Elija un tipo, una variable, un método u otro elemento y sólo haga clic sobre éste. Las otras instancias del elemento se resaltarán. La&lt;/em&gt;&amp;nbsp;&lt;strong&gt;figura 3&lt;/strong&gt;&amp;nbsp;&lt;em&gt;muestra esto para una variable llamada jumpList; observe el sombreado gris de todos los usos del código después de seleccionarlo con un clic del mouse.&lt;/em&gt;&lt;br /&gt;
&lt;img alt=&quot;&quot; src=&quot;http://i.msdn.microsoft.com/ee336135.Turnure_Figure3(en-us,MSDN.10).png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Figura 3 &lt;strong&gt;Símbolos resaltados&lt;/strong&gt;&lt;br /&gt;
&lt;h2&gt;Compatibilidad con programación paralela&lt;/h2&gt;Al profundizar un poco más en las nuevas capacidades del IDE, la siguiente nueva característica significativa que abordaré es la compatibilidad con la programación paralela. Visual Studio 2010 incluye herramientas de diagnóstico para ayudar a depurar y analizar aplicaciones paralelas. Antes de pasar al utillaje, sin embargo, abordaré brevemente lo que es la programación paralela, y después podremos ver cómo el runtime y las bibliotecas implementan estas nuevas capacidades.&lt;br /&gt;
Muchos de los equipos actuales estándar de los desarrolladores son de varios núcleos, lo que significa que tienen dos o más procesadores individuales, y la tendencia actual es hacia equipos con muchos más núcleos. Además de la innovación pura, factores, tales como la conservación de energía y las limitaciones realistas de velocidad del reloj, el consumo de energía y el calor, están influyendo en la tendencia hacia sistemas con varios núcleos. Algunos líderes de la industria predicen que los equipos estándar tendrán 50 o más núcleos dentro de pocos años.&lt;br /&gt;
Esto representa un problema extraordinario. Antes de la revolución de los núcleos múltiples, los equipos más rápidos se traducían en aplicaciones de ejecución más rápida. Sin embargo, el software ligado a un solo núcleo (como la mayoría del software actual) no puede aprovechar esta arquitectura emergente. Por lo tanto, es fundamental que las arquitecturas de varios núcleos sean compatibles de aquí en adelante. Antes de Visual Studio 2010 y .NET Framework 4, era difícil escribir código que pudiera aprovechar más de un núcleo. Para enfrentar este desafío, esta versión incluye algunas actualizaciones en el runtime (así como algunos nuevos tipos, bibliotecas y utillaje) para ayudar a los desarrolladores a aprovechar los sistemas de varios núcleos.&lt;br /&gt;
.NET Framework 4 incluye extensiones paralelas, que contienen tres componentes: una nueva biblioteca TPL, un nuevo motor de ejecución PLINQ y algunas nuevas estructuras de coordinación de datos (CDS). La biblioteca TPL contiene dos clases primarias. Una de ellas, System.Threading.Tasks.Parallel, incluye construcciones paralelas, como una versión paralela de los métodos For y ForEach. Como su nombre lo indica, el motor de ejecución PLINQ es una versión en paralelo de LINQ to Objects, lo que proporciona una clase ParallelEnumerable en lugar de la clase Enumerable de LINQ. El uso de PLINQ es similar, pero no idéntico, al uso de LINQ to Objects. Por último, CDS incluye un grupo de colecciones seguras para subprocesos y primitivos de sincronización para simplificar escenarios paralelos. CDS incluye los participantes conocidos que esperaría en colecciones seguras para subprocesos (por ejemplo, ConcurrentDictionary, ConcurrentQueue y ConcurrentStack) y tipos de sincronización (SemaphoreSlim, SpinLock, SpinWait y más).&lt;br /&gt;
Visual Studio 2010 incluye compatibilidad con extensiones paralelas a través de una nueva ventana Parallel Stacks, una ventana Parallel Tasks y un visualizador de simultaneidad. Todas estas ventanas están diseñadas para entregar una mejor idea de dónde se encuentran las diferentes tareas en un determinado momento de su ejecución. La ventana Parallel Stacks muestra la manera en que varias tareas se abren paso a través de sus rutas dedicadas y muestra pilas de llamadas para las tareas. Usted tiene la opción de verla en términos de abstracción de tareas o directamente como subprocesos. La &lt;strong&gt;figura 4&lt;/strong&gt; muestra la ventana Parallel Stacks en con la opción de visualización de abstracción de tareas.&lt;br /&gt;
&lt;img alt=&quot;&quot; src=&quot;http://i.msdn.microsoft.com/ee336135.Turnure_Figure4(en-us,MSDN.10).png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Figura 4 &lt;strong&gt;Ventana Parallel Stacks de Visual Studio 2010&lt;/strong&gt;&lt;br /&gt;
La ventana Parallel Tasks se ha agregado específicamente para admitir el nuevo modelo de programación basado en tareas. Cuando la aplicación se encuentra en modo de interrupción, puede usar esta ventana para ver cosas como la lista de tareas, el método de ejecución actual para cada tarea, el subproceso afiliado, el dominio de la aplicación, la id. de tarea y más. La ventana es más que una mera visión estática; se puede hacer clic en una tarea específica y el IDE mostrará su estado trayendo al frente el código de ejecución actual. La &lt;strong&gt;figura 5&lt;/strong&gt; muestra esta ventana para una aplicación de ejemplo. El uso de esta ventana junto a la ventana Parallel Stacks es una buena forma de tener una vista rápida del código en ejecución.&lt;br /&gt;
&lt;img alt=&quot;&quot; src=&quot;http://i.msdn.microsoft.com/ee336135.Turnure_Figure5(en-us,MSDN.10).png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Figura 5 &lt;strong&gt;Ventana Parallel Tasks de Visual Studio 2010&lt;/strong&gt;&lt;br /&gt;
Por último, para obtener un análisis más profundo de una aplicación paralela, existe un nuevo visualizador de simultaneidad en Visual Studio 2010. Esta ventana es mucho más compleja que las otras dos y actualmente no admite proyectos web. Su propósito es brindar algunas nociones de cómo la aplicación interactúa con su entorno en escenarios de varios núcleos y varios subprocesos. Hay tres vistas:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;La vista CPU Utilization muestra la actividad del procesador.&lt;/li&gt;
&lt;li&gt;La vista Threads muestra cómo interactúan los subprocesos en la aplicación.&lt;/li&gt;
&lt;li&gt;La vista Cores ofrece información específica sobre cómo los subprocesos migran a través de los núcleos.&lt;/li&gt;
&lt;/ul&gt;El visualizador de simultaneidad depende de Seguimiento de eventos para Windows, lo que significa que se debe ejecutar en Windows Vista o posterior. Las vistas (que van desde texto básico hasta visualizaciones gráficas completas) buscan ineficiencias en el código provocadas por carga mal distribuida a través de CPU, cuellos de botella de ejecución, contenciones y otros posibles inhibidores de rendimiento. La &lt;strong&gt;figura 6&lt;/strong&gt; muestra el visualizador de simultaneidad, que muestra el uso de subprocesos de una aplicación con un perfil creado.&lt;br /&gt;
&lt;img alt=&quot;&quot; src=&quot;http://i.msdn.microsoft.com/ee336135.Turnure_Figure6(en-us,MSDN.10).png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Figura 6 &lt;strong&gt;El visualizador de simultaneidad de Visual Studio 2010&lt;/strong&gt;&lt;br /&gt;
&lt;h2&gt;Actualizaciones web&lt;/h2&gt;Junto con las actualizaciones generales que he abordado, encontrará notables mejoras para desarrolladores web que pasan a Visual Studio 2010. Por supuesto, ahora se incluye el utillaje del nuevo modelo de programación Controlador de vista de modelo (MVC), que abordaré en la siguiente sección. Y hay experiencias de desarrollador web mejoradas para tecnologías web del lado del cliente y del servidor, así como un modelo de implementación web de un solo clic. Pero comenzaré con ASP.NET AJAX y las nuevas capacidades relacionadas del IDE.&lt;br /&gt;
El utillaje de ASP.NET AJAX existió en Visual Studio a partir de Visual Studio 2008. Sin embargo, las plantillas centradas en el servidor han llevado a algunos desarrolladores a creer que éste no agregó valor significativo al desarrollo del lado del cliente. Aunque siempre han existido capacidades del lado del cliente, Visual Studio 2010 incluye soporte adicional que realmente emerge en las capacidades del lado del cliente y del servidor de ASP.NET AJAX. Las plantillas y los controles del lado del cliente son una parte significativa de la nueva lista de características, dado que permiten aprovechar las capacidades mejoradas de acceso a datos del cliente, pero también vale la pena abordar otros nuevos elementos, tales como la integración con jQuery.&lt;br /&gt;
Antes de Visual Studio 2010 y de .NET Framework 4, si se deseaba usar software descargado e incorporar la biblioteca de Microsoft AJAX a Visual Studio, se inyectaba todo en la página cuando se agregaba ScriptManager. Con esta versión, se han combinado la biblioteca de Microsoft AJAX y el kit de herramientas de control de AJAX. Asimismo, el equipo de Microsoft AJAX refactorizó las bibliotecas, de manera que ahora se pueden pedir las piezas individuales que se desean, en lugar de estar forzado a una opción de todo o nada. Se puede especificar un modo, solicitarlo todo, ninguna o piezas específicas de la biblioteca de Microsoft AJAX.&lt;br /&gt;
&lt;strong&gt;Funcionamiento&lt;/strong&gt;&amp;nbsp;&lt;em&gt;En la etiqueta ScriptManager, sólo incluya el atributo AjaxFrameworkMode. Puede configurarlo en Disabled, Enabled o Explicit:&lt;/em&gt;&lt;br /&gt;
&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl08&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl08_&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;CodeSnippetTitleBar&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;CopyCodeButton&quot;&gt;&lt;a class=&quot;copyCode&quot; href=&quot;javascript:CopyCode(&#39;ctl00_MTContentSelector1_mainContentContainer_ctl08_code&#39;);&quot; title=&quot;Copiar código&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;LibC_copy_off&quot; style=&quot;border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; height: 9px; width: auto;&quot;&gt;&lt;/div&gt;Copiar código&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;background-color: #dddddd;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl08_code&quot; space=&quot;preserve&quot;&gt;&amp;lt;asp:ScriptManager ... AjaxFrameworkMode=&quot;Disabled&quot;/&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
Disabled significa que usted no desea que se cargue Microsoft AJAX Frameworks. Enabled significa que desea el comportamiento existente de versiones anteriores (carga de la biblioteca completa). Explicit permite especificar los archivos de la biblioteca de Microsoft AJAX que desea que se carguen. Puede comprobar esto en el runtime mediante View Source con la página cargada.&lt;br /&gt;
De manera similar, el nuevo atributo de red de entrega de contenido (CDN) permite usar las versiones más actualizadas de bibliotecas de script. Anteriormente, se incluían bibliotecas de script tales como jQuery o Microsoft AJAX en el proyecto, y las versiones que se incluían eran las versiones con las que se quedaba para dicha versión. Ahora, puede solicitar que se descargue la versión más reciente desde la Web, en lugar de imponer una versión fija en sus soluciones.&lt;br /&gt;
&lt;strong&gt;Funcionamiento&lt;/strong&gt;&amp;nbsp;&lt;em&gt;En la etiqueta asp:ScriptManager, se puede incluir el atributo EnableCdn, configurándolo en “true”:&lt;/em&gt;&lt;br /&gt;
&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl09&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl09_&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;CodeSnippetTitleBar&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;CopyCodeButton&quot;&gt;&lt;a class=&quot;copyCode&quot; href=&quot;javascript:CopyCode(&#39;ctl00_MTContentSelector1_mainContentContainer_ctl09_code&#39;);&quot; title=&quot;Copiar código&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;LibC_copy_off&quot; style=&quot;border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; height: 9px; width: auto;&quot;&gt;&lt;/div&gt;Copiar código&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;background-color: #dddddd;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl09_code&quot; space=&quot;preserve&quot;&gt;&amp;lt;asp:ScriptManager ... EnableCdn=&quot;true&quot;/&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
ASP.NET AJAX 4.0 también permite definir plantillas puramente del lado del cliente. Se configura un marcador de posición &amp;lt;ItemTemplate&amp;gt; y se deja que el cliente realice la representación según valores de runtime, como objeto enlazado a JSON. El runtime realiza la instalación en su nombre, y no es necesario realizar la codificación DOM para que funcione.&lt;br /&gt;
Una de las adiciones más útiles a ASP.NET AJAX 4.0 es el acceso mejorado a datos del cliente, que usa el nuevo control DataView y plantillas de cliente para proporcionar acceso fácil y enlace de datos bidireccional en el cliente. Está diseñado para consumir servicios web ASMX, servicios WCF, WCF Data Services, controladores MVC o realmente cualquier cosa que devuelva JSON y hace esto completamente desde código del lado del cliente.&lt;br /&gt;
El control DataView es el control principal para admitir plantillas de cliente. Funciona de manera similar a un control ListView, pero se implementa completamente en el código cliente. Permite definir una plantilla en el cliente, introducir los datos en runtime y, después, aplicar formato a los registros a medida que se visualizan.&lt;br /&gt;
&lt;strong&gt;Funcionamiento&lt;/strong&gt;&amp;nbsp;&lt;em&gt;Se puede establecer la etapa con un paso sumamente básico: cree un Entity Data Model sobre la base de datos Northwind SQL y use un servicio de datos WCF convencional que lo haga pasar directamente sin cambios, lo que significa que la tabla Employees debe estar disponible para consulta. Con este telón de fondo, se selecciona el control que desea que sirva como la plantilla y se le da un atributo ID y un atributo class=“sys-template”. Cuando se crea la vista de datos, el ID se usa para indicar el destino de los datos que pasan a través del enlace. Se pueden enlazar manualmente, pero también existe una sintaxis que usa llaves para incrustar directamente el nombre de campo en el marcado, que se reemplazará cuando los datos se capturen y se los enlace a ella. Existen varias sintaxis para lograr esto, pero una de las maneras más legibles de escribir el script y el marcado para ejecutar esto es el uso de llaves dobles, como se muestra en la&lt;/em&gt;&amp;nbsp;&lt;strong&gt;figura 7&lt;/strong&gt;&lt;em&gt;.&lt;/em&gt;&lt;br /&gt;
Figura 7 &lt;strong&gt;Acceso mejorado a datos con el control DataView&lt;/strong&gt;&lt;br /&gt;
&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl10&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl10_&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;CodeSnippetTitleBar&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;CopyCodeButton&quot;&gt;&lt;a class=&quot;copyCode&quot; href=&quot;javascript:CopyCode(&#39;ctl00_MTContentSelector1_mainContentContainer_ctl10_code&#39;);&quot; title=&quot;Copiar código&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;LibC_copy_off&quot; style=&quot;border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; height: 9px; width: auto;&quot;&gt;&lt;/div&gt;Copiar código&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;background-color: #dddddd;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl10_code&quot; space=&quot;preserve&quot;&gt;...
   &amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
    Sys.require([Sys.components.dataView, 
                 Sys.components.adoNetServiceProxy], function () {
            
       var adoNetDataServiceProxy = 
         new Sys.Data.AdoNetServiceProxy(&#39;NWDataService.svc&#39;);
         
       Sys.create.dataView(&quot;#employeetemplate&quot;, {
         dataProvider: adoNetDataServiceProxy,
         fetchOperation: &quot;Employees&quot;,
         autoFetch: true
            });
       });
    &amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
  &amp;lt;div id=&quot;employeetemplate&quot; class=&quot;sys-template&quot;&amp;gt;
      &amp;lt;span&amp;gt;{{ FirstName }}&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt; 
  &amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
Otro elemento destacado de ASP.NET AJAX es que se ha configurado para integrarse de manera mucho más cercana con jQuery. Con el objetivo de permitir que los desarrolladores de jQuery aprovechen los controles de ASP.NET AJAX, todos los controles del kit de herramientas de control de AJAX ahora se exponen automáticamente como complementos de jQuery. Esto significa que los desarrolladores de jQuery puede usar los controles sin tener que cambiar su estilo de desarrollo. Puede considerarlos simplemente como extensiones de jQuery.&lt;br /&gt;
Más allá del campo de ASP.NET AJAX, existen varias otras excelentes mejoras de la experiencia de programación de ASP.NET. El enrutamiento de URL con formularios web brinda a las URL una sensación despejada y lógica, que es mucho más apta para la optimización del motor de búsqueda (SEO), así como también legible para los usuarios. Se pueden definir rutas en el archivo global.asax, que asignan las solicitudes a los recursos correspondientes. Esto no sólo ayuda mejorar la SEO, sino que las páginas pueden tomar una ruta predecible para el usuario, como se muestra en la &lt;strong&gt;figura 8&lt;/strong&gt;.&lt;br /&gt;
Figura 8 &lt;strong&gt;Mejoras de enrutamiento de URL en Visual Studio 2010&lt;/strong&gt;&lt;br /&gt;
&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl11&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl11_&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;CodeSnippetTitleBar&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;CopyCodeButton&quot;&gt;&lt;a class=&quot;copyCode&quot; href=&quot;javascript:CopyCode(&#39;ctl00_MTContentSelector1_mainContentContainer_ctl11_code&#39;);&quot; title=&quot;Copiar código&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;LibC_copy_off&quot; style=&quot;border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; height: 9px; width: auto;&quot;&gt;&lt;/div&gt;Copiar código&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;background-color: #dddddd;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl11_code&quot; space=&quot;preserve&quot;&gt;New URL Routing Format:
 /CurrentPosition/Bob/Tester

Old URL Style:
 /CurrentPositions.aspx?name=&quot;Bob&quot;&amp;amp;role=&quot;Tester&quot;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
Existen muchas otras mejoras relacionadas con la Web que vale la pena abordar, tales como sitios web para principiantes, HTML más despejadas y archivos de configuración más pequeños, pero no puedo abordarlas todas aquí, por lo que pasaré a las adiciones de utillaje de MVC.&lt;br /&gt;
&lt;h2&gt;Integración de MVC&lt;/h2&gt;El patrón arquitectónico de MVC es una manera popular de crear aplicaciones web muy fáciles de mantener y probar con límites bien definidos y una clara categorización del código por función. MVC es un estilo de programación de ASP.NET que aprovecha plenamente el framework ASP.NET. Es una alternativa a los formularios web, pero no los reemplaza; ambos modelos funcionan muy bien para determinados escenarios y conjuntos de habilidades. Los desarrolladores ahora tienen opciones de modelos de programación para aplicaciones web, ambas basadas en ASP.NET y totalmente compatibles con Visual Studio 2010.&lt;br /&gt;
La versión 2 de MVC y su utillaje relacionado (creados entre versiones de Visual Studio) se han integrado al IDE de Visual Studio 2010 con dos plantillas de proyecto, como se muestra en la &lt;strong&gt;figura 9&lt;/strong&gt;.&lt;br /&gt;
&lt;img alt=&quot;&quot; src=&quot;http://i.msdn.microsoft.com/ee336135.Turnure_Figure9(en-us,MSDN.10).png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Figura 9 &lt;strong&gt;Plantillas de proyecto MVC en Visual Studio 2010&lt;/strong&gt;&lt;br /&gt;
Con la versión Visual Studio 2010, el modelo de programación de MVC se ha enfocado en tres áreas primarias de mejora. La primera es una mejor separación de las inquietudes. Esto significa un código más fácil de mantener a través de cosas como un nuevo método RenderAction para componer separación comercial lógica, y Áreas, que permiten crear “subaplicaciones” para dividir la funcionalidad en su aplicación. La segunda área de mejora es una mejor historia de variaciones, facilitada a través de anotaciones de fechas y una mejor propagación de reglas de validación para el cliente. Por último, existen mejoras auxiliares. Ahora existen auxiliares fuertemente tipados, así como auxiliares en plantillas, que permiten generar automáticamente UI para entidades.&lt;br /&gt;
&lt;strong&gt;Funcionamiento&lt;/strong&gt;&amp;nbsp; &lt;em&gt;RenderAction facilita compartir una pieza de lógica entre varios controladores. Para llamar al método RenderAction desde dentro de su vista, use el siguiente script (que llama la acción NewEmployee dentro de HRController):&lt;/em&gt;&lt;br /&gt;
&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl13&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl13_&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;CodeSnippetTitleBar&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;CopyCodeButton&quot;&gt;&lt;a class=&quot;copyCode&quot; href=&quot;javascript:CopyCode(&#39;ctl00_MTContentSelector1_mainContentContainer_ctl13_code&#39;);&quot; title=&quot;Copiar código&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;LibC_copy_off&quot; style=&quot;border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; height: 9px; width: auto;&quot;&gt;&lt;/div&gt;Copiar código&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;background-color: #dddddd;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl13_code&quot; space=&quot;preserve&quot;&gt;&amp;lt;%  Html.RenderAction(&quot;NewEmployee&quot; &quot;HRController&quot;); %&amp;gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;h2&gt;Integración de SharePoint&lt;/h2&gt;Otra integración significativa de utillaje en Visual Studio 2010 es la adición de plantillas para SharePoint Foundation (anteriormente Windows SharePoint Services). Visual Studio 2010 incluye 12 plantillas nuevas para SharePoint Foundation, además de las plantillas SharePoint 2007 Sequential y State Machine Workflow desde las herramientas de Visual Studio para complemento de Office para Visual Studio 2008. Estas plantillas elevan el desarrollo de SharePoint a estado de primera clase, con un enfoque hacia la productividad y la implementación flexibles.&lt;br /&gt;
SharePoint Foundation está cambiando en cuanto al uso de núcleos, desde ser un simple portal que se puede extender hasta ser una plataforma para crear aplicaciones desde cero, usando componentes como la administración de usuario, la infraestructura de listas subyacente y el modelo de sitio. Existen avances significativos en el acceso a datos, integración de aplicaciones de línea de negocio y flujo de trabajo. También existe un modelo de implementación más flexible. Muchas compañías actualmente tienen instalaciones masivas de SharePoint y necesariamente son más cuidadosas acerca de la implementación ad-hoc de nuevas aplicaciones de SharePoint. El nuevo modelo de implementación flexible significa que ahora puede aislar sus nuevas instalaciones a grupos específicos, en lugar de exigirles que se implementen en todo el ecosistema de SharePoint.&lt;br /&gt;
Visual Studio 2010 ha mejorado ampliamente las opciones de utillaje para crear aplicaciones de SharePoint. Es cierto que ya existían eficientes capacidades para esto, pero la curva inicial de aprendizaje fue realmente difícil. Con esta versión, encontrará excelente soporte para SharePoint compilado dentro de las herramientas. Esto incluye depuración completa e integrada, utillaje de implementación flexible y compatibilidad de diseño mejorada para servicios de conectividad empresarial (BCS), flujo de trabajo, LINQ to SharePoint y elementos web visuales. También existe un mejor puente para importar elementos desde la herramienta SharePoint Designer hasta Visual Studio 2010.&lt;br /&gt;
&lt;strong&gt;Funcionamiento&lt;/strong&gt;&amp;nbsp;&lt;em&gt;La creación de un elemento web visual es considerablemente más fácil en Visual Studio 2010 con la nueva superficie de diseño. Comience por elegir empezar un nuevo proyecto y seleccione SharePoint | Visual Web Part, como se muestra en la&lt;/em&gt;&amp;nbsp;&lt;strong&gt;figura 10&lt;/strong&gt;&lt;em&gt;.&lt;/em&gt;&lt;br /&gt;
&lt;img alt=&quot;&quot; src=&quot;http://i.msdn.microsoft.com/ee336135.Turnure_Figure10(en-us,MSDN.10).png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Figura 10 &lt;strong&gt;Plantilla Visual Web Part de SharePoint en Visual Studio 2010&lt;/strong&gt;&lt;br /&gt;
&lt;em&gt;Tenga en cuenta que debe tener instalado SharePoint en el equipo del desarrollador para esto, pero que no es tan difícil como solía serlo. Si usa Windows Vista SP1 (o posterior) o Windows 7, ahora puede instalar SharePoint directamente en el equipo sin tener que preocuparse de instalar Windows Server o configurar una VM para esto.&lt;/em&gt;&lt;br /&gt;
&lt;em&gt;Se le pedirá que indique a Visual Studio 2010 dónde desea instalar la solución para depuración. Una vez que tenga abierto el editor, puede hacer clic en la pestaña inferior izquierda Design y comenzar a construir visualmente el elemento web simplemente arrastrando y soltando controles en la superficie. Tenga en cuenta que puede que necesite abrir el cuadro de herramientas (View menu | Toolbox) si aún no aparece.&lt;/em&gt;&lt;br /&gt;
&lt;h2&gt;Desarrollo de Windows 7&lt;/h2&gt;Con la popularidad cada vez mayor de Windows 7, es probable que los desarrolladores deseen comenzar a agregar funcionalidad a sus aplicaciones que aproveche algunas de las ricas experiencias disponibles en su nueva plataforma. Existen varias formas en que los desarrolladores pueden agregar funcionalidad específica de Windows 7. Una de las nuevas capacidades populares es la nueva barra de tareas. Dada su pronta aceptación por parte de los usuarios y su facilidad de programación, está bien posicionada para usarla en aplicaciones compatibles con Windows 7.&lt;br /&gt;
La barra de tareas reemplaza a la barra de tareas de Inicio rápido de versiones anteriores de Windows. La barra de tareas se extiende por la parte inferior (de manera predeterminada) de la pantalla de Windows 7 y permite “fijarle” aplicaciones. Además, permite que las aplicaciones incorporen elementos, tales como Jump List, que son conjuntos de vínculos rápidos a los que se tiene acceso al hacer clic con botón secundario en los iconos acoplados, y las vistas previas de barra de tareas, que son vistas en miniatura de las ventanas abiertas de una aplicación.&amp;nbsp;La barra de tareas se programa fácilmente, tanto desde código administrado (a través del Windows 7 API Code Pack) como no administrado, y da de lleno en las selecciones con precisión de los desarrolladores que desean aprovechar la creación de aplicaciones para ejecutar en Windows 7.&lt;br /&gt;
&lt;strong&gt;Funcionamiento&lt;/strong&gt;&amp;nbsp;&lt;em&gt;Los usuarios pueden fijar y retirar aplicaciones de la barra de tareas simplemente haciendo clic con botón secundario en los iconos, ya sea en el menú de inicio, en el Explorador o en la barra de tareas misma. Para fijar una aplicación, haga clic con el botón secundario en el icono de la aplicación (no en un documento, sino en la aplicación misma) y seleccione “Pin to taskbar”. Para quitarla de la barra de tareas, haga lo mismo, pero seleccione “Unpin this program from Taskbar”.&lt;/em&gt;&lt;br /&gt;
La barra de tareas ofrece mejoras tanto cosméticas como funcionales para las aplicaciones. Cualquier programa se puede fijar a la barra de tareas, ya sea que se esté ejecutando o no. El icono fijado puede iniciar la aplicación o servir para representar ventanas minimizadas. Cuando se coloca el cursor sobre un icono en la barra de tareas, se provoca un bello efecto visual llamado “seguimiento activo” cuando la aplicación se está ejecutando. El seguimiento activo toma el color dominante del icono y lo usa para resaltar el icono. Por supuesto, también puede ver una vista previa de sus instancias en ejecución de la aplicación justo encima del icono fijado.&lt;br /&gt;
La barra de tareas también tiene una característica llamada aero-peek. Para verla, puede colocar el cursor sobre la vista previa de una ventana y la ventana de la vista previa seleccionada pasará al frente, mientras que las demás ventanas se atenúan. Esta es una excelente forma en que los usuarios pueden dar un breve vistazo a una ventana oculta o minimizada sin cambiar el enfoque ni presionar una sola tecla.&lt;br /&gt;
Para realizar seguimiento de aplicaciones, a las instancias de aplicaciones en ejecución se les otorga una id. de aplicación y se alinean con su icono de aplicación en la barra de tareas. Como desarrollador, puede usar las clases TaskbarManager y JumpList para interactuar de manera programática con la barra de tareas desde sus aplicaciones. Tenga en cuenta que para usar estas clases, deberá descargar y hacer referencia a los ensamblados en el Windows 7 API Code Pack gratuito desde &lt;a href=&quot;http://code.msdn.microsoft.com/WindowsAPICodePack&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl15&quot; onclick=&quot;javascript:Track(&#39;ctl00_MTContentSelector1_mainContentContainer_ctl00|ctl00_MTContentSelector1_mainContentContainer_ctl15&#39;,this);&quot;&gt;code.msdn.microsoft.com/WindowsAPICodePack&lt;/a&gt;.&lt;br /&gt;
El equipo de SDK de Windows compiló este paquete de códigos, que permite trabajar de manera programática con la barra de tareas. También contiene varias aplicaciones de ejemplo que tienen mejoras de Windows 7. Usted en realidad establece una referencia con los ensamblados compilados (en este ejemplo, la búsqueda del proyecto de barra de tareas) dentro del código.&lt;br /&gt;
También tiene flexibilidad para dar a varias instancias de una aplicación la misma id. de aplicación o ids. de aplicación únicas, de manera que puede agruparlas o separarlas en la barra de tareas. Para dar a diferentes instancias de una aplicación ids. únicas, debe establecer la id. de aplicación antes de llamar a Application.Run. Si solamente desea dar a ventanas secundarias su propio icono en la barra de tareas, puede cambiar su id. de aplicación en cualquier momento.&lt;br /&gt;
&lt;strong&gt;Funcionamiento&lt;/strong&gt;&amp;nbsp;&lt;em&gt;Para dar a ventanas secundarias su propio icono en la barra de tareas, use la clase JumpList y llame al método estático CreateJumpListForIndividualWindow, pasando una id. de aplicación de ventana secundaria y el controlador de la ventana. El código es similar al siguiente:&lt;/em&gt;&lt;br /&gt;
&lt;span id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl16&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl16_&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;CodeSnippetTitleBar&quot;&gt;&lt;div class=&quot;CodeDisplayLanguage&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;CopyCodeButton&quot;&gt;&lt;a class=&quot;copyCode&quot; href=&quot;javascript:CopyCode(&#39;ctl00_MTContentSelector1_mainContentContainer_ctl16_code&#39;);&quot; title=&quot;Copiar código&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;LibC_copy_off&quot; style=&quot;border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; height: 9px; width: auto;&quot;&gt;&lt;/div&gt;Copiar código&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div dir=&quot;ltr&quot; style=&quot;background-color: #dddddd;&quot;&gt;&lt;pre class=&quot;libCScode&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl16_code&quot; space=&quot;preserve&quot;&gt;childWindowJumpList = JumpList.CreateJumpListForIndividualWindow(
childWindowApplicationId, this.Handle);&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;h2&gt;Integración de Windows Azure&lt;/h2&gt;La computación nube está emergiendo rápidamente como una alternativa viable a las soluciones arquitectónicas tradicionales de hosting web local. En pocas palabras, es la idea de tomar parte de las soluciones de software (o todas) y tener un host de compañía, todo en un centro de datos masivo, con escalado a pedido y alta confiabilidad. La plataforma Windows Azure es la plataforma de computación y servicios de nube de Microsoft. Consiste en tres conjuntos de servicios: Windows Azure, SQL Azure y Windows Azure Platform AppFabric.&lt;br /&gt;
Windows Azure es el entorno de hosting de aplicaciones; puede considerarlo como el sistema operativo de la nube. SQL Azure es fundamentalmente la base de datos de la nube. Windows Azure AppFabric es un conjunto de bloques de creación comunes usados por aplicaciones hospedadas en la nube. Windows Azure AppFabric actualmente incluye dos servicios: el servicio de control de acceso (para autenticación federada y autorización basada en notificaciones) y el bus de servicios (para conectividad entre soluciones en la nube y conexiones locales).&lt;br /&gt;
Visual Studio 2010 incluye varias plantillas de proyecto para crear soluciones de la plataforma Windows Azure. Tanto para VB.NET como para C#, existen cuatro plantillas diferentes para roles web y una para rol de trabajo. También existe una plantilla de proyecto de rol de trabajo para F#. Las plantillas de rol web para VB.NET y C# incluyen una cada una para ASP.NET, MVC con ASP.NET, servicios WCF y CGI.&lt;br /&gt;
Un aspecto exclusivo de trabajar con proyectos de la plataforma Windows Azure en Visual Studio 2010 es que se pueden seleccionar varios roles para el proyecto al crearlo. Por ejemplo, puede crear un nuevo proyecto con un rol web ASP.NET MVC en C# y un rol de trabajo en VB.NET. Ésta es la razón por la que la experiencia New | Project es levemente diferente para aplicaciones de nube; en realidad, se seleccionan roles de un cuadro de diálogo el lugar de a través de un único paradigma de selección que se ve con la mayoría de las otras plantillas de proyecto.&lt;br /&gt;
&lt;strong&gt;Funcionamiento&lt;/strong&gt;&amp;nbsp;&lt;em&gt;Para crear un proyecto que sea compatible con la plataforma Windows Azure en Visual Studio 2010, en la lista Installed Templates se selecciona Cloud, como se muestra en la&lt;/em&gt;&amp;nbsp;&lt;strong&gt;figura 11&lt;/strong&gt;&lt;em&gt;.&lt;/em&gt;&lt;br /&gt;
&lt;img alt=&quot;&quot; src=&quot;http://i.msdn.microsoft.com/ee336135.Turnure_Figure11(en-us,MSDN.10).png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Figura 11 &lt;strong&gt;Selección de un tipo de proyecto de nube en Visual Studio 2010&lt;/strong&gt;&lt;br /&gt;
&lt;em&gt;Aparecerá un cuadro de diálogo donde podrá seleccionar los roles deseados, en que cada rol puede ser un tipo o lenguaje diferente. La&lt;/em&gt;&amp;nbsp;&lt;strong&gt;figura 12&lt;/strong&gt;&amp;nbsp;&lt;em&gt;muestra un nuevo proyecto de servicio de nube de Windows Azure con un rol web ASP.NET MVC, dos roles de trabajo VB.NET y un rol de trabajo F#&lt;/em&gt;.&lt;br /&gt;
&lt;img alt=&quot;&quot; src=&quot;http://i.msdn.microsoft.com/ee336135.Turnure_Figure12(en-us,MSDN.10).png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Figura 12 &lt;strong&gt;Configuración de un proyecto de servicio de nube con varios roles y lenguajes&lt;/strong&gt;&lt;br /&gt;
&lt;h2&gt;Compatibilidad con múltiples versiones (multi-targeting)&lt;/h2&gt;La compatibilidad con múltiples versiones (multi-targeting) misma en realidad no es nueva en Visual Studio 2010. Sin embargo, posee una nueva característica de extensibilidad que vale la pena observar. Resulta algo sorprendente ver cuántas personas no se dan cuenta de los beneficios de la compatibilidad con múltiples versiones (multi-targeting) y como ésta permite usar Visual Studio 2010 para crear soluciones que se ejecutarán en versiones anteriores de .NET Framework. La compatibilidad con múltiples versiones (multi-targeting) existe para equipos de desarrollo que desean aprovechar el utillaje más reciente (con su depuración avanzada y características de editor mejoradas), pero que aún no están preparados para migrar su código (o posiblemente sus clientes) a .NET Framework 4. Con la compatibilidad con múltiples versiones (multi-targeting), se tiene la opción de crear aplicaciones que sean compatibles con las versiones 2.0, 3.0, 3.5 o 4 de .NET Framework.&lt;br /&gt;
&lt;strong&gt;Funcionamiento&lt;/strong&gt;&amp;nbsp;&lt;em&gt;Al iniciar un nuevo proyecto, sólo seleccione el framework compatible en la lista desplegable como se muestra en la&lt;/em&gt;&amp;nbsp;&lt;strong&gt;figura 13&lt;/strong&gt;&lt;em&gt;.&lt;/em&gt;&lt;br /&gt;
&lt;img alt=&quot;&quot; src=&quot;http://i.msdn.microsoft.com/ee336135.Turnure_Figure13(en-us,MSDN.10).png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Figura 13 &lt;strong&gt;Selección de una versión de framework compatible mediante la compatibilidad con múltiples versiones (multi-targeting)&lt;/strong&gt;&lt;br /&gt;
Una nueva opción llamada &amp;lt;More Frameworks…&amp;gt; (observe la última entrada en el cuadro desplegable encerrado en un círculo en la &lt;strong&gt;figura 13&lt;/strong&gt;), permite extensibilidad en los frameworks compatibles. Esto permite la posible adición de futuras versiones del framework, y posiblemente otros perfiles de .NET Framework más adelante. Lo más probable es que dichas adiciones se instalen a través de MSI, pero finalmente se pueden agregar manualmente con un archivo de descripción de XML y copiando los ensamblados de framework directamente en el equipo.&lt;br /&gt;
&lt;h2&gt;Y más&lt;/h2&gt;Existen muchas otras nuevas características en Visual Studio 2010, muchas más de las que he podido abordar en este artículo. Es difícil para pasar por alto la página de inicio personalizable, que da la oportunidad a las compañías de conectar recursos específicos de la compañía. Y después están las actualizaciones de C++/ANSI, la ayuda actualizada constantemente, el nuevo lenguaje de programación F#, mejoras de Entity Framework, visualizaciones de código y muchas otras nuevas características que vale la pena aprender. Estas capacidades sirven para posicionar aun más Visual Studio 2010 como una convincente herramienta de desarrollo, capaz de entregar el tipo de software que nuestra industria espera actualmente. Esperamos que ahora tenga una mejor idea de lo que está disponible en Visual Studio 2010. Si desea probarlo, descargue una copia de evaluación en &lt;a href=&quot;http://microsoft.com/vstudio&quot; id=&quot;ctl00_MTContentSelector1_mainContentContainer_ctl20&quot; onclick=&quot;javascript:Track(&#39;ctl00_MTContentSelector1_mainContentContainer_ctl00|ctl00_MTContentSelector1_mainContentContainer_ctl20&#39;,this);&quot;&gt;microsoft.com/vstudio&lt;/a&gt;.&lt;br /&gt;
&lt;div class=&quot;solidLine&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
&lt;strong&gt;Via:&lt;/strong&gt; &lt;a href=&quot;http://msdn.microsoft.com/es-pe/magazine/ee336135.aspx&quot;&gt;MSDN Magazine&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.facebook.com/sharer.php&quot; name=&quot;fb_share&quot; type=&quot;box_count&quot;&gt;Compartir&lt;/a&gt;&lt;script src=&quot;http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/4253475105492912371/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/4253475105492912371' title='1 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/4253475105492912371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/4253475105492912371'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2010/07/mejor-codificacion-con-visual-studio.html' title='Mejor codificación con Visual Studio 2010'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-2158434316903809459</id><published>2010-07-27T00:42:00.002-05:00</published><updated>2010-08-02T15:47:58.516-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Datagridview"/><category scheme="http://www.blogger.com/atom/ns#" term="Header"/><category scheme="http://www.blogger.com/atom/ns#" term="Summary"/><title type='text'>DatagridView: Header, Summary</title><content type='html'>Bien jugando un rato con el datagridview de windows forms pude juntar demos y hacer esto,..ahi les dejo la&amp;nbsp;fuente y un ejemplo,..falta ajustar unas cosas ,..eso ya les dejo a ustedes,,y me envian las modificaciones que puedan lograr o algunas dudas,..,..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqDnziCjOb1OEXXscgL43HvW6V5rtytA_FpU07B_Q-xYcdbL-1vpu4eFbqeJY6x2Z2B9kO4W48qVLQrjAU79MvQmbbfz9f4R27vwhc9RoxMy1Mu4F1Qjz8Jj48wcfMjhyhC54w9z0zA9JW/s1600/Dibujo.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;188&quot; hw=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqDnziCjOb1OEXXscgL43HvW6V5rtytA_FpU07B_Q-xYcdbL-1vpu4eFbqeJY6x2Z2B9kO4W48qVLQrjAU79MvQmbbfz9f4R27vwhc9RoxMy1Mu4F1Qjz8Jj48wcfMjhyhC54w9z0zA9JW/s320/Dibujo.bmp&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;border: medium none;&quot;&gt;cada funcion trabaja por separado si solo quieres ver los resumen de cada columna activar las propiedades&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;border: medium none; clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjADSrUl_zxGPKtTcincC_VW7eu2Jh4syUzzwZCpZpop6z5q-LY2mCkZ7txF83msFOx7zUG7KmIxSt6_ULXgShFn3FGVq2uCKzxl6Ln5y0H1O5Fl4QeXuWjosjDalIBlnwZhzvlcNUNGJiM/s1600/Dibujo1.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; hw=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjADSrUl_zxGPKtTcincC_VW7eu2Jh4syUzzwZCpZpop6z5q-LY2mCkZ7txF83msFOx7zUG7KmIxSt6_ULXgShFn3FGVq2uCKzxl6Ln5y0H1O5Fl4QeXuWjosjDalIBlnwZhzvlcNUNGJiM/s320/Dibujo1.bmp&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;border: medium none;&quot;&gt;&lt;br /&gt;
para empezar en el Load del form esta linea es importante para que muestre el resumen,&lt;br /&gt;
&lt;br /&gt;
this.dataGridView.AutoGenerateColumns = true; &#39;c#&lt;br /&gt;
Me.dataGridView.AutoGenerateColumns = True &#39;vb&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;DisplaySumRowHeader&lt;/b&gt;=True : para mostrar el titulo de la fila de resumen&lt;br /&gt;
&lt;b&gt;FormatString&lt;/b&gt;=&quot;N2&quot;: dar los formatos conocidos de .net &lt;br /&gt;
&lt;b&gt;SummaryColumns&lt;/b&gt;: agregar las columnas que quieres el resumen&lt;br /&gt;
&lt;b&gt;SummaryRowBackColor&lt;/b&gt;: Color de fondo de la fila de resumen&lt;br /&gt;
&lt;b&gt;SummaryRowSpace&lt;/b&gt;: El ancho de la linea que separa el datagridview con el resumen&lt;br /&gt;
&lt;b&gt;SummaryRowVisible&lt;/b&gt;: para mostar o ocultar el resumen&lt;br /&gt;
&lt;b&gt;SumRowHeaderText&lt;/b&gt;: Titulo del resumen&lt;br /&gt;
&lt;b&gt;SumRowHeaderTextBold&lt;/b&gt;: si quieres mostrar en negrita el titulo del resumen&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSbTbO3W_rHe4ftGtvSdDKiJEXWUvyxannvb1q0-vwvkMxivv8DaEViz5NOs9hzrzm0CAIVX_MNPyB6asepj8xAUI8PE3p48b4RKaClHUtUTVRTQRCD5voyTby8-r4GToWn3AWXTc6CeSC/s1600/Dibujo2.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; hw=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSbTbO3W_rHe4ftGtvSdDKiJEXWUvyxannvb1q0-vwvkMxivv8DaEViz5NOs9hzrzm0CAIVX_MNPyB6asepj8xAUI8PE3p48b4RKaClHUtUTVRTQRCD5voyTby8-r4GToWn3AWXTc6CeSC/s320/Dibujo2.bmp&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Las propiedades que estan en cuadrado rojo son las que se utiliza:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Columns&lt;/b&gt;: son las columnas que vas a mostrar en tu datagridview&lt;br /&gt;
&lt;b&gt;ColumnDeep&lt;/b&gt;: el numero de filas que vas a mostrar en la cabezera&lt;br /&gt;
&lt;div style=&quot;border: medium none;&quot;&gt;&lt;b&gt;ColumnTreeView&lt;/b&gt;: aqui hay que hacer todo el trabajo; bien primero agregar un treeview ,..de agregar sus nodos(solo un treeview)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiByAz2rCQD91sqrkfbuN8vDklcVD77NjW-G9uZxDb9IdOJv8FC755spdsl3QMQmjvkMxkrCCpY-qwx9SCvEmXnpM6lLBaGCfq4J4xKB7r5ypZWj_gljHzQV_MsYRJ0ONafbBALeq5Ulw_y/s1600/Dibujo3.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; hw=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiByAz2rCQD91sqrkfbuN8vDklcVD77NjW-G9uZxDb9IdOJv8FC755spdsl3QMQmjvkMxkrCCpY-qwx9SCvEmXnpM6lLBaGCfq4J4xKB7r5ypZWj_gljHzQV_MsYRJ0ONafbBALeq5Ulw_y/s320/Dibujo3.bmp&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border: medium none;&quot;&gt;de tal forma como crearias un arbol:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqgpijYAW8FK6n34XAaXe_RE2PyKTn96irgJEoroPlUUkXcQAjgU8MlULCo-2jFQ-XVUqonvPt65N-eXLAQT6Nruw3gEL2ICTiJlpH9PZJFTEnrCGvJIgat_LqiC9gszDTXCrAODsErdW7/s1600/Dibujo4.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; hw=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqgpijYAW8FK6n34XAaXe_RE2PyKTn96irgJEoroPlUUkXcQAjgU8MlULCo-2jFQ-XVUqonvPt65N-eXLAQT6Nruw3gEL2ICTiJlpH9PZJFTEnrCGvJIgat_LqiC9gszDTXCrAODsErdW7/s320/Dibujo4.bmp&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
el ultimo nivel son de acuerdo al nro de columnas que quieres mostar y eso seria todo,..spero les sea de utilidad,.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.4shared.com/file/LYICa1kl/DatagridViewHeaderSummary.html&quot; target=&quot;_blank&quot;&gt;Descargar Aqui: DatagridViewHeaderSummary.rar&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.facebook.com/sharer.php&quot; name=&quot;fb_share&quot; type=&quot;box_count&quot;&gt;Compartir&lt;/a&gt;&lt;script src=&quot;http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/2158434316903809459/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/2158434316903809459' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/2158434316903809459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/2158434316903809459'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2010/07/datagridview-header-summary.html' title='DatagridView: Header, Summary'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqDnziCjOb1OEXXscgL43HvW6V5rtytA_FpU07B_Q-xYcdbL-1vpu4eFbqeJY6x2Z2B9kO4W48qVLQrjAU79MvQmbbfz9f4R27vwhc9RoxMy1Mu4F1Qjz8Jj48wcfMjhyhC54w9z0zA9JW/s72-c/Dibujo.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-1520878518007659885</id><published>2009-12-05T13:54:00.001-05:00</published><updated>2010-10-24T22:48:11.000-05:00</updated><title type='text'>Descargar Ejemplos Anteriores</title><content type='html'>&lt;meta content=&quot;Descargar Ejemplos Anteriores&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;&lt;br /&gt;
&lt;meta content=&quot;el problema surgio por que el servicio de GeoCities ya no está disponible y los archivos de ejemplo estuvieron ahi,..ahi les pongo los archivos de los ejemplos,... ubicados en 4Shared&quot; name=&quot;description&quot;&gt;&lt;/meta&gt; &lt;br /&gt;
&lt;br /&gt;
el problema surgio por que el servicio de &lt;i&gt;GeoCities&lt;/i&gt; ya no está disponible y los archivos de ejemplo estuvieron ahi,..ahi les pongo los archivos de los ejemplos,... ubicados en &lt;i&gt;4Shared&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.4shared.com/file/ld1QdkYA/PruebaEnterWeb.html&quot; target=_blank&gt;PruebaEnterWeb.rar&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.4shared.com/file/QwXnb5Ak/MantenimientoDatosConPagModal.html&quot; target=_blank&gt;MantenimientoDatosConPagModal.rar&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.4shared.com/file/1A-BoyU9/PruebaPaginacionAlfaNumericDat.html&quot; target=_blank&gt;PruebaPaginacionAlfaNumericDataTableDataView.rar&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
para los que lo estaban solicitando ahi estan,...bye.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.facebook.com/sharer.php&quot; name=&quot;fb_share&quot; type=&quot;box_count&quot;&gt;Compartir&lt;/a&gt;&lt;script src=&quot;http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/i&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/1520878518007659885/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/1520878518007659885' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/1520878518007659885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/1520878518007659885'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2009/12/descargar-ejemplos-anteriores.html' title='Descargar Ejemplos Anteriores'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-4469438196385668855</id><published>2009-12-04T02:42:00.007-05:00</published><updated>2009-12-05T13:45:41.890-05:00</updated><title type='text'>Mi primer pantallazo de Visual Studio 2010</title><content type='html'>&lt;body&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH-WNE2pSszoygtez0CAr8Hf6eGa_Htv1_XGULZgvJXn2MyZXmMBtUlfU86x1UBMFzjzoV-6cq_PDyWb_1UcIfiCbjEBoci6ihZJ1jrN53LuFJ9CBGqkNVEvmoN-wHvllxfXUa4Desv2TY/s1600-h/PANTA.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH-WNE2pSszoygtez0CAr8Hf6eGa_Htv1_XGULZgvJXn2MyZXmMBtUlfU86x1UBMFzjzoV-6cq_PDyWb_1UcIfiCbjEBoci6ihZJ1jrN53LuFJ9CBGqkNVEvmoN-wHvllxfXUa4Desv2TY/s400/PANTA.bmp&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
Para ser sincero aun no lo estoy utilizando,..Pero ya pondré código con esta nueva herramienta,..En la instalación no tuve ningún problema, &amp;nbsp;ahora a probarlo.&amp;nbsp;  &lt;br /&gt;
&lt;/body&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.facebook.com/sharer.php&quot; name=&quot;fb_share&quot; type=&quot;box_count&quot;&gt;Compartir&lt;/a&gt;&lt;script src=&quot;http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/4469438196385668855/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/4469438196385668855' title='0 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/4469438196385668855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/4469438196385668855'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2009/12/mi-primer-pantallazo-de-visual-studio.html' title='Mi primer pantallazo de Visual Studio 2010'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH-WNE2pSszoygtez0CAr8Hf6eGa_Htv1_XGULZgvJXn2MyZXmMBtUlfU86x1UBMFzjzoV-6cq_PDyWb_1UcIfiCbjEBoci6ihZJ1jrN53LuFJ9CBGqkNVEvmoN-wHvllxfXUa4Desv2TY/s72-c/PANTA.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-1965538934408695008</id><published>2007-10-20T18:32:00.002-05:00</published><updated>2011-07-13T23:57:27.290-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="programacion"/><title type='text'>desplazarse con ENTER en asp.net</title><content type='html'>&lt;div align=&quot;center&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7I88JjiuYH132UeSu-9P6Bdiap1g0D7s5Z5oSaU3Yknnunkocm4dgAoJXVERra6nd5oo2MC24X9f1g_xvER4UJPAd8c3YWKUtB5S8KSuUVbetjBeaj9HLkKIVx_Zn8YqrnqPj814PEX0f/s1600-h/Enter01.bmp&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5123566501471724498&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7I88JjiuYH132UeSu-9P6Bdiap1g0D7s5Z5oSaU3Yknnunkocm4dgAoJXVERra6nd5oo2MC24X9f1g_xvER4UJPAd8c3YWKUtB5S8KSuUVbetjBeaj9HLkKIVx_Zn8YqrnqPj814PEX0f/s400/Enter01.bmp&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Este ejemplo va para darle mas facilidades al usuario final y un poco tratando de que nuestras aplicaciones Web se parezcan alas aplicaciones Windows con todas las funcionalidades que nos brinda. Para pasar de un control a otro pulsando la tecla enter&lt;br /&gt;
&lt;br /&gt;
Función que nos permite pasar de un control ah otro&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW9Rl-jwYw3XlRaJ9G2Cw2dFO55X_TjAqgSAu-B0UhlM8by5JCz9-AKS06brWWDKIBs2HQChw_qGNZxV0tjVlF50xFhyphenhyphenNWV3xIxBEJoUAu7NFiBYmxTvxRq1k9xlOStxYp4gh1MNyMqCm0/s1600-h/Enter02.bmp&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5123569928855626722&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhW9Rl-jwYw3XlRaJ9G2Cw2dFO55X_TjAqgSAu-B0UhlM8by5JCz9-AKS06brWWDKIBs2HQChw_qGNZxV0tjVlF50xFhyphenhyphenNWV3xIxBEJoUAu7NFiBYmxTvxRq1k9xlOStxYp4gh1MNyMqCm0/s400/Enter02.bmp&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Aquí lo k hacemos es agregar la funcion de javascript a nuestros controles del lado del servidor.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;For Each&lt;/span&gt; Con &lt;span style=&quot;color: #3366ff;&quot;&gt;As &lt;/span&gt;Control &lt;span style=&quot;color: #3366ff;&quot;&gt;In&lt;/span&gt; Page.FindControl(&lt;span style=&quot;color: #996633;&quot;&gt;&quot;Form1&quot;&lt;/span&gt;).Controls&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;If&lt;/span&gt; (&lt;span style=&quot;color: #3366ff;&quot;&gt;TypeOf &lt;/span&gt;Con &lt;span style=&quot;color: #3366ff;&quot;&gt;Is&lt;/span&gt; TextBox) &lt;span style=&quot;color: #3366ff;&quot;&gt;Then&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;CType&lt;/span&gt;(Con, TextBox).Attributes.Add(&lt;span style=&quot;color: #993300;&quot;&gt;&quot;onKeyDown&quot;&lt;/span&gt;, &lt;span style=&quot;color: #993300;&quot;&gt;&quot;SiguienteObjeto();&quot;&lt;/span&gt;)&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;ElseIf&lt;/span&gt; (&lt;span style=&quot;color: #3366ff;&quot;&gt;TypeOf&lt;/span&gt; Con &lt;span style=&quot;color: #3366ff;&quot;&gt;Is&lt;/span&gt; DropDownList) &lt;span style=&quot;color: #3366ff;&quot;&gt;Then&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;CType&lt;/span&gt;(Con, DropDownList).Attributes.Add(&lt;span style=&quot;color: #993300;&quot;&gt;&quot;onKeyDown&quot;&lt;/span&gt;,&lt;span style=&quot;color: #993300;&quot;&gt; &quot;SiguienteObjeto();&quot;&lt;/span&gt;)&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;ElseIf&lt;/span&gt; (&lt;span style=&quot;color: #3366ff;&quot;&gt;TypeOf &lt;/span&gt;Con &lt;span style=&quot;color: #3366ff;&quot;&gt;Is&lt;/span&gt; RadioButtonList) &lt;span style=&quot;color: #3366ff;&quot;&gt;Then&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #3366ff;&quot;&gt;CType&lt;/span&gt;(Con, RadioButtonList).Attributes.Add(&lt;span style=&quot;color: #993300;&quot;&gt;&quot;onKeyDown&quot;&lt;/span&gt;, &lt;span style=&quot;color: #993300;&quot;&gt;&quot;SiguienteObjeto();&quot;&lt;/span&gt;)&lt;br /&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&#39;ElseIf (TypeOf Con Is CheckBox) Then &#39; para los CheckBox&lt;br /&gt;
&#39; CType(Con, CheckBox).Attributes.Add(&quot;onKeyDown&quot;, &quot;SiguienteObjeto();&quot;)&lt;br /&gt;
&#39;ElseIf (TypeOf Con Is CheckBoxList) Then &#39;para los CheckBoxList&lt;br /&gt;
&#39; CType(Con, CheckBoxList).Attributes.Add(&quot;onKeyDown&quot;, &quot;SiguienteObjeto();&quot;)&lt;br /&gt;
&#39; si hay controles de otro tipo solo agregar como los ejemplos anteriores&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3366ff;&quot;&gt;End If&lt;br /&gt;
Next&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&lt;br /&gt;
descargar fuente &lt;a href=&quot;http://www.4shared.com/file/ld1QdkYA/PruebaEnterWeb.html&quot; target=&quot;_blank&quot;&gt;PruebaEnterWeb.rar&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
espero haver sido de ayuda.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.facebook.com/sharer.php&quot; name=&quot;fb_share&quot; type=&quot;box_count&quot;&gt;Compartir&lt;/a&gt;&lt;script src=&quot;http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/1965538934408695008/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/1965538934408695008' title='9 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/1965538934408695008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/1965538934408695008'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2007/10/pasar-de-un-control-otro-pulsando-la.html' title='desplazarse con ENTER en asp.net'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7I88JjiuYH132UeSu-9P6Bdiap1g0D7s5Z5oSaU3Yknnunkocm4dgAoJXVERra6nd5oo2MC24X9f1g_xvER4UJPAd8c3YWKUtB5S8KSuUVbetjBeaj9HLkKIVx_Zn8YqrnqPj814PEX0f/s72-c/Enter01.bmp" height="72" width="72"/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-3213256219007751479</id><published>2007-10-18T11:16:00.000-05:00</published><updated>2007-10-20T18:28:57.262-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="gridview"/><category scheme="http://www.blogger.com/atom/ns#" term="Popup"/><category scheme="http://www.blogger.com/atom/ns#" term="programacion"/><title type='text'>Pasar datos de una Pagina Hija a una Pagina Padre con Popup en Asp.Net</title><content type='html'>a pedido de nuestro amigo Miguel A. ahi les pongo un ejemplo de como pasar datos de una pagina hija(popup) a una pagina padre en asp.net combinado con javascript.&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2SseWfkdPEsfIeeE0HP3nICIT7DMvyoGHN8VIhxuRtfVIiWg1EV5kKKIm-H_NwY7tzglsTxsSJlHAYJ5ZRL4dYhnTFDbVFj1wlaicerx8cbfAlWSQZi1lS0I8xJ1-bAiAWers2JchrmwK/s1600-h/01.bmp&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5122722600527602594&quot; style=&quot;CURSOR: hand&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2SseWfkdPEsfIeeE0HP3nICIT7DMvyoGHN8VIhxuRtfVIiWg1EV5kKKIm-H_NwY7tzglsTxsSJlHAYJ5ZRL4dYhnTFDbVFj1wlaicerx8cbfAlWSQZi1lS0I8xJ1-bAiAWers2JchrmwK/s400/01.bmp&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEoLFvf2Gnx3zFRrqE7TIadrxFuN2ks1FJuheqI2l06WnmtDCNMVvNzS1JpG2COIze86QOdEQKSUvX1dR5vcHpjM2_yZzdmORACSMXS1tO7RgYknudjs2jjbrsKlaX8JQyq5z-ZEVaGUM9/s1600-h/pasapopup02.BMP&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5122728652136522674&quot; style=&quot;CURSOR: hand&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEoLFvf2Gnx3zFRrqE7TIadrxFuN2ks1FJuheqI2l06WnmtDCNMVvNzS1JpG2COIze86QOdEQKSUvX1dR5vcHpjM2_yZzdmORACSMXS1tO7RgYknudjs2jjbrsKlaX8JQyq5z-ZEVaGUM9/s400/pasapopup02.BMP&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPXl2T9H8u9QDDbwXLfZKobScvrSmuuZzwrwrKPc-4TNzMWCRrv36smQ19f_MiieDx_f2xorRzUzx6XQzyJxVf0cMGHZ6n2918llNX4rv3qe2uYAy9690SNS6c6Cvq3LQa_s6cknsW8KYF/s1600-h/pasapopup03.bmp&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5122729236252074946&quot; style=&quot;CURSOR: hand&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPXl2T9H8u9QDDbwXLfZKobScvrSmuuZzwrwrKPc-4TNzMWCRrv36smQ19f_MiieDx_f2xorRzUzx6XQzyJxVf0cMGHZ6n2918llNX4rv3qe2uYAy9690SNS6c6Cvq3LQa_s6cknsW8KYF/s400/pasapopup03.bmp&quot; border=&quot;0&quot; /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;descargar fuente &lt;a href=&quot;http://es.geocities.com/axmj_21/PasaDatosPopup.zip&quot;&gt;aqui&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;espero haver sido de ayuda.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/3213256219007751479/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/3213256219007751479' title='13 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/3213256219007751479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/3213256219007751479'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2007/10/pasar-datos-de-una-pagina-hija-una.html' title='Pasar datos de una Pagina Hija a una Pagina Padre con Popup en Asp.Net'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2SseWfkdPEsfIeeE0HP3nICIT7DMvyoGHN8VIhxuRtfVIiWg1EV5kKKIm-H_NwY7tzglsTxsSJlHAYJ5ZRL4dYhnTFDbVFj1wlaicerx8cbfAlWSQZi1lS0I8xJ1-bAiAWers2JchrmwK/s72-c/01.bmp" height="72" width="72"/><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-8040132009616678127</id><published>2007-10-03T12:45:00.001-05:00</published><updated>2011-07-13T23:49:57.245-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="Mantenimiento de registros"/><category scheme="http://www.blogger.com/atom/ns#" term="Modal Popup"/><category scheme="http://www.blogger.com/atom/ns#" term="Popup"/><category scheme="http://www.blogger.com/atom/ns#" term="programacion"/><title type='text'>Mantenimiento de Datos con Modal Popup en ASP.NET</title><content type='html'>k quede claro k solo funciona para las versiones de internet explorer y para los demas seria lo mismo pero con window.popup&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb1NgROoOX5Fb91E5aFpy7kvJjZ1HmKLHoDv1Y9-5M1XIXz35HeLN7OyuLJ0z6PdFPxz6TLGWRRXk8KPvOlobzCpfXaUpYr5ImRmYpB8cdtGrHJNHJzGXR7rpug1l7vuz_yhB4M-ymgRFq/s1600-h/01.bmp&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5117177789158531986&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb1NgROoOX5Fb91E5aFpy7kvJjZ1HmKLHoDv1Y9-5M1XIXz35HeLN7OyuLJ0z6PdFPxz6TLGWRRXk8KPvOlobzCpfXaUpYr5ImRmYpB8cdtGrHJNHJzGXR7rpug1l7vuz_yhB4M-ymgRFq/s400/01.bmp&quot; style=&quot;cursor: hand;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw-s1b-5Vm_jbPXgNAMz4ziekSs_XpvHiFmYix2V_maovIzLdIa_KXf6cXbG7lOBayvEDdfPhBNKZhLinLNN6bZ10lRcGVQXMh3IO8e4SP0-dwUmljN_kSWGte2Mk_TzM1DiiEWoC8Y5ut/s1600-h/02.bmp&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5117177531460494210&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhw-s1b-5Vm_jbPXgNAMz4ziekSs_XpvHiFmYix2V_maovIzLdIa_KXf6cXbG7lOBayvEDdfPhBNKZhLinLNN6bZ10lRcGVQXMh3IO8e4SP0-dwUmljN_kSWGte2Mk_TzM1DiiEWoC8Y5ut/s400/02.bmp&quot; style=&quot;cursor: hand;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGDOuEt7BeasgQW8HEFplVRyg1RosksXnfWJiCg9BUirGd1UB0mBQFgEHGhYFLPMqtBQ6umZm_WiOGHClm1W9j6U0zxA2MCnidKmz5wbodnCZmSyEp7jV1hwzcrl7xIAA3kXiyQwrhlPdP/s1600-h/03.bmp&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5117177174978208626&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGDOuEt7BeasgQW8HEFplVRyg1RosksXnfWJiCg9BUirGd1UB0mBQFgEHGhYFLPMqtBQ6umZm_WiOGHClm1W9j6U0zxA2MCnidKmz5wbodnCZmSyEp7jV1hwzcrl7xIAA3kXiyQwrhlPdP/s400/03.bmp&quot; style=&quot;cursor: hand;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2f_YfHzjBbzEIVxhdc01fBDE2ivgHQ9LA5DqttdfKKZzAqgBatmTrLm5ji9yD7XE2HIfJoBQLGNfH4d60RJI24PlgOQEXCB87AhG6B6BCu6vhV18_MkNXDMO_65yDIEF4Y1bxK16BuLDO/s1600-h/04.bmp&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5117176693941871458&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2f_YfHzjBbzEIVxhdc01fBDE2ivgHQ9LA5DqttdfKKZzAqgBatmTrLm5ji9yD7XE2HIfJoBQLGNfH4d60RJI24PlgOQEXCB87AhG6B6BCu6vhV18_MkNXDMO_65yDIEF4Y1bxK16BuLDO/s400/04.bmp&quot; style=&quot;cursor: hand;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhQQQia8U6ThwHHJ9AH9NG1wIgzKvfPJ8ZkOFkPokyzAFjvm5Q6LsU0liRmmO2H9MxSo5H-Xlm1rkJKwiFUJ15gNQ_ikSvqyXUdRJvvMuGCQfP3AYKG-MTxyZ_0ZwO6wb5r_U7V0X9lPsQ/s1600-h/05.bmp&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5117176423358931794&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhQQQia8U6ThwHHJ9AH9NG1wIgzKvfPJ8ZkOFkPokyzAFjvm5Q6LsU0liRmmO2H9MxSo5H-Xlm1rkJKwiFUJ15gNQ_ikSvqyXUdRJvvMuGCQfP3AYKG-MTxyZ_0ZwO6wb5r_U7V0X9lPsQ/s400/05.bmp&quot; style=&quot;cursor: hand;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiV5TpPC4EwZs5Q94NV1WPUOja8YKiEhcKr4fteFR9C6b1fwzMauxzk-qs87rvyaoXUKHGVZrAHr4AaePYrKFZ_ZM6lXM6xX0YXMdsG-kXbLDTQGbjaV-9QNRqw3v7WU8CTY-NpkuFu6Pyv/s1600-h/06.bmp&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5117176195725665090&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiV5TpPC4EwZs5Q94NV1WPUOja8YKiEhcKr4fteFR9C6b1fwzMauxzk-qs87rvyaoXUKHGVZrAHr4AaePYrKFZ_ZM6lXM6xX0YXMdsG-kXbLDTQGbjaV-9QNRqw3v7WU8CTY-NpkuFu6Pyv/s400/06.bmp&quot; style=&quot;cursor: hand;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
descargar fuente &lt;a href=&quot;http://www.4shared.com/file/QwXnb5Ak/MantenimientoDatosConPagModal.html&quot; target=&quot;_blank&quot;&gt;MantenimientoDatosConPagModal.rar&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
espero haver podido ayudar...cualkier duda solo scriban.&lt;br /&gt;
&lt;script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
_uacct = &quot;UA-1912741-1&quot;;
urchinTracker();
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/8040132009616678127/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/8040132009616678127' title='13 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/8040132009616678127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/8040132009616678127'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2007/10/mantenimiento-de-datos-con-modal-popup.html' title='Mantenimiento de Datos con Modal Popup en ASP.NET'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb1NgROoOX5Fb91E5aFpy7kvJjZ1HmKLHoDv1Y9-5M1XIXz35HeLN7OyuLJ0z6PdFPxz6TLGWRRXk8KPvOlobzCpfXaUpYr5ImRmYpB8cdtGrHJNHJzGXR7rpug1l7vuz_yhB4M-ymgRFq/s72-c/01.bmp" height="72" width="72"/><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-1221123836106058438</id><published>2007-07-30T16:32:00.001-05:00</published><updated>2011-07-13T23:52:12.022-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="gridview"/><category scheme="http://www.blogger.com/atom/ns#" term="Paginación"/><category scheme="http://www.blogger.com/atom/ns#" term="Plantillas"/><category scheme="http://www.blogger.com/atom/ns#" term="programacion"/><title type='text'>Paginacion Numerica y Alfabeticamente en GridView</title><content type='html'>Va.....tu jefe te pide que ordenes los datos alfabeticamente en una grilla....chevere en el articulo anterior postie un ejemplo de como hacerlo (copia y pega y ya esta)....pero no ! por q&#39; me puso la interrogante que si listas 100 productos que empiezan con &quot;A&quot; la lista es muy larga y solo quiere verlo de 15 en 15 tons que se hace?...se pagina alfabeticamente y se enumera los bloques de datos .....(q&#39; cargoso de jefe).....ahora yo me pongo la interrogante.. si lo hago como el ejemplo del post anterior con sentencia select staria facil pero es con procedimiento almacenado y esta en una funcion que me retorna un dataset....lo primero que se me vino ala cabeza es igualarlo aun DataView y hacer un RowFilter para filtrar por la letra seleccionada en el Footer del gridView ....facil verdad y sí sale... me muestra los datos por la letra seleccionada y paginado enumericamente....pero.... siempre con los peros ......ocurre que un DataView no hace select... como asi que es eso no entiendo...bueno ahi explicare un poco:&lt;br /&gt;
pasa que cuando en el DataView cargas un DataSet on un DataTable sigue manteniendo los datos del DataSet o del DataTable por mas veces que ayas hecho RowFilter...y aun si ah ese DataView ya Filtrado lo iguales ah Otro DataView para con ese hacer la paginacion con numeros aun asi siguen los datos del DataSet o del DataTable......y los datos filtrados ah donde se van...? solo se muestran en el GridView y por el GridView no puedes paginar numericamente(solo se pagina con una fuente de datos no con un control)....bien! descartado el DataView....ahora buscar una clase de datos que me permita hacer un select,.....bueno yo solo conosco 2 fuentes de datos,,......DataSet y DataTable.....como segunda alternativa probe con el DataTable....como lei en la documentacion del DataTable es una estructura de tablas osea que contiene filas, columnas, registros,claves primarias, foren key y segun los conocientos que tenemos ah una tabla se le puede hacer un select tons dije q&#39; de seguro salia con el DataTable y fue sierto me salio pues....lo que hice es recuperar el DataSet en un DataTable y ya no en el DataView,........de ahi en el momento de hacer el filtrado declare otro DataTable que recupera la esctructura del primer DataTable ojo solo la estructura no todo la tabla....y le hago el select al primer DataTable y segun los datos que coincidan va llenando al segundo DataTable y ya con eso hago paginacion numerica y alfabeticamente en un GridView y ahora se preguntaran por q&#39; hago todo eso como dije anteriormente q&#39; solamente con dataview sale y es mas facil......el problema surge cuando quiero seleccionar una fila y capturar sus valores como para mostrar un detalle, pues por eso utilize el DataTable por que ya les explique la limitacion del DataView.....&lt;br /&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;298&quot; id=&quot;BLOGGER_PHOTO_ID_5093115866176891570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1asW65qDBGdNuR2lxW7dPeojoca1BDodOHaOELy5GP2WBxPst5gqd_auE09PLluyh11-877yReX4bg1jOOUcBD_xxD39SX_95KShuabZVBD_Lxlnf8fwqQkBza9R3dMfu6NFl1kEYEi1S/s400/PagGrillaNumericaAlfanumerica.bmp&quot; style=&quot;cursor: hand; display: block; height: 333px; margin: 0px auto 10px; text-align: center; width: 512px;&quot; width=&quot;434&quot; /&gt;&lt;br /&gt;
&lt;img src=&quot;http://es.geocities.com/axmj_21/PiePagAlfa.JPG&quot; /&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Descargar Fuente :&lt;a href=&quot;http://www.4shared.com/file/1A-BoyU9/PruebaPaginacionAlfaNumericDat.html&quot; target=&quot;_blank&quot;&gt;PruebaPaginacionAlfaNumericDataTableDataView.rar&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
_uacct = &quot;UA-1912741-1&quot;;
urchinTracker();
&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/1221123836106058438/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/1221123836106058438' title='2 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/1221123836106058438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/1221123836106058438'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2007/07/paginacin-numerica-y-alfabeticamente-en.html' title='Paginacion Numerica y Alfabeticamente en GridView'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1asW65qDBGdNuR2lxW7dPeojoca1BDodOHaOELy5GP2WBxPst5gqd_auE09PLluyh11-877yReX4bg1jOOUcBD_xxD39SX_95KShuabZVBD_Lxlnf8fwqQkBza9R3dMfu6NFl1kEYEi1S/s72-c/PagGrillaNumericaAlfanumerica.bmp" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-5112362249365961464</id><published>2007-07-26T15:26:00.000-05:00</published><updated>2007-10-09T20:45:41.402-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="gridview"/><category scheme="http://www.blogger.com/atom/ns#" term="Plantillas"/><category scheme="http://www.blogger.com/atom/ns#" term="programacion"/><title type='text'>Poner Mensaje &#39;No hay registro&#39; sin necesidad de programar...</title><content type='html'>Bien muchas veces en las paginas k&#39; muestran consultas ponemos los datos ah buscar y kuando no encuentra no se muestra el gridview y los programadores pones un Label para q&#39; muestre &#39;NO HAY REGISTROS&#39; y su clasica pregunta es&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;If&lt;/span&gt; Ds.Tables(0).Rows.Count&gt;0 &lt;span style=&quot;color:#3333ff;&quot;&gt;Then&lt;/span&gt;&lt;br /&gt;MostrarDatos()&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Else&lt;/span&gt;&lt;br /&gt;Label.Text=&quot;Tamare no hay datos&quot;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;End If&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;&lt;/span&gt;&lt;br /&gt;ahora no hay k&#39; hacer eso las cosas son mas sencillas&lt;br /&gt;&lt;br /&gt;Bien dirijete al GridView activas el smartag luego click en Editar Plantillas, activas el smartag y en mostrar escoges EmptyDataTemplate y en el spacio ke sale escribes con el color o el formato ke kieres &quot;Tamare no hay datos&quot; bien ahora guardan y lo prueban .......bien espero haber podido ayudar....&lt;br /&gt;&lt;script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;_uacct = &quot;UA-1912741-1&quot;;&lt;br /&gt;urchinTracker();&lt;br /&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/5112362249365961464/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/5112362249365961464' title='1 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/5112362249365961464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/5112362249365961464'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2007/07/poner-mensaje-no-hay-registro-sin.html' title='Poner Mensaje &#39;No hay registro&#39; sin necesidad de programar...'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-5806876775920547092</id><published>2007-06-14T09:50:00.000-05:00</published><updated>2007-10-09T20:49:14.763-05:00</updated><title type='text'>El paradigna del Equipo de Sistemas</title><content type='html'>&lt;script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;_uacct = &quot;UA-1912741-1&quot;;&lt;br /&gt;urchinTracker();&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgupuN-1ZvmBz56kPO-F5-Gx5J9ilRIANRSGlwo8xeKuCGU4JSQBt2PZIVFp12fCGjm4NHm5seBCU-720TIGl2uVu0PEYfLGOKk5ciT09nl5qZ_wJd_WZ-YB3MCaFvDr9mJeb1AMrH1LmC4/s1600-h/ParaDigma.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgupuN-1ZvmBz56kPO-F5-Gx5J9ilRIANRSGlwo8xeKuCGU4JSQBt2PZIVFp12fCGjm4NHm5seBCU-720TIGl2uVu0PEYfLGOKk5ciT09nl5qZ_wJd_WZ-YB3MCaFvDr9mJeb1AMrH1LmC4/s400/ParaDigma.jpg&quot; border=&quot;0&quot; alt=&quot;&quot;id=&quot;BLOGGER_PHOTO_ID_5075932748521746754&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/5806876775920547092/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/5806876775920547092' title='1 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/5806876775920547092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/5806876775920547092'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2007/06/el-paradigna-del-equipo-de-sistemas.html' title='El paradigna del Equipo de Sistemas'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgupuN-1ZvmBz56kPO-F5-Gx5J9ilRIANRSGlwo8xeKuCGU4JSQBt2PZIVFp12fCGjm4NHm5seBCU-720TIGl2uVu0PEYfLGOKk5ciT09nl5qZ_wJd_WZ-YB3MCaFvDr9mJeb1AMrH1LmC4/s72-c/ParaDigma.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8741114057508313408.post-3988684295317171569</id><published>2007-04-20T16:51:00.000-05:00</published><updated>2007-10-09T20:40:33.792-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="asp.net 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="gridview"/><category scheme="http://www.blogger.com/atom/ns#" term="programacion"/><title type='text'>Paginación Alfabética en GridView</title><content type='html'>&lt;img id=&quot;BLOGGER_PHOTO_ID_5056312145046610754&quot; style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimTBDDpVghvNsaZ-uJ-4XO9GuGWzBWiPNzjmxN6EX0VOeEx-RXnVuNw5rcsXqRTs22Fx3Dd2VaMeL13-hjBd7suA9b1g4NdlewGielN9nbte9EKPLM8_QvSxe-Z10jqHUyio8HfS9ZdXeZ/s320/Dibujo1.bmp&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-family:courier new;font-size:85%;&quot;&gt;Muchas páginas nos cargan de ejemplos de GridView paginados con enumeraciones del 1 hasta el de rango que tiene de datos y hasta nos ponen con símbolos como esto &lt;&lt; , &lt; &gt; , &gt;&gt; indicando que los datos siguen …pero ninguna nos muestra como hacerlo alfabéticamente es por eso que ahí va un ejemplo de cómo hacer.&lt;br /&gt;&lt;br /&gt;Paso 1.-Agregar un Label y un GridView ala pagina.&lt;br /&gt;&lt;br /&gt;Paso 2.-Borrar el Text del Label y poner en true la propiedad ShowFooter del GridView y si gustas le pones un Auto formato al GridView.&lt;br /&gt;&lt;br /&gt;Paso 3.-Importamos las Clases Data y SqlClient&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Imports&lt;/span&gt; System.Data&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Imports&lt;/span&gt; System.Data.SqlClient&lt;br /&gt;&lt;br /&gt;Paso 4.-Declaramos las Variables.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Private&lt;/span&gt; Dst &lt;span style=&quot;color:#3333ff;&quot;&gt;As New&lt;/span&gt; DataSet()&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Private&lt;/span&gt; Tabla &lt;span style=&quot;color:#3333ff;&quot;&gt;As&lt;/span&gt; DataTable&lt;br /&gt;&lt;br /&gt;Paso 5.-Creamos la función CargarGridView con un parámetro opcional para cuando la pagina cargue mande el valor por defecto que nosotros creemos conveniente en este caso va ah ser la letra A para listar en el GridView.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Private Sub&lt;/span&gt; CargarGridView(&lt;span style=&quot;color:#3333ff;&quot;&gt;Optional ByVal&lt;/span&gt; AZ &lt;span style=&quot;color:#3333ff;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color:#3333ff;&quot;&gt;String&lt;/span&gt; = &quot;&quot;)&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Dim&lt;/span&gt; Cns &lt;span style=&quot;color:#3333ff;&quot;&gt;As String&lt;/span&gt; =&lt;span style=&quot;color:#660000;&quot;&gt; &quot;data source=.;initial catalog= Northwind;uid=sa;pwd=&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Dim&lt;/span&gt; Con &lt;span style=&quot;color:#3333ff;&quot;&gt;As New&lt;/span&gt; SqlConnection(Cns)&lt;br /&gt;Dim Dap &lt;span style=&quot;color:#3333ff;&quot;&gt;As&lt;/span&gt; SqlDataAdapter&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;If&lt;/span&gt; AZ = &lt;span style=&quot;color:#660000;&quot;&gt;&quot;&quot;&lt;/span&gt; &lt;span style=&quot;color:#3333ff;&quot;&gt;Then&lt;br /&gt;&lt;/span&gt;Dap = &lt;span style=&quot;color:#3333ff;&quot;&gt;New&lt;/span&gt; SqlDataAdapter&lt;span style=&quot;color:#660000;&quot;&gt;(&quot;Select ProductName,UnitPrice From Products where ProductName Like &#39;A%&#39;&quot;&lt;/span&gt;, Con)&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Else&lt;/span&gt;&lt;br /&gt;Dap = &lt;span style=&quot;color:#3333ff;&quot;&gt;New&lt;/span&gt; SqlDataAdapter&lt;span style=&quot;color:#660000;&quot;&gt;(&quot;Select ProductName,UnitPrice From Products where ProductName Like &#39;&quot;&lt;/span&gt; &amp;amp; LCase(AZ) &amp;amp; &lt;span style=&quot;color:#660000;&quot;&gt;&quot;%&#39;&quot;&lt;/span&gt;, Con)&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;End If&lt;/span&gt;&lt;br /&gt;Dap.Fill(Dst, &lt;span style=&quot;color:#660000;&quot;&gt;&quot;Producto&quot;&lt;/span&gt;&lt;span style=&quot;color:#660000;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#009900;&quot;&gt;&#39;si nustro dataset tiene filas los muestra en el gridview&lt;br /&gt;&#39;ya paginado&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;If&lt;/span&gt; Dst.Tables(&lt;span style=&quot;color:#660000;&quot;&gt;&quot;Producto&quot;&lt;/span&gt;).Rows.Count &gt; 0 &lt;span style=&quot;color:#3333ff;&quot;&gt;Then&lt;/span&gt;&lt;br /&gt;GridView1.DataSource = Dst&lt;br /&gt;GridView1.DataBind()&lt;br /&gt;LblCantidadRegistro.Text = &lt;span style=&quot;color:#660000;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Else&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color:#009900;&quot;&gt;&#39;y si es que no lo tiene le damos una tabla vacia al gridview y por ende&lt;br /&gt;&#39;nos muestra los datos anteriores y mandamos un mensaje&lt;br /&gt;&#39;indicando que no hay registros ya que si no hacemos esto el gridview&lt;br /&gt;&#39;no se va ah ver en la pagina.&lt;/span&gt;&lt;br /&gt;Tabla = &lt;span style=&quot;color:#3333ff;&quot;&gt;New &lt;/span&gt;DataTable&lt;br /&gt;GridView1.DataSource = Tabla&lt;br /&gt;LblCantidadRegistro.Text = &lt;span style=&quot;color:#660000;&quot;&gt;&quot;No hay Registro&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;End If&lt;br /&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Paso 6.-Llamamos la función CargarGridView al cargar la Pagina.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Protected Sub&lt;/span&gt; Page_Load(&lt;span style=&quot;color:#3333ff;&quot;&gt;ByVal&lt;/span&gt; sender &lt;span style=&quot;color:#3333ff;&quot;&gt;As Object&lt;/span&gt;, &lt;span style=&quot;color:#3333ff;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color:#3333ff;&quot;&gt;As&lt;/span&gt; System.EventArgs) &lt;span style=&quot;color:#3333ff;&quot;&gt;Handles Me&lt;/span&gt;.Load&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;If&lt;/span&gt; &lt;span style=&quot;color:#3333ff;&quot;&gt;Not&lt;/span&gt; Page.IsPostBack &lt;span style=&quot;color:#3333ff;&quot;&gt;Then&lt;/span&gt;&lt;br /&gt;CargarGridView()&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;End If&lt;br /&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Paso 7.-Mientras crea las filas de datos, en el Footer del GridView se crea los LinkButton de la A-Z dando como Nombre del comando ‘AZ’.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Protected Sub&lt;/span&gt; GridView1_RowCreated(&lt;span style=&quot;color:#3333ff;&quot;&gt;ByVal&lt;/span&gt; sender &lt;span style=&quot;color:#3333ff;&quot;&gt;As Object&lt;/span&gt;, &lt;span style=&quot;color:#3333ff;&quot;&gt;ByVal&lt;/span&gt; e&lt;span style=&quot;color:#3333ff;&quot;&gt; As&lt;/span&gt; System.Web.UI.WebControls.GridViewRowEventArgs) &lt;span style=&quot;color:#3333ff;&quot;&gt;Handles&lt;/span&gt; GridView1.RowCreated&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;If&lt;/span&gt; e.Row.RowType = DataControlRowType.Footer &lt;span style=&quot;color:#3333ff;&quot;&gt;Then&lt;br /&gt;&lt;/span&gt;e.Row.Cells.Clear()&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Dim&lt;/span&gt; tc &lt;span style=&quot;color:#3333ff;&quot;&gt;As New&lt;/span&gt; TableCell()&lt;br /&gt;&lt;span style=&quot;color:#009900;&quot;&gt;&#39;combinamos la columna a 2 ya que nuestro dataset tiene dos columnas&lt;br /&gt;&#39;el valor varia de acuerdo alas columnas que vas a mostrar en tu gridview&lt;/span&gt;&lt;br /&gt;tc.ColumnSpan = 2&lt;br /&gt;&lt;span style=&quot;color:#009900;&quot;&gt;&#39;Creamos la fila combinada en el gridview&lt;/span&gt;&lt;br /&gt;e.Row.Cells.Add(tc)&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Dim&lt;/span&gt; i &lt;span style=&quot;color:#3333ff;&quot;&gt;As Integer&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#009900;&quot;&gt;&#39;sacamos los valores de la A-Z en ASCII&lt;br /&gt;&#39;que empieza del 65 al 90 para luego mostrar&lt;br /&gt;&#39;en su equivalente en letra&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;For&lt;/span&gt; i = 65 &lt;span style=&quot;color:#3333ff;&quot;&gt;To&lt;/span&gt; 65 + 25&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Dim&lt;/span&gt; Link &lt;span style=&quot;color:#3333ff;&quot;&gt;As New&lt;/span&gt; LinkButton()&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Dim&lt;/span&gt; Lc &lt;span style=&quot;color:#3333ff;&quot;&gt;As New&lt;/span&gt; LiteralControl()&lt;br /&gt;Lc.Text = &lt;span style=&quot;color:#660000;&quot;&gt;&quot; &quot;&lt;br /&gt;&lt;/span&gt;Link.Text = Chr(i)&lt;br /&gt;Link.CommandName = &lt;span style=&quot;color:#660000;&quot;&gt;&quot;AZ&quot;&lt;/span&gt;&lt;br /&gt;Link.CommandArgument = Chr(i)&lt;br /&gt;&lt;span style=&quot;color:#009900;&quot;&gt;&#39;vamos agregando el LinkButton con su nombre&lt;br /&gt;&#39;ala fila creada&lt;/span&gt;&lt;br /&gt;tc.Controls.Add(Link)&lt;br /&gt;tc.Controls.Add(Lc)&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Next&lt;br /&gt;End If&lt;br /&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Paso 8.-Para paginar haciendo clic en los LinkButton se programa en el evento RowCommand del gridview solo capturamos en nombre del LinkButton y ordenamos llamando la función CargarGridView en este caso ya dando un valor.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Protected Sub&lt;/span&gt; GridView1_RowCommand(&lt;span style=&quot;color:#3333ff;&quot;&gt;ByVal&lt;/span&gt; sender &lt;span style=&quot;color:#3333ff;&quot;&gt;As Object&lt;/span&gt;, &lt;span style=&quot;color:#3333ff;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color:#3333ff;&quot;&gt;As&lt;/span&gt; System.Web.UI.WebControls.GridViewCommandEventArgs) &lt;span style=&quot;color:#3333ff;&quot;&gt;Handles&lt;/span&gt; GridView1.RowCommand&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;If&lt;/span&gt; e.CommandName = &lt;span style=&quot;color:#660000;&quot;&gt;&quot;AZ&quot;&lt;/span&gt; &lt;span style=&quot;color:#3333ff;&quot;&gt;Then&lt;br /&gt;&lt;/span&gt;CargarGridView(e.CommandArgument)&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;End If&lt;br /&gt;End Sub&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Si quieres remplazar los LinkButton por Button solo cambia el nombre de la clase ejemplo.&lt;br /&gt;Ubicamos esta línea:&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Dim&lt;/span&gt; Link&lt;span style=&quot;color:#3333ff;&quot;&gt; As New&lt;/span&gt; LinkButton()&lt;br /&gt;Y los reemplazamos por&lt;br /&gt;&lt;span style=&quot;color:#3333ff;&quot;&gt;Dim&lt;/span&gt; Link &lt;span style=&quot;color:#3333ff;&quot;&gt;As New&lt;/span&gt; Button()&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;p align=&quot;left&quot;&gt;&lt;img id=&quot;BLOGGER_PHOTO_ID_5056312381269812050&quot; style=&quot;DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 443px; CURSOR: hand; HEIGHT: 30px; TEXT-ALIGN: center&quot; height=&quot;21&quot; alt=&quot;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNsHjZZwGklEPY39FdT0keJiBgiQFLudLIoeNztuzh2dUiRjzLRxTZb2g1M-gCjUD1WZ0pnOpYOIEuNBIOEoPRpE1upr7w6Yexhfk32Cp3Gex6MbkJz_ojCoDV1FXbH5ErW_uqIyGKpLQI/s320/Dibujo2.bmp&quot; width=&quot;371&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;Eso es todo….espero haber podido ayudarlos&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;script src=&quot;http://www.google-analytics.com/urchin.js&quot; type=&quot;text/javascript&quot;&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;br /&gt;_uacct = &quot;UA-1912741-1&quot;;&lt;br /&gt;urchinTracker();&lt;br /&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://jhofransoft.blogspot.com/feeds/3988684295317171569/comments/default' title='Comentarios de la entrada'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/8741114057508313408/3988684295317171569' title='3 Comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/3988684295317171569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8741114057508313408/posts/default/3988684295317171569'/><link rel='alternate' type='text/html' href='http://jhofransoft.blogspot.com/2007/04/paginar-alfabeticamente-en-gridview.html' title='Paginación Alfabética en GridView'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/02750736959775640906</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimTBDDpVghvNsaZ-uJ-4XO9GuGWzBWiPNzjmxN6EX0VOeEx-RXnVuNw5rcsXqRTs22Fx3Dd2VaMeL13-hjBd7suA9b1g4NdlewGielN9nbte9EKPLM8_QvSxe-Z10jqHUyio8HfS9ZdXeZ/s72-c/Dibujo1.bmp" height="72" width="72"/><thr:total>3</thr:total></entry></feed>