<?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-4743038842277164262</id><updated>2011-07-07T15:38:23.455-07:00</updated><title type='text'>software://high.impact</title><subtitle type='html'>Musings from the Senior Developer at Maiden Softare</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://davidmaiden.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4743038842277164262/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://davidmaiden.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>DavidMaiden</name><uri>http://www.blogger.com/profile/15952696254971275313</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4743038842277164262.post-7303036128052939987</id><published>2010-02-04T14:16:00.000-08:00</published><updated>2010-02-04T14:30:41.643-08:00</updated><title type='text'>I don't usually DO books!</title><content type='html'>With so much new emerging technology over the last few months I thought I would invest in some new reading material to try and get to grips with some of this new technology. I have to confess I'm not a great reader, I tend to dip in and out of books to get the information I need and then put it down - I find that's the way I learn best. However, I have purchased one book that I am absolutely fascinated by and comparitively speaking.............. I can't put it down! So, what is this read that has me so gripped? It's a book by Bob Walsh called "The Web Startup Success Guide" (ISBN 978-1-4302-1985-9).&lt;br /&gt;&lt;br /&gt;I would recommend this book to anyone starting, about to start or even running in its infancy a web or software company. It's not that it has any definitive answers but it has certainly made me think, look at and re-assess some aspects of the direction I am trying to take my company &lt;a href="http://www.maidensoftware.com/"&gt;Maiden Software&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4743038842277164262-7303036128052939987?l=davidmaiden.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidmaiden.blogspot.com/feeds/7303036128052939987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://davidmaiden.blogspot.com/2010/02/i-dont-usually-do-books.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4743038842277164262/posts/default/7303036128052939987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4743038842277164262/posts/default/7303036128052939987'/><link rel='alternate' type='text/html' href='http://davidmaiden.blogspot.com/2010/02/i-dont-usually-do-books.html' title='I don&apos;t usually DO books!'/><author><name>DavidMaiden</name><uri>http://www.blogger.com/profile/15952696254971275313</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4743038842277164262.post-971464478883400126</id><published>2010-02-02T05:22:00.000-08:00</published><updated>2010-02-02T05:32:53.592-08:00</updated><title type='text'>XPath 1.0 Query and ends-with</title><content type='html'>&lt;span style="font-family:verdana;"&gt;I was trying to find a set of nodes in an xml document that ended in "id" (personid, addressid etc). Upon discovering that version 1.0 of XPath does not support the ends-with expression that is supported in version 2.0 it was time for a work around!&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;After much research on the web I found that the only real way to do this was to use the substring function thus: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;xmldoc.SelectNodes("//*[substring(name(), string-length(name()) - 1) = 'id']");&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;This delivers back a node set that was exactly what I wanted!&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4743038842277164262-971464478883400126?l=davidmaiden.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidmaiden.blogspot.com/feeds/971464478883400126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://davidmaiden.blogspot.com/2010/02/xpath-10-query-and-ends-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4743038842277164262/posts/default/971464478883400126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4743038842277164262/posts/default/971464478883400126'/><link rel='alternate' type='text/html' href='http://davidmaiden.blogspot.com/2010/02/xpath-10-query-and-ends-with.html' title='XPath 1.0 Query and ends-with'/><author><name>DavidMaiden</name><uri>http://www.blogger.com/profile/15952696254971275313</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4743038842277164262.post-4350138561647230671</id><published>2010-01-31T15:21:00.000-08:00</published><updated>2010-01-31T15:38:49.248-08:00</updated><title type='text'>Always learning</title><content type='html'>Having worked for many years with ASP.NET GridViews I have never noticed before that when you use a ButtonField (&lt;asp:buttonfield text="Process"&gt; for instance) as a column in the GridView, when handling the event in the code-behind in the event created for this (mygrid_RowCommand(object sender, GridViewCommandArgument e) for instance) that e.CommandArgument is the offset of the row ON THAT PAGE!!! So if the gridview is paged at 20 per page, the command argument will be 0-19. So, when you are trying to recover the DataKeys for a paged gridview, ASP.NET has worked it all out for you so there is no need for code like:&lt;br /&gt;&lt;br /&gt;gv.DataKeys[e.CommandArgument + (gv.PageIndex * gv.PageCount)]&lt;br /&gt;&lt;br /&gt;all you really need is:&lt;br /&gt;&lt;br /&gt;gv.DataKeys[int.Parse(e.Command.ToString())] - and job done!!!&lt;br /&gt;&lt;br /&gt;As I say, always learning something!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4743038842277164262-4350138561647230671?l=davidmaiden.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://davidmaiden.blogspot.com/feeds/4350138561647230671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://davidmaiden.blogspot.com/2010/01/always-learning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4743038842277164262/posts/default/4350138561647230671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4743038842277164262/posts/default/4350138561647230671'/><link rel='alternate' type='text/html' href='http://davidmaiden.blogspot.com/2010/01/always-learning.html' title='Always learning'/><author><name>DavidMaiden</name><uri>http://www.blogger.com/profile/15952696254971275313</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
