<?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: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-3796463611241572824</id><updated>2011-11-28T01:29:29.642+01:00</updated><category term='IE7'/><category term='Visual Studio 2008'/><category term='Twitter'/><category term='DropDownList'/><category term='Certificazioni'/><category term='Android'/><category term='Ajax'/><category term='Programming'/><category term='Hello World'/><category term='GridView'/><category term='Sql'/><title type='text'>Asp.Net View</title><subtitle type='html'>Visual Studio - Visual Basic dotnet - Asp.Net - Ajax.Net - SqlServer - Linq - and much more...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-4437346388906248240</id><published>2011-05-24T20:39:00.014+02:00</published><updated>2011-05-24T22:11:22.065+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql'/><title type='text'>Concatenare campi di diversi records (senza cursore)</title><content type='html'>Se avete la necessita' di &lt;span style="background-color: rgb(255, 255, 204);"&gt;concatenare&lt;/span&gt;  in una stringa dei campi che sono su piu' records, normalmente viene suggerito l'uso dei cursori che eseguono un ciclo sulle righe interessate dalla clausola "where".&lt;br /&gt;Per fortuna esite un modo piu' veloce per ottenere la concatenazione desiderata senza l'uso di cursori, &lt;span style="background-color: rgb(255, 255, 204);"&gt;senza stressare&lt;/span&gt; la cpu del server e quella del programmatore!&lt;br /&gt;&lt;br /&gt;Come test, ho usato il db d'esempio AdventureWorks e la tabella "Production.Product". Voglio quindi concatenare e separare con una virgola, tutti i prodotti il cui colore e' "Black".&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://4.bp.blogspot.com/-6cenFwDNGEw/TdwA_s73cyI/AAAAAAAAAIw/NuRclv5dIAo/s1600/all_prod_black.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 138px;" src="http://4.bp.blogspot.com/-6cenFwDNGEw/TdwA_s73cyI/AAAAAAAAAIw/NuRclv5dIAo/s320/all_prod_black.png" alt="" id="BLOGGER_PHOTO_ID_5610360330190811938" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Per per poter concaternare i prodotti, ho usato il seguente codice:&lt;br /&gt;&lt;pre name="code" class="sql"&gt;SELECT STUFF ((SELECT ', ' + [Name]&lt;br /&gt;FROM Production.Product WHERE Color = 'Black'&lt;br /&gt;FOR XML PATH ('')),1,2,'') AS Black_Products&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Usando quindi, &lt;pre name="code" class="sql"&gt;FOR XML PATH&lt;/pre&gt; ma anche la funzione (serve per separare con le virgole al meglio)&lt;br /&gt;&lt;pre name="code" class="sql"&gt;STUFF&lt;/pre&gt;potrete risolvere velocemente e &lt;span style="background-color: rgb(255, 255, 204);"&gt;senza cursori&lt;/span&gt;, la vostra concatenazione!&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://4.bp.blogspot.com/-EQSvdqna9Ek/TdwCepcz_-I/AAAAAAAAAI4/-Mj-ZPiK7lc/s1600/all_prod_black_res.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 291px; height: 45px;" src="http://4.bp.blogspot.com/-EQSvdqna9Ek/TdwCepcz_-I/AAAAAAAAAI4/-Mj-ZPiK7lc/s320/all_prod_black_res.png" alt="" id="BLOGGER_PHOTO_ID_5610361961342828514" border="0" /&gt;&lt;/a&gt; Maggiori info sulla funzione &lt;span style="color: rgb(204, 102, 204);"&gt;&lt;span&gt;STUFF&lt;/span&gt;&lt;/span&gt; le trovate &lt;a target="_blank" href="http://j.mp/ejp5hq"&gt;qui&lt;/a&gt;, per quanto riguarda le istruzioni &lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span&gt;FOR XML PATH&lt;/span&gt;&lt;/span&gt;, potete guardare &lt;a target="_blank" href="http://j.mp/imK06E"&gt;qui&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Buon lavoro!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-4437346388906248240?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/4437346388906248240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=4437346388906248240' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/4437346388906248240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/4437346388906248240'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2011/05/concatenare-campi-in-diversi-records.html' title='Concatenare campi di diversi records (senza cursore)'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-6cenFwDNGEw/TdwA_s73cyI/AAAAAAAAAIw/NuRclv5dIAo/s72-c/all_prod_black.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-404760909413157732</id><published>2011-04-03T19:51:00.015+02:00</published><updated>2011-04-04T15:22:24.971+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql'/><title type='text'>Automatically create all Store Procedures</title><content type='html'>I have often to write many &lt;span style="background-color: rgb(255, 255, 204);"&gt;store procedures&lt;/span&gt; in SQL Server!&lt;br /&gt;So i decided to speed up my work, writing just 3 Store Procedures that &lt;span style="background-color: rgb(255, 255, 204);"&gt;automatically&lt;/span&gt; create all "Insert", "Update", "Delete" Store Procedures, of all tables, in the selected DB.&lt;br /&gt;&lt;pre name="code" class="sql"&gt;declare crs_tab cursor for&lt;br /&gt;select [name] from sys.tables&lt;br /&gt;where [name] not like 'sys%'&lt;br /&gt;&lt;br /&gt;open crs_tab&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;As you can see, I used the "cursor" and "&lt;span style="background-color: rgb(255, 255, 204);"&gt;information_schema.columns&lt;/span&gt;" to get infos about all tables (and view) from the DB.&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="sql"&gt;declare crs_structure cursor for&lt;br /&gt;select c.[name], data_type ,ISC.character_maximum_length,ISC.character_maximum_length&lt;br /&gt;from sys.columns C&lt;br /&gt;join sys.tables T on t.[object_id]=c.[object_id]&lt;br /&gt;join information_schema.columns ISC&lt;br /&gt;on ISC.table_name=t.[name] and Column_name=c.[name]&lt;br /&gt;ISC.table_name=t.[name] and Column_name=c.[name]&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a href="http://dl.dropbox.com/u/4061873/INSERT_UPDATE_DELETE.rar"&gt;Download&lt;/a&gt; the 3 txt and create the 3 store procedures from &lt;span id="result_box" class="short_text" lang="en"&gt;&lt;span title="Fai clic per visualizzare le traduzioni alternative" class="hps"&gt;these &lt;/span&gt;&lt;/span&gt;files.&lt;br /&gt;Run the store procedures!&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://3.bp.blogspot.com/-a3IpjbMe_NU/TZjMvJXovQI/AAAAAAAAAIo/beadktVbc-Y/s1600/exec.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 269px;" src="http://3.bp.blogspot.com/-a3IpjbMe_NU/TZjMvJXovQI/AAAAAAAAAIo/beadktVbc-Y/s320/exec.png" alt="" id="BLOGGER_PHOTO_ID_5591444047721446658" border="0" /&gt;&lt;/a&gt;&lt;a target="_blank" href="http://1.bp.blogspot.com/--aDLQinVKW0/TZi8sFjaz5I/AAAAAAAAAIY/GVc5iPyiCXk/s1600/exec.png"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then you will have all Insert, Update and Delete Store Procedures created from all Tables of your DB!&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" href="http://3.bp.blogspot.com/-551rWr9SLJw/TZi9LKRsibI/AAAAAAAAAIg/nbyViAF9oos/s1600/ins_all.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 187px; height: 320px;" src="http://3.bp.blogspot.com/-551rWr9SLJw/TZi9LKRsibI/AAAAAAAAAIg/nbyViAF9oos/s320/ins_all.png" alt="" id="BLOGGER_PHOTO_ID_5591426936815258034" border="0" /&gt;&lt;/a&gt;Good work and enjoy!&lt;br /&gt;&lt;br /&gt;p.s.&lt;br /&gt;&lt;span id="result_box" class="short_text" lang="en"&gt;&lt;span title="Fai clic per visualizzare le traduzioni alternative" class="hps"&gt;These Store Procedures, are&lt;/span&gt; &lt;span title="Fai clic per visualizzare le traduzioni alternative" class="hps"&gt;only&lt;/span&gt; &lt;span title="Fai clic per visualizzare le traduzioni alternative" class="hps"&gt;a&lt;/span&gt; &lt;span title="Fai clic per visualizzare le traduzioni alternative" class="hps"&gt;starting point&lt;/span&gt;&lt;/span&gt;... so sometimes, if your tables are not "standard", you have to create them by hand &lt;span id="result_box" class="short_text" lang="en"&gt;&lt;span title="Fai clic per visualizzare le traduzioni alternative" class="hps"&gt;or customize&lt;/span&gt; &lt;span title="Fai clic per visualizzare le traduzioni alternative" class="hps"&gt;the&lt;/span&gt; &lt;span title="Fai clic per visualizzare le traduzioni alternative" class="hps"&gt;3&lt;/span&gt; &lt;span title="Fai clic per visualizzare le traduzioni alternative" class="hps"&gt;txt&lt;/span&gt;&lt;/span&gt; :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-404760909413157732?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/404760909413157732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=404760909413157732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/404760909413157732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/404760909413157732'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2011/04/automatically-create-all-store.html' title='Automatically create all Store Procedures'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-a3IpjbMe_NU/TZjMvJXovQI/AAAAAAAAAIo/beadktVbc-Y/s72-c/exec.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-3517620879023544961</id><published>2011-02-04T13:46:00.001+01:00</published><updated>2011-02-04T14:08:30.382+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Android'/><title type='text'>Blogger!</title><content type='html'>&lt;div&gt;&lt;p&gt;Google ha appena implementato Blogger per Android, versione ufficiale.&lt;br&gt;Era ora!!! (post scritto da Android ovviamente!)&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-3517620879023544961?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/3517620879023544961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=3517620879023544961' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/3517620879023544961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/3517620879023544961'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2011/02/blogger.html' title='Blogger!'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-497377953386186135</id><published>2010-08-03T07:50:00.005+02:00</published><updated>2010-08-03T08:05:31.208+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql'/><title type='text'>Sql Server 2008 R2</title><content type='html'>Se si usa &lt;span style="background-color: rgb(255, 255, 204);"&gt;Sql Server 2008 R2&lt;/span&gt;, e si prova a modificare una tabella (progetta), si scoprira' che Management Studio impedisce il salvataggio delle modifiche.&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_hQSUKxnw5LE/TFev4GVNMwI/AAAAAAAAAHw/O4VckWWZtMI/s1600/sql2008_.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 262px;" src="http://3.bp.blogspot.com/_hQSUKxnw5LE/TFev4GVNMwI/AAAAAAAAAHw/O4VckWWZtMI/s320/sql2008_.png" alt="" id="BLOGGER_PHOTO_ID_5501058848163443458" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Sembra che questo sia il comportamento di default...&lt;br /&gt;Per poter modificare le tabelle o altri oggetti basta andare in "Strumenti" e poi "Opzioni" e quindi in "Designers" e levare questa &lt;span style="background-color: rgb(255, 255, 204);"&gt;fastidiosa&lt;/span&gt; opzione!&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_hQSUKxnw5LE/TFewfQtN0JI/AAAAAAAAAH4/7U1rCkVvTNY/s1600/sql2008.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 190px;" src="http://4.bp.blogspot.com/_hQSUKxnw5LE/TFewfQtN0JI/AAAAAAAAAH4/7U1rCkVvTNY/s320/sql2008.png" alt="" id="BLOGGER_PHOTO_ID_5501059520963399826" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-497377953386186135?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/497377953386186135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=497377953386186135' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/497377953386186135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/497377953386186135'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2010/08/se-si-usa-sql-server-2008-r2-e-si-prova.html' title='Sql Server 2008 R2'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_hQSUKxnw5LE/TFev4GVNMwI/AAAAAAAAAHw/O4VckWWZtMI/s72-c/sql2008_.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-4333146505774902877</id><published>2010-06-27T11:22:00.006+02:00</published><updated>2010-06-27T11:32:13.930+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Certificazioni'/><title type='text'>Esame Microsoft 70-528</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_hQSUKxnw5LE/TCcZkVJfwDI/AAAAAAAAAHo/Xa8a5QQvBls/s1600/work-in-progress.gif"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 320px; height: 218px;" src="http://2.bp.blogspot.com/_hQSUKxnw5LE/TCcZkVJfwDI/AAAAAAAAAHo/Xa8a5QQvBls/s320/work-in-progress.gif" alt="" id="BLOGGER_PHOTO_ID_5487382782917197874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_hQSUKxnw5LE/TCcY2GYSq3I/AAAAAAAAAHg/AhnjAsh8T1c/s1600/wip.png"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-4333146505774902877?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/4333146505774902877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=4333146505774902877' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/4333146505774902877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/4333146505774902877'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2010/06/esame-microsoft-70-528.html' title='Esame Microsoft 70-528'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_hQSUKxnw5LE/TCcZkVJfwDI/AAAAAAAAAHo/Xa8a5QQvBls/s72-c/work-in-progress.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-4547236771715553131</id><published>2010-03-07T15:45:00.009+01:00</published><updated>2010-03-07T20:54:17.788+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Certificazioni'/><title type='text'>Esame Microsoft 70-528</title><content type='html'>Di ritorno da &lt;a a="" target="_blank" href="http://www.flickr.com/photos/michelebrutti/sets/72157623570698554/"&gt;Mosca&lt;/a&gt;, mi ritrovo un pacco appena arrivato dall' Inghilterra con il &lt;a a="" target="_blank" href="http://bit.ly/bmBjNl"&gt;manuale&lt;/a&gt; per l' esame Microsoft &lt;a a="" target="_blank" href="http://bit.ly/5LevO6"&gt;.NET Framework 2.0 - Web-based Client Development&lt;/a&gt;.&lt;br /&gt;Questi gli &lt;span style="background-color: rgb(255, 255, 204);"&gt;argomenti&lt;/span&gt; principali dell' esame:&lt;br /&gt;creating and programming a Web application;&lt;br /&gt;integrating data in a Web application by using ADO.NET, XML, and data-bound controls;&lt;br /&gt;creating custom Web controls;&lt;br /&gt;tracing, configuring, and deploying applications;&lt;br /&gt;customizing and personalizing a Web application;&lt;br /&gt;implementing authentication and authorization;&lt;br /&gt;creating ASP.NET mobile Web applications;&lt;br /&gt;&lt;br /&gt;Come per il precedente esame, mi ci vorranno forse &lt;span style="background-color: rgb(255, 255, 204);"&gt;due mesi&lt;/span&gt; per studiarmelo...&lt;br /&gt;Spero di riuscire nell' impresa !!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-4547236771715553131?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/4547236771715553131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=4547236771715553131' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/4547236771715553131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/4547236771715553131'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2010/03/esame-microsoft-70-528.html' title='Esame Microsoft 70-528'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-2980275171024545743</id><published>2010-02-25T19:04:00.015+01:00</published><updated>2010-03-12T13:38:02.056+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Certificazioni'/><title type='text'>Esame Microsoft 70-536 - Passato!!!</title><content type='html'>Oggi ho finalmente fatto l'esame Microsoft &lt;a target="_blank" href="http://j.mp/jYoK8"&gt;.NET Framework 2.0 - Application Development Foundation&lt;/a&gt; (codice esame 70-536)&lt;br /&gt;&lt;span style="background-color: rgb(255, 255, 204);"&gt;Passato!!! :)&lt;/span&gt;&lt;br /&gt;La mia preparazione e' durata &lt;span style="background-color: rgb(255, 255, 204);"&gt;due mesi&lt;/span&gt;, lavoro e altri impegni non hanno reso possibile un tempo inferiore...&lt;br /&gt;L'esame si e' svolto in questo modo:&lt;br /&gt;mi sono ovviamente recato in un centro Microsoft predisposto per gli esami;&lt;br /&gt;un computer con un'applicazione appositamente configurata per l'esame in questione;&lt;br /&gt;collegamento con gli USA per controllare il corretto svolgimento dell'esame;&lt;br /&gt;&lt;span style="background-color: rgb(255, 255, 204);"&gt;40 domande&lt;/span&gt; a risposta multipla (da 4 a 6 risposte possibili);&lt;br /&gt;domande in inglese;&lt;br /&gt;poco piu' di 2 ore di tempo.&lt;br /&gt;&lt;br /&gt;Devo dire che una delle maggiori difficolta' e' stata quella di studiare su un &lt;a target="_blank" href="http://j.mp/6s0zJg"&gt;manuale&lt;/a&gt; in inglese...&lt;br /&gt;Inoltre certi argomenti nel libro e nell'esame, erano su delle Classi del Framework 2.0 con cui non ho quasi mai lavorato, quindi non semplici da ricordare.&lt;br /&gt;&lt;br /&gt;Per qualche giorno mi riposero', poi ricomincero' a studiare per l'esame: Microsoft &lt;a target="_blank" href="http://j.mp/5LevO6"&gt;.NET Framework 2.0 - Web-based Client Development&lt;/a&gt; (codice esame 70-528)&lt;br /&gt;&lt;br /&gt;Se passero' pure questo, otterro' la certificazione: &lt;a target="_blank" href="http://j.mp/4OzakS"&gt;MCTS&lt;/a&gt; &lt;span style="background-color: rgb(255, 255, 204);"&gt;.NET Framework  2.0 Web Applications&lt;/span&gt; !!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-2980275171024545743?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/2980275171024545743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=2980275171024545743' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/2980275171024545743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/2980275171024545743'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2010/02/esame-microsoft-70-536-passato.html' title='Esame Microsoft 70-536 - Passato!!!'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-5969874907039941878</id><published>2009-12-23T09:20:00.015+01:00</published><updated>2009-12-25T19:13:31.567+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Certificazioni'/><title type='text'>Esame Microsoft 70-536</title><content type='html'>Inizia in questi giorni di festivita' e dopo un breve (purtroppo) periodo di riposo, la mia &lt;span style="background-color: rgb(255, 255, 204);"&gt;preparazione&lt;/span&gt; all'esame "70-536 Microsoft .NET Framework - Application Development Foundation" !!!&lt;br /&gt;Questa la descrizione ufficiale dell' esame:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"Exam 70-536 is designed to measure your knowledge of .NET development fundamentals and is not tied to a particular version of .NET. Since the exam is now applicable to both Microsoft .NET Framework 2.0 and Microsoft .NET Framework 3.5 certification tracks, we have changed the name of the exam. Formerly TS: Microsoft .NET Framework 2.0 – Application Development Foundation, Exam 70-536 is now called TS: Microsoft .NET Framework, Application Development Foundation. If you are a .NET 2.0 developer, you do not need to learn .NET 3.5 to pass Exam 70-536; conversely, if you are a .NET 3.5 developer, you do not need to review .NET 2.0 to pass the exam."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Questo e' il primo passo per ottenere la certificazione "&lt;span style="background-color: rgb(255, 255, 204);"&gt;MCTS: .NET Framework 2.0 Web Applications&lt;/span&gt;" &lt;a target="_blank" href="http://j.mp/4OzakS"&gt;MCTS&lt;/a&gt;&lt;br /&gt;Il manuale su cui studio e' &lt;a target="_blank" href="http://j.mp/6s0zJg"&gt;questo&lt;/a&gt;, circa ottocento pagine in inglese e pagato poco piu' di 30€. &lt;br /&gt;Se voi lo avete gia' superato ogni &lt;span style="background-color: rgb(255, 255, 204);"&gt;consiglio&lt;/span&gt; sara' molto gradito :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-5969874907039941878?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/5969874907039941878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=5969874907039941878' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/5969874907039941878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/5969874907039941878'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2009/12/esame-microsoft-70-536.html' title='Esame Microsoft 70-536'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-430549201531526004</id><published>2009-09-19T11:00:00.004+02:00</published><updated>2009-09-19T11:57:42.546+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Twitter'/><title type='text'>Twitter Updates: 19/09/2009</title><content type='html'>&lt;div id="accordion1"&gt;&lt;div&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=3796463611241572824#"&gt;Web&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Opera Mini 5 &lt;a href="http://tinyurl.com/mtfh6m"&gt;http://tinyurl.com/mtfh6m&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;FileTwT : File Sharing On Twitter &lt;a href="http://bit.ly/ZCHbC"&gt;http://bit.ly/ZCHbC&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Google Timeline &lt;a href="http://bit.ly/12WKdJ"&gt;http://bit.ly/12WKdJ&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;10 code snippets to interact with Twitter &lt;a href="http://bit.ly/3t1O53"&gt;http://bit.ly/3t1O53&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Low-Tech Ways To Twitter From A Cell Phone &lt;a href="http://bit.ly/UDSZl"&gt;http://bit.ly/UDSZl&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Gmail just got pretty. Introducing Helvetimail &lt;a href="http://bit.ly/8dea7"&gt;http://bit.ly/8dea7&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;lessthanabenjamin.com &lt;a href="http://bit.ly/KATWm"&gt;http://bit.ly/KATWm&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Why you should upgrade your WordPress blog &lt;a href="http://bit.ly/gwK9a"&gt;http://bit.ly/gwK9a&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Security Threat: WordPress Under Attack &lt;a href="http://bit.ly/LiUdA"&gt;http://bit.ly/LiUdA&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Fantastic Google Maps mashup maps your musical memories &lt;a href="http://bit.ly/lpbcd"&gt;http://bit.ly/lpbcd&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;7 Steps To Help You Build Your Personal Brand On LinkedIn &lt;a href="http://bit.ly/w2Y3X"&gt;http://bit.ly/w2Y3X&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;   &lt;/div&gt;   &lt;div&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=3796463611241572824#"&gt;Webdesign&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;How to Make a Light and Sleek Web Layout in Photoshop &lt;a href="http://bit.ly/19Obq2"&gt;http://bit.ly/19Obq2&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;65 New Examples Of Beautiful Single Page &lt;a href="http://bit.ly/1dPceH"&gt;http://bit.ly/1dPceH&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;70 Fresh and Inspirational Blog Designs &lt;a href="http://bit.ly/MuZgJ"&gt;http://bit.ly/MuZgJ&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Best Collection Of Free CSS Templates &lt;a href="http://bit.ly/hBrwv"&gt;http://bit.ly/hBrwv&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;CSS cursor property&lt;a href="http://bit.ly/3ewxaL"&gt; http://bit.ly/3ewxaL&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=3796463611241572824#"&gt;dotNet&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Multi-threading in .NET &lt;a href="http://bit.ly/13tJKu"&gt;http://bit.ly/13tJKu&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Debugging Task-Based Parallel Applications in Visual Studio 2010 &lt;a href="http://bit.ly/qFDrv"&gt;http://bit.ly/qFDrv&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;ASP.NET GridView with Custom Paging &lt;a href="http://bit.ly/vhRXQ"&gt;http://bit.ly/vhRXQ&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Microsoft Dev-Labs Introduces Doloto for AJAX &lt;a href="http://bit.ly/7chuK"&gt;http://bit.ly/7chuK&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Efficient Search Page Using QueryExtender control in ASP.Net 4.0 &lt;a href="http://bit.ly/DEXaM"&gt;http://bit.ly/DEXaM&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Custom Paging in GridView Using LINQ &lt;a href="http://bit.ly/ERhp2"&gt;http://bit.ly/ERhp2&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;How to Launch External Applications from Visual Studio 2005/2008 &lt;a href="http://bit.ly/1tseMP"&gt;http://bit.ly/1tseMP&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Hosting ASP.NET sites on IIS 7.0 &lt;a href="http://bit.ly/KSEjI"&gt;http://bit.ly/KSEjI&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Properties vs Fields – Why Does it Matter? &lt;a href="http://bit.ly/4itHj8"&gt;http://bit.ly/4itHj8&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;    &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-430549201531526004?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/430549201531526004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=430549201531526004' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/430549201531526004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/430549201531526004'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2009/09/twitter-updates-19092009.html' title='Twitter Updates: 19/09/2009'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-2457561322110147821</id><published>2009-09-04T18:10:00.013+02:00</published><updated>2009-09-05T10:27:33.267+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Twitter'/><title type='text'>Twitter Updates: 04/09/2009</title><content type='html'>&lt;div id="accordion0"&gt;&lt;div&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=3796463611241572824#"&gt;Design&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Weekly Web Design Inspiration &lt;a href="http://bit.ly/OstwD"&gt;http://bit.ly/OstwD&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Sporty Bike &lt;a href="http://bit.ly/TL0hp"&gt;http://bit.ly/TL0hp&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Keep On Switchitallingaling! &lt;a href="http://bit.ly/2nD155"&gt;http://bit.ly/2nD155&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Reinvention Of The Wheel? &lt;a href="http://bit.ly/1njSes"&gt;http://bit.ly/1njSes&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;       &lt;/div&gt;&lt;div&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=3796463611241572824#"&gt;dotNet&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Auto Translate and Synchronize resources in your .NET applications &lt;a href="http://bit.ly/4frjpH"&gt;http://bit.ly/4frjpH&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Creating Music Video Box Using Windows Presentation Foundation(WPF) &lt;a href="http://bit.ly/1y9TG"&gt;http://bit.ly/1y9TG&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;    &lt;/div&gt;&lt;div&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=3796463611241572824#"&gt;Webdesign&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Weekly Web Design Inspiration &lt;a href="http://bit.ly/OstwD"&gt;http://bit.ly/OstwD&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;45 Excellent New Icon Packs For Desktop and Web &lt;a href="http://bit.ly/2pdVsU"&gt;http://bit.ly/2pdVsU&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Create a Web Layout with 3D Elements using Photoshop &lt;a href="http://bit.ly/mN02H"&gt;http://bit.ly/mN02H&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;50 Websites (and More) for Your Design Inspiration &lt;a href="http://bit.ly/Ya7gC"&gt;http://bit.ly/Ya7gC&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;25 Examples of Web 2.0 and Traditional Design Rules Coming Together &lt;a href="http://bit.ly/pXnEx"&gt;http://bit.ly/pXnEx&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Get to Know Why CSS is Good for Google &lt;a href="http://bit.ly/1VJzyM"&gt;http://bit.ly/1VJzyM&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;How to Design and Code a Flexible Website &lt;a href="http://bit.ly/3F4RK5"&gt;http://bit.ly/3F4RK5&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Design a creative design studio layout &lt;a href="http://bit.ly/8rr4T"&gt;http://bit.ly/8rr4T&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;   &lt;/div&gt;   &lt;div&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.g?blogID=3796463611241572824#"&gt;Sql&lt;/a&gt;&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;SQL Server 2008: Ole Automation &lt;a href="http://bit.ly/1KFpCH"&gt;http://bit.ly/1KFpCH&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Videos Updated Show How to Scale SQL Server &lt;a href="http://bit.ly/eNFlG"&gt;http://bit.ly/eNFlG&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Ireland SQL User Group September 23rd &lt;a href="http://bit.ly/2lxYVQ"&gt;http://bit.ly/2lxYVQ&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Consume a Web Service in SQL Server Integration Services &lt;a href="http://bit.ly/tSVxt"&gt;http://bit.ly/tSVxt&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="status-body"&gt;&lt;span class="entry-content"&gt;Speed up your Web App by 1000% with 1 Line of SQL &lt;a href="http://bit.ly/I4bLI"&gt;http://bit.ly/I4bLI&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;   &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-2457561322110147821?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/2457561322110147821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=2457561322110147821' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/2457561322110147821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/2457561322110147821'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2009/09/twitter-updates-04092009.html' title='Twitter Updates: 04/09/2009'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-5476254926580928047</id><published>2009-04-25T20:48:00.006+02:00</published><updated>2009-04-26T12:59:02.625+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><title type='text'>Recursive function in Asp.Net</title><content type='html'>An important programming technique is the &lt;span style="background-color: rgb(255, 255, 204);"&gt;Recursion&lt;/span&gt;.&lt;br /&gt;Recursive is a procedure or subroutines that contains a statement that &lt;span style="background-color: rgb(255, 255, 204);"&gt;calls itself&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;In this simple example I use a recursive function to clean all TextBox even those &lt;span style="background-color: rgb(255, 255, 204);"&gt;within&lt;/span&gt; a container (ascx control)&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Private Function CleanAll(ByVal container As Control) As ArrayList&lt;br /&gt;&lt;br /&gt;     Dim txt As TextBox&lt;br /&gt;     For Each c As Control In container.Controls&lt;br /&gt;         If c.GetType.Name = "TextBox" Then&lt;br /&gt;             txt = c&lt;br /&gt;             If txt.Text &lt;&gt; "" Then&lt;br /&gt;                 txt.Text = ""&lt;br /&gt;                 allControlls.Add(c)&lt;br /&gt;             End If&lt;br /&gt;         Else&lt;br /&gt;             CleanAll(c) ' invokes recursively the method&lt;br /&gt;             'to add more controls in the control children&lt;br /&gt;         End If&lt;br /&gt;     Next&lt;br /&gt;     Return allControlls&lt;br /&gt;&lt;br /&gt; End Function&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;There are two ascx controls nested one inside the other.&lt;br /&gt;The same thing works with panels and other asp.net containers.&lt;br /&gt;&lt;a target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_hQSUKxnw5LE/SfNdJeMrrxI/AAAAAAAAAGA/UbvtpfRhJDg/s1600-h/ascx.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 274px; height: 249px;" src="http://2.bp.blogspot.com/_hQSUKxnw5LE/SfNdJeMrrxI/AAAAAAAAAGA/UbvtpfRhJDg/s320/ascx.gif" alt="" id="BLOGGER_PHOTO_ID_5328705201415892754" border="0" /&gt;&lt;/a&gt;If you want, you can download this example &lt;a target="_blank" href="http://www.box.net/shared/sf9778euaj"&gt;here&lt;/a&gt; (visual basic) or &lt;a target="_blank" href="http://www.box.net/shared/oux80i1ezx"&gt;here&lt;/a&gt; (c#).&lt;br /&gt;&lt;br /&gt;For more info try &lt;a target="_blank" href="http://www.doc.ic.ac.uk/%7Ewjk/C++Intro/RobMillerL8.html"&gt;here&lt;/a&gt; and &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/z3dk2cc3.aspx"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;That's all !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-5476254926580928047?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/5476254926580928047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=5476254926580928047' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/5476254926580928047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/5476254926580928047'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2009/04/recursive-function-in-aspnet.html' title='Recursive function in Asp.Net'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_hQSUKxnw5LE/SfNdJeMrrxI/AAAAAAAAAGA/UbvtpfRhJDg/s72-c/ascx.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-3712486075876257942</id><published>2009-04-01T11:14:00.010+02:00</published><updated>2009-04-01T12:12:17.756+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DropDownList'/><title type='text'>Add Item to DropDownList</title><content type='html'>Hi!&lt;br /&gt;&lt;br /&gt;In this post I'll explain how to add a &lt;span style="background-color: rgb(255, 255, 204);"&gt;custom-item&lt;/span&gt; in a DropDownList using &lt;span style="background-color: rgb(255, 255, 204);"&gt;ListItem&lt;/span&gt; object.&lt;br /&gt;&lt;br /&gt;As written in MSDN:&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;"&gt;"ListItem represents a data item in a data-bound list control" &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-style: italic;"&gt;"A ListItem control represents an individual data item within a data-bound list control"&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;First of all, we have to connect a &lt;a target="_blank" href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=4004"&gt;Database&lt;/a&gt; Table with a DropDownList. (you can see how populate a DropDownList &lt;a target="_blank" href="http://aspnetview.blogspot.com/2008/11/base-popolare-una-dropdownlist.html"&gt;here&lt;/a&gt;)&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Protected Sub GetContact()&lt;br /&gt;&lt;br /&gt;   Dim obj As cl_Person = Nothing&lt;br /&gt;   obj = New cl_Person(System.Configuration.ConfigurationManager.AppSettings("APPConnectionString"))&lt;br /&gt;&lt;br /&gt;   Me.ddlPerson.DataSource = obj.GetContact()&lt;br /&gt;   Me.ddlPerson.DataValueField = "ContactID"&lt;br /&gt;   Me.ddlPerson.DataTextField = "FullName"&lt;br /&gt;   Me.ddlPerson.DataBind()&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Then in the &lt;span style="background-color: rgb(255, 255, 204);"&gt;DataBound&lt;/span&gt; event of the DropDownList, write this:&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Protected Sub ddlPerson_DataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlPerson.DataBound&lt;br /&gt;&lt;br /&gt;   Dim myItem As New ListItem&lt;br /&gt;   myItem.Text = "Choose One !!!"&lt;br /&gt;   myItem.Value = 0&lt;br /&gt;   myItem.Selected = True&lt;br /&gt;   Me.ddlPerson.Items.Add(myItem)&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;As you can see, "Choose One !!!" rapresents our custom-item.&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_hQSUKxnw5LE/SdMzF8jGmcI/AAAAAAAAAF4/INOTS5CbMP0/s1600-h/customItem.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 152px; height: 121px;" src="http://3.bp.blogspot.com/_hQSUKxnw5LE/SdMzF8jGmcI/AAAAAAAAAF4/INOTS5CbMP0/s320/customItem.gif" alt="" id="BLOGGER_PHOTO_ID_5319651762100410818" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you want, you can download this example &lt;a target="_blank" href="http://www.box.net/shared/ppo4j7x8ni"&gt;here&lt;/a&gt;.&lt;br /&gt;You can download and install AdventureWorksDB.msi database &lt;a target="_blank" href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=4004"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Please remember to change in the web.config file, the two values "Data Source=&lt;span style="background-color: rgb(255, 255, 204);"&gt;pc01&lt;/span&gt;;" with&lt;br /&gt;your sqlserver instance name. (probably "&lt;em&gt;computername&lt;/em&gt;" with Sql2005/2008, but if you are using SqlExpress edition your instance name is "&lt;em&gt;computername&lt;/em&gt;\SQLExpress")&lt;br /&gt;&lt;br /&gt;That's all !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-3712486075876257942?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/3712486075876257942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=3712486075876257942' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/3712486075876257942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/3712486075876257942'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2009/04/add-item-to-dropdownlist.html' title='Add Item to DropDownList'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_hQSUKxnw5LE/SdMzF8jGmcI/AAAAAAAAAF4/INOTS5CbMP0/s72-c/customItem.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-2487654222711181836</id><published>2009-03-31T09:48:00.010+02:00</published><updated>2009-03-31T12:15:35.180+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2008'/><title type='text'>Hotfix for "Design view does not update HTML"</title><content type='html'>Hello everybody!&lt;br /&gt;In a &lt;a target="_blank" href="http://aspnetview.blogspot.com/2008/11/another-bug-on-visual-studio-2008.html"&gt;previous post&lt;/a&gt;, I have described an update-problem with &lt;span style="background-color: rgb(255, 255, 204);"&gt;design-view&lt;/span&gt; and &lt;span style="background-color: rgb(255, 255, 204);"&gt;souce-view&lt;/span&gt; in Visual Studio 2008.&lt;br /&gt;&lt;br /&gt;Recently Microsoft has released some &lt;span style="background-color: rgb(255, 255, 204);"&gt;hotfix&lt;/span&gt; that you can &lt;a target="_blank" href="http://blogs.msdn.com/webdevtools/archive/2009/03/23/hotfix-for-design-view-does-not-update-html-and-to-designer-inserts-a-lot-of-nbsp.aspx"&gt;download here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-2487654222711181836?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/2487654222711181836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=2487654222711181836' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/2487654222711181836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/2487654222711181836'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2009/03/hotfix-for-design-view-does-not-update.html' title='Hotfix for &quot;Design view does not update HTML&quot;'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-353980473020841634</id><published>2009-03-18T10:39:00.020+01:00</published><updated>2009-03-31T10:30:36.102+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Sql'/><category scheme='http://www.blogger.com/atom/ns#' term='GridView'/><title type='text'>Custom Filter</title><content type='html'>There are &lt;span style="background-color: rgb(255, 255, 204);"&gt;many ways&lt;/span&gt; to filter data in a grid, here one of them...&lt;br /&gt;&lt;br /&gt;All you need is to create a &lt;span style="background-color: rgb(255, 255, 204);"&gt;DataSet&lt;/span&gt; connected with a&lt;span style="background-color: rgb(255, 255, 204);"&gt; table&lt;/span&gt;  and a little code!&lt;br /&gt;(in the example I use "&lt;a target="_blank" href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=4004"&gt;AdventureWorks&lt;/a&gt;" as database and "Person.CountryRegion" as table)&lt;br /&gt;&lt;br /&gt;Let's start!&lt;br /&gt;&lt;br /&gt;As usual, we have to write an &lt;span style="background-color: rgb(255, 255, 204);"&gt;object&lt;/span&gt; to connect a GridView with a source like a dataset/database.&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Public Function GetCountryRegion(Optional ByVal CountryRegionCode As String = "%", _&lt;br /&gt;                                   Optional ByVal Name As String = "%") As ds_CountryRegion.CountryRegionDataTable&lt;br /&gt;&lt;br /&gt;      Dim cnn As SqlConnection = Nothing&lt;br /&gt;      Dim cmd As SqlCommand = Nothing&lt;br /&gt;      Dim da As SqlDataAdapter = Nothing&lt;br /&gt;      Dim sqlStatement As String&lt;br /&gt;&lt;br /&gt;      Try&lt;br /&gt;          sqlStatement = "SELECT * FROM Person.CountryRegion where CountryRegionCode like '" &amp;amp; CountryRegionCode &amp;amp; "%' and Name like '" &amp;amp; Name &amp;amp; "%'"&lt;br /&gt;&lt;br /&gt;          cnn = New SqlConnection(Me._connectionString)&lt;br /&gt;          cmd = New SqlCommand(sqlStatement, cnn)&lt;br /&gt;          da = New SqlDataAdapter(cmd)&lt;br /&gt;&lt;br /&gt;          cnn.Open()&lt;br /&gt;&lt;br /&gt;          _ds.CountryRegion.Rows.Clear()&lt;br /&gt;          da.Fill(_ds, "CountryRegion")&lt;br /&gt;      Catch ex As Exception&lt;br /&gt;          'todo: code for exceptions!&lt;br /&gt;      Finally&lt;br /&gt;          GetCountryRegion = _ds.CountryRegion&lt;br /&gt;&lt;br /&gt;          If Not (cnn Is Nothing) Then&lt;br /&gt;              cnn.Close()&lt;br /&gt;              cnn.Dispose()&lt;br /&gt;              cnn = Nothing&lt;br /&gt;          End If&lt;br /&gt;          If Not (da Is Nothing) Then&lt;br /&gt;              da.Dispose()&lt;br /&gt;              da = Nothing&lt;br /&gt;          End If&lt;br /&gt;          If Not (cmd Is Nothing) Then&lt;br /&gt;              cmd.Dispose()&lt;br /&gt;              cmd = Nothing&lt;br /&gt;          End If&lt;br /&gt;      End Try&lt;br /&gt;&lt;br /&gt;  End Function&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;As you can see, I use the keyword "&lt;span style="background-color: rgb(255, 255, 204);"&gt;Optional&lt;/span&gt;" for the parameters and I use "&lt;span style="background-color: rgb(255, 255, 204);"&gt;%&lt;/span&gt;" as default value.&lt;br /&gt;In T-Sql language "%" stands for "all". If there are no parameters passed, the code reads "all" CountryRegionCode records and "all" Name records.&lt;br /&gt;&lt;br /&gt;Another interesting thing is the use of the keyword "&lt;span style="background-color: rgb(255, 255, 204);"&gt;like&lt;/span&gt;" and the use of "%" &lt;span style="background-color: rgb(255, 255, 204);"&gt;at the end&lt;/span&gt; of the parameters in the sqlStatement string ("like 'Name%'" and "like 'CountryRegionCode%'").&lt;br /&gt;&lt;br /&gt;In this example I can catch all records with the Name that &lt;span style="background-color: rgb(255, 255, 204);"&gt;starts&lt;/span&gt; with the parameter passed: all records with "Name%" starts with "I%" (Italy, Ireland, Iceland...) (ok I know, it's not easy for me to explain in eng... I'm sorry!)&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;sqlStatement = "SELECT * FROM Person.CountryRegion where CountryRegionCode like '" &amp;amp; CountryRegionCode &amp;amp; "%' and Name like '" &amp;amp; Name &amp;amp; "%'"&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;a target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_hQSUKxnw5LE/ScDGr2iv-jI/AAAAAAAAAFw/F9F76J6hVyU/s1600-h/filteredResults.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 206px;" src="http://1.bp.blogspot.com/_hQSUKxnw5LE/ScDGr2iv-jI/AAAAAAAAAFw/F9F76J6hVyU/s320/filteredResults.gif" alt="" id="BLOGGER_PHOTO_ID_5314466016975125042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;When our object is ready and connected with a GridView through the "&lt;span style="background-color: rgb(255, 255, 204);"&gt;DataSource&lt;/span&gt;" property, we have to use the "&lt;span style="background-color: rgb(255, 255, 204);"&gt;Databind&lt;/span&gt;" property to associate the data with the GridView.&lt;br /&gt;&lt;br /&gt;In the &lt;span style="background-color: rgb(255, 255, 204);"&gt;Page_Load&lt;/span&gt; event, there are no parameters passed to the DataTable object (in fact the two TextBox values are empty ---&gt; "")&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load&lt;br /&gt;&lt;br /&gt;      If Not IsPostBack Then&lt;br /&gt;          GetGwCountryRegion()&lt;br /&gt;      End If&lt;br /&gt;&lt;br /&gt;  End Sub&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;But each time that we write something in the TextBox Name or CountryRegionCode and click on "&lt;span style="background-color: rgb(255, 255, 204);"&gt;Filter&lt;/span&gt;", the DataTable recives parameters and use them for filtering.&lt;br /&gt;&lt;br /&gt;That's all!&lt;br /&gt;&lt;br /&gt;You can download this my little example &lt;a target="_blank" href="http://www.box.net/shared/k7nk6uj7z3"&gt;here&lt;/a&gt;.&lt;br /&gt;You can download and install AdventureWorksDB.msi database &lt;a target="_blank" href="http://www.codeplex.com/MSFTDBProdSamples/Release/ProjectReleases.aspx?ReleaseId=4004"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Please remember to change in the web.config file, the two values "Data Source=&lt;span style="background-color: rgb(255, 255, 204);"&gt;pc01&lt;/span&gt;;" with&lt;br /&gt;your sqlserver instance name. (probably "&lt;em&gt;computername&lt;/em&gt;" with Sql2005/2008, but if you are using SqlExpress edition your instance name is "&lt;em&gt;computername&lt;/em&gt;\SQLExpress")&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-353980473020841634?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/353980473020841634/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=353980473020841634' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/353980473020841634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/353980473020841634'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2009/03/custom-filter.html' title='Custom Filter'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_hQSUKxnw5LE/ScDGr2iv-jI/AAAAAAAAAFw/F9F76J6hVyU/s72-c/filteredResults.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-6971816783535939070</id><published>2009-03-13T12:40:00.006+01:00</published><updated>2009-03-13T13:08:17.059+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IE7'/><title type='text'>IE7 vs ThisBlog (fixed)</title><content type='html'>&lt;span style="background-color: rgb(255, 255, 204);"&gt;Explorer 7(fixed):&lt;br /&gt;&lt;a target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_hQSUKxnw5LE/SbpG3RXLLnI/AAAAAAAAAFo/RW13QPmf-p8/s1600-h/ie7_fixed.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 22px;" src="http://1.bp.blogspot.com/_hQSUKxnw5LE/SbpG3RXLLnI/AAAAAAAAAFo/RW13QPmf-p8/s320/ie7_fixed.jpg" alt="" id="BLOGGER_PHOTO_ID_5312636625804275314" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;... I have upgraded the css! :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-6971816783535939070?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/6971816783535939070/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=6971816783535939070' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/6971816783535939070'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/6971816783535939070'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2009/03/ie7-vs-thisblog-fixed.html' title='IE7 vs ThisBlog (fixed)'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_hQSUKxnw5LE/SbpG3RXLLnI/AAAAAAAAAFo/RW13QPmf-p8/s72-c/ie7_fixed.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-149534033158952878</id><published>2009-03-13T11:31:00.012+01:00</published><updated>2009-03-13T11:53:10.319+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='IE7'/><title type='text'>IE7 vs ThisBlog</title><content type='html'>Take a look...&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color: rgb(255, 255, 204);"&gt;Firefox:&lt;/span&gt;&lt;br /&gt;&lt;a target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_hQSUKxnw5LE/Sbo3waanqHI/AAAAAAAAAFQ/mIqXwoluZK4/s1600-h/ff.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 25px;" src="http://1.bp.blogspot.com/_hQSUKxnw5LE/Sbo3waanqHI/AAAAAAAAAFQ/mIqXwoluZK4/s320/ff.jpg" alt="" id="BLOGGER_PHOTO_ID_5312620015301142642" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="background-color: rgb(255, 255, 204);"&gt;Safari:&lt;/span&gt;&lt;br /&gt;&lt;a target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_hQSUKxnw5LE/Sbo34CwBNrI/AAAAAAAAAFY/TNUKklbwNiI/s1600-h/sa.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 22px;" src="http://2.bp.blogspot.com/_hQSUKxnw5LE/Sbo34CwBNrI/AAAAAAAAAFY/TNUKklbwNiI/s320/sa.jpg" alt="" id="BLOGGER_PHOTO_ID_5312620146387400370" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="background-color: rgb(255, 255, 204);"&gt;Explorer 7:&lt;/span&gt;&lt;br /&gt;&lt;a target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_hQSUKxnw5LE/Sbo392DmmaI/AAAAAAAAAFg/NiLLRLSdWLU/s1600-h/ie7.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 22px;" src="http://2.bp.blogspot.com/_hQSUKxnw5LE/Sbo392DmmaI/AAAAAAAAAFg/NiLLRLSdWLU/s320/ie7.jpg" alt="" id="BLOGGER_PHOTO_ID_5312620246059096482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;... ok, I'll try to fix it or maybe not! :(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-149534033158952878?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/149534033158952878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=149534033158952878' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/149534033158952878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/149534033158952878'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2009/03/ie7-vs-thisblog.html' title='IE7 vs ThisBlog'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_hQSUKxnw5LE/Sbo3waanqHI/AAAAAAAAAFQ/mIqXwoluZK4/s72-c/ff.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-1620318279696416978</id><published>2009-02-19T10:05:00.011+01:00</published><updated>2009-02-19T15:05:01.085+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GridView'/><title type='text'>GridLines style in Gridview</title><content type='html'>A fast way to change the style of the &lt;span style="background-color: rgb(255, 255, 204);"&gt;gridlines&lt;/span&gt; in a gridview:&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Protected Sub gwMyGw_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles gwMyGw.PreRender&lt;br /&gt;&lt;br /&gt;     'PreRender event!&lt;br /&gt;     Dim tblStyle As New TableItemStyle()&lt;br /&gt;     tblStyle.BorderColor = Drawing.Color.White&lt;br /&gt;     tblStyle.BorderWidth = "2"&lt;br /&gt;&lt;br /&gt;     Dim row As TableRow&lt;br /&gt;     For Each row In Me.gwMyGw.Rows&lt;br /&gt;         Dim cel As TableCell&lt;br /&gt;         For Each cel In row.Cells&lt;br /&gt;             cel.ApplyStyle(tblStyle)&lt;br /&gt;         Next&lt;br /&gt;     Next&lt;br /&gt;&lt;br /&gt; End Sub&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_hQSUKxnw5LE/SZ1mzLwuqtI/AAAAAAAAAEw/Y4UO7Zx_eLA/s1600-h/style.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 199px; height: 129px;" src="http://2.bp.blogspot.com/_hQSUKxnw5LE/SZ1mzLwuqtI/AAAAAAAAAEw/Y4UO7Zx_eLA/s400/style.jpg" alt="" id="BLOGGER_PHOTO_ID_5304508965628848850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enjoy !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-1620318279696416978?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/1620318279696416978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=1620318279696416978' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/1620318279696416978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/1620318279696416978'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2009/02/gridlines-style-in-gridview.html' title='GridLines style in Gridview'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_hQSUKxnw5LE/SZ1mzLwuqtI/AAAAAAAAAEw/Y4UO7Zx_eLA/s72-c/style.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-7013831329838072199</id><published>2008-11-29T10:48:00.010+01:00</published><updated>2008-11-29T13:34:27.887+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio 2008'/><title type='text'>Another bug in Visual Studio 2008 ?</title><content type='html'>I'm using &lt;span style="background-color: rgb(255, 255, 204);"&gt;VS 2008 with SP1&lt;/span&gt;...&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_hQSUKxnw5LE/STERHvp38UI/AAAAAAAAADI/vNyhQRUZuRc/s1600-h/vs_1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 153px;" src="http://1.bp.blogspot.com/_hQSUKxnw5LE/STERHvp38UI/AAAAAAAAADI/vNyhQRUZuRc/s320/vs_1.jpg" alt="" id="BLOGGER_PHOTO_ID_5274015463376417090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;For many, VS2008 is the best &lt;span style="background-color: rgb(255, 255, 204);"&gt;IDE&lt;/span&gt; for a programmers, but sometimes...&lt;br /&gt;&lt;br /&gt;I was working with a GridView (previous post) and I had to change the name of a LinkButton from &lt;span style="background-color: rgb(255, 255, 204);"&gt;"Delete" &lt;/span&gt;to &lt;span style="background-color: rgb(255, 255, 204);"&gt;"Eliminate"&lt;/span&gt; a simple operation you could say... I also thought!&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_hQSUKxnw5LE/STERyPTHUUI/AAAAAAAAADQ/0HzdyL-4u1s/s1600-h/2_gw.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 207px; height: 61px;" src="http://3.bp.blogspot.com/_hQSUKxnw5LE/STERyPTHUUI/AAAAAAAAADQ/0HzdyL-4u1s/s320/2_gw.jpg" alt="" id="BLOGGER_PHOTO_ID_5274016193425396034" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Unfortunately is not maintained the new "Text" property!&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_hQSUKxnw5LE/STESOLrcaII/AAAAAAAAADY/SN3eQK7Z-2I/s1600-h/1_gw.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 125px; height: 155px;" src="http://4.bp.blogspot.com/_hQSUKxnw5LE/STESOLrcaII/AAAAAAAAADY/SN3eQK7Z-2I/s320/1_gw.jpg" alt="" id="BLOGGER_PHOTO_ID_5274016673490036866" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This problem does not exist with normal &lt;span style="background-color: rgb(255, 255, 204);"&gt;"Button"&lt;/span&gt;, the property "Text" seems to work with this control and with the same conditions...&lt;br /&gt;&lt;br /&gt;To perform the change, we need to go to the &lt;span style="background-color: rgb(255, 255, 204);"&gt;html source&lt;/span&gt;...&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_hQSUKxnw5LE/STESr_pha2I/AAAAAAAAADg/gPTtbHJlAmk/s1600-h/4_gw.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 34px;" src="http://4.bp.blogspot.com/_hQSUKxnw5LE/STESr_pha2I/AAAAAAAAADg/gPTtbHJlAmk/s320/4_gw.jpg" alt="" id="BLOGGER_PHOTO_ID_5274017185656826722" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-7013831329838072199?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/7013831329838072199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=7013831329838072199' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/7013831329838072199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/7013831329838072199'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2008/11/another-bug-on-visual-studio-2008.html' title='Another bug in Visual Studio 2008 ?'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_hQSUKxnw5LE/STERHvp38UI/AAAAAAAAADI/vNyhQRUZuRc/s72-c/vs_1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-3503120092996510686</id><published>2008-11-28T22:10:00.014+01:00</published><updated>2009-03-13T20:27:42.109+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ajax'/><category scheme='http://www.blogger.com/atom/ns#' term='GridView'/><title type='text'>How to... use an Ajax ConfirmExtender in a GridView</title><content type='html'>A typical case to use an ajax-confirmbutton within a gridview is to delete a row on DB, let's take a look...&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_hQSUKxnw5LE/STBlw_oxH4I/AAAAAAAAACY/tN69AJxMah8/s1600-h/1_delete.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 201px; height: 103px;" src="http://3.bp.blogspot.com/_hQSUKxnw5LE/STBlw_oxH4I/AAAAAAAAACY/tN69AJxMah8/s320/1_delete.jpg" alt="" id="BLOGGER_PHOTO_ID_5273827056041402242" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;So, in our gridview, we have to create an &lt;span style="background-color: rgb(255, 255, 204);"&gt;"ItemTemplate"&lt;/span&gt;, then add a LinkButton and the ajax ConfirmButtonExtender.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_hQSUKxnw5LE/STBmMWrOOLI/AAAAAAAAACg/bC6yiutGles/s1600-h/3_iTemplate.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 264px; height: 121px;" src="http://2.bp.blogspot.com/_hQSUKxnw5LE/STBmMWrOOLI/AAAAAAAAACg/bC6yiutGles/s320/3_iTemplate.jpg" alt="" id="BLOGGER_PHOTO_ID_5273827526082181298" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Set the property of our Extender like &lt;span style="background-color: rgb(255, 255, 204);"&gt;"TargetContolId"&lt;/span&gt; (= the LinkButton ID) and the &lt;span style="background-color: rgb(255, 255, 204);"&gt;"Confirm Text"&lt;/span&gt; (= Are You sure, continue?).&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_hQSUKxnw5LE/STBngJmmdGI/AAAAAAAAADA/M3UKdWJK7wk/s1600-h/3_iTemplate_2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 141px;" src="http://1.bp.blogspot.com/_hQSUKxnw5LE/STBngJmmdGI/AAAAAAAAADA/M3UKdWJK7wk/s320/3_iTemplate_2.jpg" alt="" id="BLOGGER_PHOTO_ID_5273828965682148450" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;In this way we have connected the extender with the LinkButton !&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_hQSUKxnw5LE/STBmeXrhxPI/AAAAAAAAACo/3QVE48FZcT4/s1600-h/2_confirmMess+copia.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 286px; height: 202px;" src="http://1.bp.blogspot.com/_hQSUKxnw5LE/STBmeXrhxPI/AAAAAAAAACo/3QVE48FZcT4/s320/2_confirmMess+copia.jpg" alt="" id="BLOGGER_PHOTO_ID_5273827835589543154" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Now we must connect the LinkButton with the data from the source (DataTable-method or a Control DataSource) in particular with an unic &lt;span style="background-color: rgb(255, 255, 204);"&gt;"row-ID"&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_hQSUKxnw5LE/STBm7x_C12I/AAAAAAAAACw/Jf8z-kT8pyk/s1600-h/3_iTemplate_3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 242px; height: 105px;" src="http://4.bp.blogspot.com/_hQSUKxnw5LE/STBm7x_C12I/AAAAAAAAACw/Jf8z-kT8pyk/s320/3_iTemplate_3.jpg" alt="" id="BLOGGER_PHOTO_ID_5273828340866930530" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_hQSUKxnw5LE/STBnEdwgsGI/AAAAAAAAAC4/2LnHWECCi14/s1600-h/3_iTemplate_4.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 199px;" src="http://4.bp.blogspot.com/_hQSUKxnw5LE/STBnEdwgsGI/AAAAAAAAAC4/2LnHWECCi14/s320/3_iTemplate_4.jpg" alt="" id="BLOGGER_PHOTO_ID_5273828490056085602" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Then go to Click-Event of the LinkButton to add the code to delete the row on DB...&lt;br /&gt;something like:&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs)&lt;br /&gt;       'delete after Ajax-ConfirmButtonExtender&lt;br /&gt;       Dim lb As LinkButton = sender&lt;br /&gt;       Dim objDel As New clSessionTest(("ConnectionString"))&lt;br /&gt;       objDel.EliTempTest(lb.CommandArgument)&lt;br /&gt;       objDel = Nothing&lt;br /&gt;End Sub&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-3503120092996510686?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/3503120092996510686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=3503120092996510686' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/3503120092996510686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/3503120092996510686'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2008/11/how-to-use-ajax-confirmbuttonextender.html' title='How to... use an Ajax ConfirmExtender in a GridView'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_hQSUKxnw5LE/STBlw_oxH4I/AAAAAAAAACY/tN69AJxMah8/s72-c/1_delete.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-4567319182083145739</id><published>2008-11-03T22:15:00.058+01:00</published><updated>2008-11-07T19:57:02.362+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DropDownList'/><title type='text'>How to… populate a dropdownlist</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;1. creare una vista sulla tabella da cui estrarre i dati (dal db AdventureWorks);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;2. creare un dataset sulla vista;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;3. creare un metodo in una classe per l'estrazione dei dati;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;4. utilizzare il metodo e collegarlo alla DropDownList.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;1.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;Tramite Management Studio, aprire il db AdventureWorks. Visualizzare l'elenco delle "Viste" quindi crearne una di nuova sulla tabella Contact (Person).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;I campi da fleggare sono: "ContactID, FirstName, LastName, Title".&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="font-size:85%;"&gt;Affinche' il risultato finale sia del tipo: "Mr. Gustavo Achong" suggerisco di editare il codice sql in questo modo:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre name="code" class="sql"&gt;&lt;br /&gt;SELECT ContactID, FirstName, LastName, Title, Title + N' ' + FirstName + N' ' + LastName AS [Full]&lt;br /&gt;FROM Person.Contact&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-family: georgia;" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_hQSUKxnw5LE/SQ9vGLBkJwI/AAAAAAAAABA/6Ox_jh6sr8g/s1600-h/2.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 141px;" src="http://2.bp.blogspot.com/_hQSUKxnw5LE/SQ9vGLBkJwI/AAAAAAAAABA/6Ox_jh6sr8g/s320/2.jpg" alt="" id="BLOGGER_PHOTO_ID_5264548641248651010" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Salvare la Vista.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;2.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:verdana;font-size:85%;"  &gt;Creare un DataSet e con la procedura guidata aggiungere un TableAdapter e collegare la vista appena creata&lt;/span&gt;&lt;span style=";font-family:georgia;font-size:85%;"  &gt; con tutti i campi della vista (vw_get_persons).&lt;/span&gt;&lt;br /&gt;&lt;a style="font-family: georgia;" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_hQSUKxnw5LE/SQ90xVWaKcI/AAAAAAAAABI/EvIKOTTDXDg/s1600-h/5.jpg"&gt;&lt;img style="cursor: pointer; width: 320px; height: 262px;" src="http://1.bp.blogspot.com/_hQSUKxnw5LE/SQ90xVWaKcI/AAAAAAAAABI/EvIKOTTDXDg/s320/5.jpg" alt="" id="BLOGGER_PHOTO_ID_5264554880312945090" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:georgia;font-size:85%;"  &gt;Qui la procedura visualizza la vista...&lt;/span&gt;&lt;br /&gt;&lt;a style="font-family: georgia;" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_hQSUKxnw5LE/SQ91PSA5xxI/AAAAAAAAABY/dPPL1FSHHcU/s1600-h/6.jpg"&gt;&lt;img style="cursor: pointer; width: 200px; height: 147px;" src="http://4.bp.blogspot.com/_hQSUKxnw5LE/SQ91PSA5xxI/AAAAAAAAABY/dPPL1FSHHcU/s200/6.jpg" alt="" id="BLOGGER_PHOTO_ID_5264555394813511442" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:georgia;font-size:85%;"  &gt;3.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:georgia;font-size:85%;"  &gt;Creare un metodo in una classe:&lt;/span&gt;&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt;Public Function GetDllPersons() As DataSet1.VW_GET_PERSONSDataTable&lt;br /&gt;&lt;br /&gt;        Dim sqlStatement As String&lt;br /&gt;        Dim cnn As SqlConnection = Nothing&lt;br /&gt;        Dim cmd As SqlCommand = Nothing&lt;br /&gt;        Dim da As SqlDataAdapter = Nothing&lt;br /&gt;&lt;br /&gt;        Try&lt;br /&gt;            sqlStatement = "SELECT * FROM VW_GET_PERSONS"&lt;br /&gt;            cnn = New SqlConnection(Me._connectionString)&lt;br /&gt;            cmd = New SqlCommand(sqlStatement, cnn)&lt;br /&gt;            da = New SqlDataAdapter(cmd)&lt;br /&gt;&lt;br /&gt;            cnn.Open()&lt;br /&gt;&lt;br /&gt;            _ds.VW_GET_PERSONS.Rows.Clear()&lt;br /&gt;            da.Fill(_ds, "VW_GET_PERSONS")&lt;br /&gt;        Catch ex As Exception&lt;br /&gt;            'todo: code for errors!&lt;br /&gt;        Finally&lt;br /&gt;            GetDllPersons = _ds.VW_GET_PERSONS&lt;br /&gt;            If Not (cnn Is Nothing) Then&lt;br /&gt;                cnn.Close()&lt;br /&gt;                cnn.Dispose()&lt;br /&gt;                cnn = Nothing&lt;br /&gt;            End If&lt;br /&gt;            If Not (da Is Nothing) Then&lt;br /&gt;                da.Dispose()&lt;br /&gt;                da = Nothing&lt;br /&gt;            End If&lt;br /&gt;            If Not (cmd Is Nothing) Then&lt;br /&gt;                cmd.Dispose()&lt;br /&gt;                cmd = Nothing&lt;br /&gt;            End If&lt;br /&gt;        End Try&lt;br /&gt;&lt;br /&gt;    End Function&lt;br /&gt;&lt;/pre&gt;&lt;span style=";font-family:georgia;font-size:85%;"  &gt;4.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:georgia;font-size:85%;"  &gt;Nella pagina .aspx entrare nell'evento Page_Load e aggiungere questo codice:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre name="code" class="vb.net"&gt;&lt;br /&gt; If Not IsPostBack Then 'essenziale per evitare di caricare sempre gli stessi valori&lt;br /&gt;   Dim objGetdllPersons As Class1 = Nothing&lt;br /&gt;   objGetdllPersons = New Class1("Data Source=wolfdale;Initial Catalog=AdventureWorks; Integrated Security=True")&lt;br /&gt;   Me.ddl_Persons.DataSource = objGetdllPersons.GetDllPersons()&lt;br /&gt;   Me.ddl_Persons.DataTextField = "Full"&lt;br /&gt;   Me.ddl_Persons.DataValueField = "ContactID"&lt;br /&gt;   Me.ddl_Persons.DataBind()&lt;br /&gt; End If&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:georgia;font-size:85%;"  &gt;Quindi eseguire.&lt;/span&gt;&lt;br /&gt;&lt;a style="font-family: georgia;" target="_blank" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_hQSUKxnw5LE/SQ91w8wNDBI/AAAAAAAAABg/dN2kZuVu1Uc/s1600-h/7.jpg"&gt;&lt;img style="cursor: pointer; width: 200px; height: 160px;" src="http://2.bp.blogspot.com/_hQSUKxnw5LE/SQ91w8wNDBI/AAAAAAAAABg/dN2kZuVu1Uc/s200/7.jpg" alt="" id="BLOGGER_PHOTO_ID_5264555973221878802" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-4567319182083145739?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/4567319182083145739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=4567319182083145739' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/4567319182083145739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/4567319182083145739'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2008/11/base-popolare-una-dropdownlist.html' title='How to… populate a dropdownlist'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_hQSUKxnw5LE/SQ9vGLBkJwI/AAAAAAAAABA/6Ox_jh6sr8g/s72-c/2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3796463611241572824.post-5659905338043037913</id><published>2008-11-02T09:29:00.002+01:00</published><updated>2008-11-04T15:31:47.599+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hello World'/><title type='text'>Hello World</title><content type='html'>&lt;pre name="code" class="vb"&gt;&lt;br /&gt;Dim Greeting As String = "Hello World"&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3796463611241572824-5659905338043037913?l=aspnetview.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://aspnetview.blogspot.com/feeds/5659905338043037913/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3796463611241572824&amp;postID=5659905338043037913' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/5659905338043037913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3796463611241572824/posts/default/5659905338043037913'/><link rel='alternate' type='text/html' href='http://aspnetview.blogspot.com/2008/11/hello-world.html' title='Hello World'/><author><name>Michele</name><uri>http://www.blogger.com/profile/03863998858003085011</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://1.bp.blogspot.com/_hQSUKxnw5LE/SrSdSf61acI/AAAAAAAAAGo/4iLiu7Varo4/S220/me3.jpg'/></author><thr:total>0</thr:total></entry></feed>
