<?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'><id>tag:blogger.com,1999:blog-7349038</id><updated>2009-10-16T19:05:23.094-04:00</updated><title type='text'>dwight rau</title><subtitle type='html'>microsoft c# .net code snippets</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default?start-index=26&amp;max-results=25'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>53</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7349038.post-4081956322318506557</id><published>2009-09-24T13:13:00.002-04:00</published><updated>2009-09-24T13:15:12.188-04:00</updated><title type='text'>SQL Server select data from CSV as if it were a table</title><content type='html'>I can select without using DTS or a linked server.&lt;br /&gt;&lt;br /&gt;SELECT * FROM OPENROWSET&lt;br /&gt;('MICROSOFT.JET.OLEDB.4.0','Text;Database=C:\Folder\;',&lt;br /&gt;'SELECT * FROM [Report.csv]') MyAlias&lt;br /&gt;&lt;br /&gt;You may need these permissions&lt;br /&gt;sp_configure 'Ad Hoc Distributed Queries', 1&lt;br /&gt;reconfigure&lt;br /&gt;&lt;br /&gt;You may have problems on X64&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-4081956322318506557?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/4081956322318506557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=4081956322318506557' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/4081956322318506557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/4081956322318506557'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2009/09/sql-server-select-data-from-csv-as-if.html' title='SQL Server select data from CSV as if it were a table'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-542938855378939330</id><published>2008-10-09T17:02:00.000-04:00</published><updated>2008-10-09T17:07:52.273-04:00</updated><title type='text'>Linq: Split string array and convert into integer using a converter / lambda and then selecting where in or contains from that list</title><content type='html'>// This will split an CSV string array into an array of integers&lt;br /&gt;   int[] intArr = Array.ConvertAll( priorityCsv.Split(','), n =&gt; Convert.ToInt32(n) );&lt;br /&gt;&lt;br /&gt;//This will select the count of values where there are in or contain the values in the array&lt;br /&gt;return (from v in this.Context.VACompanyErrors where intArr.Contains(v.Priority) select v).Count();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-542938855378939330?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/542938855378939330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=542938855378939330' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/542938855378939330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/542938855378939330'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2008/10/linq-split-string-array-and-convert.html' title='Linq: Split string array and convert into integer using a converter / lambda and then selecting where in or contains from that list'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-8573457124963784606</id><published>2008-05-20T16:44:00.001-04:00</published><updated>2008-05-20T16:44:42.758-04:00</updated><title type='text'>fill text box with nullable type or empty</title><content type='html'>fill text box with nullable type or empty&lt;br /&gt;  txtExpectedCloseDateTextBox.Text = olo.ExpectedCloseDate.ToString() ?? string.Empty;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-8573457124963784606?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/8573457124963784606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=8573457124963784606' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/8573457124963784606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/8573457124963784606'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2008/05/fill-text-box-with-nullable-type-or.html' title='fill text box with nullable type or empty'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-1382575034504551939</id><published>2008-04-25T15:17:00.000-04:00</published><updated>2008-04-25T15:18:23.672-04:00</updated><title type='text'>iterate</title><content type='html'>list.ForEach(delegate(MyType x) { x.Property1.Replace("AAAA", "").Replace("BBBB", ""); });&lt;br /&gt;    OneType one = OneTypeList.Find(delegate(OneType ooo) { return oood.Value == "findstring; });&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-1382575034504551939?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/1382575034504551939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=1382575034504551939' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/1382575034504551939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/1382575034504551939'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2008/04/iterate.html' title='iterate'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-396655125947514526</id><published>2008-02-13T02:34:00.004-05:00</published><updated>2008-02-13T12:34:20.415-05:00</updated><title type='text'>table with infinite dynamically expandable columns veritcal rows propertes attributes eav otlt</title><content type='html'>If you need to have a table with attributes(columns) that need to be added dynamically, consider going vertically.  There are various methods to add attributes to an entity by adding the attributes as rows.&lt;br /&gt;&lt;br /&gt;you may be looking for these (Google them):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Entity-Attribute-Value model&lt;br /&gt;“OTLT” (One True Lookup Table)&lt;br /&gt;vertical model&lt;br /&gt;vertical database&lt;br /&gt;row modeling&lt;br /&gt;attribute value system&lt;br /&gt;sql_variant&lt;/blockquote&gt;&lt;br /&gt;Think deeply before you use any of these. Be careful you don't end up with a mess.&lt;br /&gt;Resources:&lt;br /&gt;&lt;a href="http://www.blogger.com/http//weblogs.sqlteam.com/davidm/articles/12117.aspx"&gt;&lt;/a&gt;&lt;a href="http://weblogs.sqlteam.com/davidm/articles/12117.aspx"&gt;&lt;/a&gt;&lt;blockquote&gt;&lt;a href="http://weblogs.sqlteam.com/davidm/articles/12117.aspx"&gt;Dave’s guide to the EAV&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://tonyandrews.blogspot.com/2004/10/otlt-and-eav-two-big-design-mistakes.html"&gt;OTLT and EAV: the two big design mistakes all beginners make&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://weblogs.sqlteam.com/mladenp/archive/2006/10/14/14032.aspx"&gt;Entity-Attribute-Value (EAV) model with SQL Server 2005 xml datatype&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ycmi.med.yale.edu/nadkarni/Introduction%20to%20EAV%20systems.htm"&gt;An Introduction to Entity-Attribute-Value Design for Generic Clinical Study Data Management Systems&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Entity-Attribute-Value_model"&gt;Entity-Attribute-Value model&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.unixspace.com/context/databases.html"&gt;Explanation of many database models including EAV&lt;/a&gt;&lt;br /&gt;&lt;/blockquote&gt;         &lt;br /&gt;-Dwight&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-396655125947514526?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/396655125947514526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=396655125947514526' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/396655125947514526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/396655125947514526'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2008/02/table-with-infinite-dynamically.html' title='table with infinite dynamically expandable columns veritcal rows propertes attributes eav otlt'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-7111515197500712131</id><published>2008-02-13T02:09:00.000-05:00</published><updated>2008-02-13T02:14:22.785-05:00</updated><title type='text'>Generate or create XSD Schema from Database Table in sql server 2005</title><content type='html'>create table Person&lt;br /&gt;(&lt;br /&gt;Age int not NULL check( Age &gt; 0) ,&lt;br /&gt;Height numeric(10,2) not NULL check( Height &gt; 5),&lt;br /&gt;Gender varchar(5) not null check( Gender in ('M', 'F', 'O')),&lt;br /&gt;BirthDate datetime null,&lt;br /&gt;)&lt;br /&gt;DECLARE @schema xml&lt;br /&gt;SET @schema = (SELECT * FROM Person FOR XML AUTO, ELEMENTS, XMLSCHEMA('PersonSchema'))&lt;br /&gt;select @schema&lt;br /&gt;OUTPUT:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_PjL_iXD2WIc/R7KYjWJPxII/AAAAAAAAABo/2GnHnCrZUmg/s1600-h/schema1.png"&gt;&lt;img style="cursor: pointer;" src="http://bp0.blogger.com/_PjL_iXD2WIc/R7KYjWJPxII/AAAAAAAAABo/2GnHnCrZUmg/s400/schema1.png" alt="" id="BLOGGER_PHOTO_ID_5166359455554585730" 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/7349038-7111515197500712131?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/7111515197500712131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=7111515197500712131' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/7111515197500712131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/7111515197500712131'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2008/02/generate-or-create-xsd-schema-from.html' title='Generate or create XSD Schema from Database Table in sql server 2005'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_PjL_iXD2WIc/R7KYjWJPxII/AAAAAAAAABo/2GnHnCrZUmg/s72-c/schema1.png' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-8188460496809396675</id><published>2008-01-25T13:35:00.000-05:00</published><updated>2008-01-25T13:40:10.606-05:00</updated><title type='text'>identify system service 100% cpu svchost.exe</title><content type='html'>Which system service is causing svchost.exe to use 100% cpu value?&lt;br /&gt;&lt;br /&gt;First lookup the PID (process identifier) number in task manager that is causing the problem. You may have to tell task manager to add the column.&lt;br /&gt;&lt;br /&gt;This command will allow you to identify the problem service by showing what each svchost.exe PID is running.&lt;br /&gt;&lt;br /&gt;C:\&gt;tasklist /SVC /FI "IMAGENAME eq svchost.exe"&lt;br /&gt;&lt;br /&gt;In vista you can right your problem process click and choose "go to service".&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-8188460496809396675?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/8188460496809396675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=8188460496809396675' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/8188460496809396675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/8188460496809396675'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2008/01/identify-system-service-100-cpu.html' title='identify system service 100% cpu svchost.exe'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-3174306589301946784</id><published>2007-12-28T12:56:00.000-05:00</published><updated>2007-12-28T12:57:25.580-05:00</updated><title type='text'>Pattern Links</title><content type='html'>dofactory design patterns&lt;br /&gt;http://www.dofactory.com/Patterns/Patterns.aspx&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A short summary of the patterns in &lt;cite name="fowler-eaa"&gt;Patterns of Enterprise Application Architecture (P   of EAA)&lt;/cite&gt;.&lt;br /&gt;http://www.martinfowler.com/eaaCatalog/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-3174306589301946784?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/3174306589301946784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=3174306589301946784' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/3174306589301946784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/3174306589301946784'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2007/12/pattern-links.html' title='Pattern Links'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-3136696271207494878</id><published>2007-12-12T00:36:00.000-05:00</published><updated>2008-01-31T10:44:44.647-05:00</updated><title type='text'>WCF permission problem</title><content type='html'>In windows (likely to be vista) where you do not have acccess to register an http listener with WCF..&lt;br /&gt;&lt;br /&gt;"HTTP could not register URL http://+:8080/QuickReturns/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details)."&lt;br /&gt;&lt;br /&gt;{"Access is denied"}&lt;br /&gt;&lt;br /&gt;as admin run:&lt;br /&gt;netsh http add urlacl url=http://+:8080/ user=dwight&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-3136696271207494878?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/3136696271207494878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=3136696271207494878' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/3136696271207494878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/3136696271207494878'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2008/01/wcf-permission-problem.html' title='WCF permission problem'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-8311696721212593666</id><published>2007-10-12T00:07:00.000-04:00</published><updated>2007-10-12T00:10:43.660-04:00</updated><title type='text'>Web Parts with SQL Server 2005  instead of sql express for testing</title><content type='html'>try this:&lt;br /&gt;&lt;br /&gt;&lt;connectionstrings&gt;&lt;br /&gt;    &lt;remove name="LocalSqlServer"&gt;&lt;br /&gt;    &lt;add name="LocalSqlServer"&lt;br /&gt;        connectionString="data source=VRTSVR04;Initial Catalog=DemoPortal;User Id=sa2;Password=di902jkd89x88-1;"       &lt;br /&gt;         providerName="System.Data.SqlClient"/&gt;&lt;br /&gt;&lt;/connectionstrings&gt;&lt;br /&gt;&lt;br /&gt;keywords: connection string default  The entry 'LocalSqlServer' has already been added. aspnetdb&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-8311696721212593666?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/8311696721212593666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=8311696721212593666' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/8311696721212593666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/8311696721212593666'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2007/10/web-parts-with-sql-server-2005-instead.html' title='Web Parts with SQL Server 2005  instead of sql express for testing'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-869327937967107195</id><published>2007-10-05T01:36:00.000-04:00</published><updated>2007-10-05T01:37:49.757-04:00</updated><title type='text'>Generate XSD Schema From XML using inference</title><content type='html'>&lt;a href="http://dwightrau.com/inferxmlschema/default.aspx"&gt;Upload an xml file and we will return you the         schema as an XSD file. &lt;/a&gt;This is called Inferring the schema. This uses the .Net InferSchema         method of the XmlSchemaInference class. Create an XML file given an XSD.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-869327937967107195?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://dwightrau.com/inferxmlschema/default.aspx' title='Generate XSD Schema From XML using inference'/><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/869327937967107195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=869327937967107195' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/869327937967107195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/869327937967107195'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2007/10/generate-xsd-schema-from-xml-using.html' title='Generate XSD Schema From XML using inference'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-4606348115667403293</id><published>2007-08-15T11:31:00.000-04:00</published><updated>2007-08-15T11:33:40.094-04:00</updated><title type='text'>windows workflow custom activity values not persisting check results after exectution property System.Workflow.ComponentModel.Activity</title><content type='html'>If you are having trouble retrieving the results of a custom activity that inherits activity in windows workflow and your value is null or reset to the default, try a property to a static variable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-4606348115667403293?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/4606348115667403293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=4606348115667403293' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/4606348115667403293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/4606348115667403293'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2007/08/windows-workflow-custom-activity-values.html' title='windows workflow custom activity values not persisting check results after exectution property System.Workflow.ComponentModel.Activity'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-7516463883130122047</id><published>2007-06-29T21:17:00.000-04:00</published><updated>2007-07-02T10:20:26.957-04:00</updated><title type='text'>Extract columns from microsoft SqlProfileProvider</title><content type='html'>If you want to select data from the asp.net membership api database but you are having problems because the PropertyValuesString / PropertyNames / PropertyValuesBinary values are all delimited / separated by a colon but you want to but cant use a split function on it. Below is a solution. There are also UserId LastUpdatedDate columns.&lt;br /&gt;&lt;br /&gt;Step 1. Execute the sql from &lt;a href="http://logical4.com/files/profile_functions.txt"&gt;HERE&lt;/a&gt; to create some functions to extract your data.&lt;br /&gt;Step 2. Create a view like the example below&lt;br /&gt;Step 3. (optional) index your view.&lt;br /&gt;&lt;br /&gt;create my_cusomers_vw view as&lt;br /&gt;SELECT&lt;br /&gt; dbo.fn_GetProfileElement('Phone',PropertyNames,PropertyValuesString) AS Company,&lt;br /&gt; dbo.fn_GetProfileElement('ZipCode',PropertyNames,PropertyValuesString) AS ZipCode,&lt;br /&gt; dbo.fn_GetProfileElement('State',PropertyNames,PropertyValuesString) AS State&lt;br /&gt;FROM dbo.aspnet_Profile&lt;br /&gt;GO&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select * from my_customers_vw&lt;br /&gt;&lt;br /&gt;--------------------------------------------&lt;br /&gt;&lt;br /&gt;fn_GetElement fn_GetProfileElement  FUNCTION&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-7516463883130122047?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/7516463883130122047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=7516463883130122047' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/7516463883130122047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/7516463883130122047'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2007/06/extract-columns-from-microsoft.html' title='Extract columns from microsoft SqlProfileProvider'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-3654751928580260663</id><published>2007-05-08T17:07:00.000-04:00</published><updated>2007-05-08T17:09:20.911-04:00</updated><title type='text'>UML Cheet Sheet</title><content type='html'>&lt;a href="http://logical4.com/files/umlcs1.pdf"&gt;Cheat Sheet 1&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://logical4.com/files/umlcs2.pdf"&gt;Cheat Sheet 2&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-3654751928580260663?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/3654751928580260663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=3654751928580260663' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/3654751928580260663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/3654751928580260663'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2007/05/uml-cheet-sheet.html' title='UML Cheet Sheet'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-3089484668575749167</id><published>2007-02-28T10:28:00.000-05:00</published><updated>2007-02-28T10:52:59.596-05:00</updated><title type='text'>Asp.net 2.0 Post Retrieve Send values from another page using PostBackUrl</title><content type='html'>&lt;pre class="code" id="ctl00_LibFrame_ctl22CSharp" space="preserve"&gt;Various techniques including Page.PreviousPage.FindControl, PreviousPage, Request.Form&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This is how you can post from one page to another&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms178140.aspx"&gt;How to: Post ASP.NET Web Pages to a Different Page &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is different ways you can read data posted from one page to another&lt;br /&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/6c3yckfw.aspx"&gt;How to: Pass Values Between ASP.NET Web Pages&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="code" id="ctl00_LibFrame_ctl22CSharp" space="preserve"&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre class="code" id="ctl00_LibFrame_ctl22CSharp" space="preserve"&gt;&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/7349038-3089484668575749167?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://msdn2.microsoft.com/en-us/library/ms178140.aspx' title='Asp.net 2.0 Post Retrieve Send values from another page using PostBackUrl'/><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/3089484668575749167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=3089484668575749167' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/3089484668575749167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/3089484668575749167'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2007/02/aspnet-20-post-retrieve-send-values.html' title='Asp.net 2.0 Post Retrieve Send values from another page using PostBackUrl'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-116875382324922165</id><published>2006-12-25T00:46:00.000-05:00</published><updated>2007-06-29T21:30:52.083-04:00</updated><title type='text'>C# Web Crawler for links</title><content type='html'>This code will crawl a web page and gather urls (hyperlinks) and their titles into collections and bind them to a datagrid. The code uses Regular Expressions (Regex), HttpWebRequest, WebRequest, WebResponse and more.&lt;br /&gt;&lt;br /&gt;View original source code &lt;a href="http://logical4.com/crawler.txt"&gt;here&lt;br /&gt;&lt;/a&gt;&lt;div class="code"&gt;&lt;a href="http://logical4.com/crawler.txt"&gt;&lt;br /&gt;&lt;/a&gt;&lt;span style="color:blue;"&gt;using &lt;/span&gt;&lt;span style="color:black;"&gt;System&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;using &lt;/span&gt;&lt;span style="color:black;"&gt;System.Collections.Generic&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;using &lt;/span&gt;&lt;span style="color:black;"&gt;System.ComponentModel&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;using &lt;/span&gt;&lt;span style="color:black;"&gt;System.Data&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;using &lt;/span&gt;&lt;span style="color:black;"&gt;System.Drawing&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;using &lt;/span&gt;&lt;span style="color:black;"&gt;System.Text&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;using &lt;/span&gt;&lt;span style="color:black;"&gt;System.Windows.Forms&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;using &lt;/span&gt;&lt;span style="color:black;"&gt;System.Text.RegularExpressions&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;using &lt;/span&gt;&lt;span style="color:black;"&gt;System.Collections.ObjectModel&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;using &lt;/span&gt;&lt;span style="color:black;"&gt;System.Net&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;&lt;br /&gt;namespace &lt;/span&gt;&lt;span style="color:black;"&gt;Regexer&lt;br /&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;public &lt;/span&gt;&lt;span style="color:black;"&gt;partial &lt;/span&gt;&lt;span style="color:blue;"&gt;class &lt;/span&gt;&lt;span style="color:black;"&gt;Form1 : Form&lt;br /&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;public &lt;/span&gt;&lt;span style="color:black;"&gt;Form1()&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;   InitializeComponent()&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;private string &lt;/span&gt;&lt;span style="color:black;"&gt;Fixx(&lt;/span&gt;&lt;span style="color:blue;"&gt;string &lt;/span&gt;&lt;span style="color:black;"&gt;x)&lt;br /&gt;{&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:blue;"&gt;return &lt;/span&gt;&lt;span style="color:black;"&gt;x.Replace(&lt;/span&gt;&lt;span style="color: rgb(128, 128, 128);"&gt;"""&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color: rgb(128, 128, 128);"&gt;@""""&lt;/span&gt;&lt;span style="color:black;"&gt;).Replace(&lt;/span&gt;&lt;span style="color: rgb(128, 128, 128);"&gt;"&amp;gt;"&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color: rgb(128, 128, 128);"&gt;"&amp;gt;"&lt;/span&gt;&lt;span style="color:black;"&gt;).Replace(&lt;/span&gt;&lt;span style="color: rgb(128, 128, 128);"&gt;"&amp;lt;"&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color: rgb(128, 128, 128);"&gt;"&amp;lt;"&lt;/span&gt;&lt;span style="color:black;"&gt;)&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;private void &lt;/span&gt;&lt;span style="color:black;"&gt;button1_Click(&lt;/span&gt;&lt;span style="color:blue;"&gt;object &lt;/span&gt;&lt;span style="color:black;"&gt;sender, EventArgs e)&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:darkgreen;"&gt;//string testData = ReadStream("http://www.google.com/search?as_q=test+results&amp;hl=en&amp;amp;num=100&amp;btnG=Google+Search", 9000);&lt;br /&gt;&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:blue;"&gt;string &lt;/span&gt;&lt;span style="color:black;"&gt;testData &lt;/span&gt;&lt;span style="color:blue;"&gt;= &lt;/span&gt;&lt;span style="color:black;"&gt;ReadStream(&lt;/span&gt;&lt;span style="color: rgb(128, 128, 128);"&gt;"http://del.icio.us/"&lt;/span&gt;&lt;span style="color:black;"&gt;, &lt;/span&gt;&lt;span style="color:maroon;"&gt;99000&lt;/span&gt;&lt;span style="color:black;"&gt;)&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:black;"&gt;Regex test &lt;/span&gt;&lt;span style="color:blue;"&gt;= new &lt;/span&gt;&lt;span style="color:black;"&gt;Regex(Fixx(&lt;/span&gt;&lt;span style="color: rgb(128, 128, 128);"&gt;@"&amp;lt;[aA][\s]+[^&amp;gt;]*?[hH][rR][eE][fF][\s]?=[\s\"\']+(.*?)[\"\']+.*?&amp;gt;([^&amp;lt;]+|.*?)?&amp;lt;\/[aA]&gt;"&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;/span&gt;&lt;span style="color:black;"&gt;))&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:black;"&gt;//The regex on the above line will be mangled, click the image below to see what it should be.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_PjL_iXD2WIc/RanKQk-fzXI/AAAAAAAAAAU/iUKQ0N1asqs/s1600-h/regex.PNG"&gt;&lt;img style="cursor: pointer;" src="http://bp0.blogger.com/_PjL_iXD2WIc/RanKQk-fzXI/AAAAAAAAAAU/iUKQ0N1asqs/s400/regex.PNG" alt="" id="BLOGGER_PHOTO_ID_5019765645833653618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;MatchCollection mc &lt;/span&gt;&lt;span style="color:blue;"&gt;= &lt;/span&gt;&lt;span style="color:black;"&gt;test.Matches(testData)&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:black;"&gt;Collection&amp;lt;UrlData&amp;gt; uColl &lt;/span&gt;&lt;span style="color:blue;"&gt;= new &lt;/span&gt;&lt;span style="color:black;"&gt;Collection&amp;lt;UrlData&amp;gt;()&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;&lt;br /&gt;   foreach &lt;/span&gt;&lt;span style="color:black;"&gt;(Match mt &lt;/span&gt;&lt;span style="color:blue;"&gt;in &lt;/span&gt;&lt;span style="color:black;"&gt;mc)&lt;br /&gt;&lt;br /&gt;   {&lt;br /&gt;       UrlData url &lt;/span&gt;&lt;span style="color:blue;"&gt;= new &lt;/span&gt;&lt;span style="color:black;"&gt;UrlData()&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;       &lt;/span&gt;&lt;span style="color:black;"&gt;url.Url &lt;/span&gt;&lt;span style="color:blue;"&gt;= &lt;/span&gt;&lt;span style="color:black;"&gt;mt.Groups[&lt;/span&gt;&lt;span style="color:maroon;"&gt;1&lt;/span&gt;&lt;span style="color:black;"&gt;].Value&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;       &lt;/span&gt;&lt;span style="color:black;"&gt;url.Title &lt;/span&gt;&lt;span style="color:blue;"&gt;= &lt;/span&gt;&lt;span style="color:black;"&gt;mt.Groups[&lt;/span&gt;&lt;span style="color:maroon;"&gt;2&lt;/span&gt;&lt;span style="color:black;"&gt;].Value&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;       &lt;/span&gt;&lt;span style="color:black;"&gt;uColl.Add(url)&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;br /&gt;&lt;br /&gt;   dataGridView1.DataSource &lt;/span&gt;&lt;span style="color:blue;"&gt;= &lt;/span&gt;&lt;span style="color:black;"&gt;uColl&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:black;"&gt;dataGridView1.AutoResizeColumn(&lt;/span&gt;&lt;span style="color:maroon;"&gt;1&lt;/span&gt;&lt;span style="color:black;"&gt;)&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;public static string &lt;/span&gt;&lt;span style="color:black;"&gt;ReadStream(&lt;/span&gt;&lt;span style="color:blue;"&gt;string &lt;/span&gt;&lt;span style="color:black;"&gt;url, &lt;/span&gt;&lt;span style="color:blue;"&gt;int &lt;/span&gt;&lt;span style="color:black;"&gt;timeOut)&lt;br /&gt;{&lt;br /&gt;   String result&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:black;"&gt;WebResponse objResponse&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:black;"&gt;WebRequest objRequest &lt;/span&gt;&lt;span style="color:blue;"&gt;= &lt;/span&gt;&lt;span style="color:black;"&gt;System.Net.HttpWebRequest.Create(url)&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:black;"&gt;objRequest.Timeout &lt;/span&gt;&lt;span style="color:blue;"&gt;= &lt;/span&gt;&lt;span style="color:black;"&gt;timeOut&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:black;"&gt;objResponse &lt;/span&gt;&lt;span style="color:blue;"&gt;= &lt;/span&gt;&lt;span style="color:black;"&gt;objRequest.GetResponse()&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;&lt;br /&gt;   using &lt;/span&gt;&lt;span style="color:black;"&gt;(System.IO.StreamReader sr &lt;/span&gt;&lt;span style="color:blue;"&gt;=&lt;br /&gt;      new &lt;/span&gt;&lt;span style="color:black;"&gt;System.IO.StreamReader(objResponse.GetResponseStream()))&lt;br /&gt;   {&lt;br /&gt;       result &lt;/span&gt;&lt;span style="color:blue;"&gt;= &lt;/span&gt;&lt;span style="color:black;"&gt;sr.ReadToEnd()&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;       &lt;/span&gt;&lt;span style="color:black;"&gt;sr.Close()&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:blue;"&gt;return &lt;/span&gt;&lt;span style="color:black;"&gt;result&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;public class &lt;/span&gt;&lt;span style="color:black;"&gt;UrlData&lt;br /&gt;{&lt;br /&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;private string &lt;/span&gt;&lt;span style="color:black;"&gt;url &lt;/span&gt;&lt;span style="color:blue;"&gt;= null;&lt;br /&gt;private string &lt;/span&gt;&lt;span style="color:black;"&gt;title &lt;/span&gt;&lt;span style="color:blue;"&gt;= null;&lt;br /&gt;&lt;br /&gt;public string &lt;/span&gt;&lt;span style="color:black;"&gt;Url&lt;br /&gt;{&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:blue;"&gt;get &lt;/span&gt;&lt;span style="color:black;"&gt;{ &lt;/span&gt;&lt;span style="color:blue;"&gt;return &lt;/span&gt;&lt;span style="color:black;"&gt;url&lt;/span&gt;&lt;span style="color:blue;"&gt;; &lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;br /&gt;&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:blue;"&gt;set &lt;/span&gt;&lt;span style="color:black;"&gt;{ url &lt;/span&gt;&lt;span style="color:blue;"&gt;= value; &lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;public string &lt;/span&gt;&lt;span style="color:black;"&gt;Title&lt;br /&gt;{&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:blue;"&gt;get &lt;/span&gt;&lt;span style="color:black;"&gt;{ &lt;/span&gt;&lt;span style="color:blue;"&gt;return &lt;/span&gt;&lt;span style="color:black;"&gt;title&lt;/span&gt;&lt;span style="color:blue;"&gt;; &lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:blue;"&gt;set &lt;/span&gt;&lt;span style="color:black;"&gt;{ title &lt;/span&gt;&lt;span style="color:blue;"&gt;= value; &lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: rgb(128, 128, 128);font-family:tahoma;font-size:8;"  &gt;&lt;a style="color: rgb(128, 128, 128);" href="http://www.carlosag.net/Tools/CodeColorizer/"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-116875382324922165?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/116875382324922165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=116875382324922165' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/116875382324922165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/116875382324922165'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2007/01/c-web-crawler-for-links.html' title='C# Web Crawler for links'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_PjL_iXD2WIc/RanKQk-fzXI/AAAAAAAAAAU/iUKQ0N1asqs/s72-c/regex.PNG' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-115343079000545077</id><published>2006-07-20T17:26:00.000-04:00</published><updated>2006-09-02T02:44:06.313-04:00</updated><title type='text'>Verisign PayFlow  Authentication ECI XID CAVV values Example</title><content type='html'>&lt;pre class="code"&gt;I am sending orders to verisign payflow pro and i am using a third party for&lt;br /&gt;additional "Buyer authentication". The third party sends certain response values&lt;br /&gt;back to me to include in my order request to verisign to decide if the order&lt;br /&gt;is fraudulent or not. They work along with MasterCard secure code and&lt;br /&gt;verified by visa. The upside to this is that if they say the order is okay&lt;br /&gt;then the merchant is not libel for the fraud and they lose no money.&lt;br /&gt;We are using XMLPay document to send our messages to verisign and i want to include&lt;br /&gt;this information i have recieved from the third party.&lt;br /&gt;It is unclear in the XMLPay spec where to insert this information.&lt;br /&gt;I do see examples where to insert the ECI, XID, CAVV values in many other&lt;br /&gt;manuals but they only show examples in a string format instead of an xml format.&lt;br /&gt;I found a quote below in a manual but this was no help.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Special Note for XMLPay users&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;For Call 4 on page 42, pass AUTHENTICATION_STATUS=&lt;status&gt;,&lt;br /&gt;&lt;br /&gt;AUTHENTICATION_ID=&lt;id&gt;, CAVV=&lt;cavv&gt;, and XID=&lt;xid&gt;,&lt;br /&gt;&lt;br /&gt;ECI=&lt;eci&gt; in the ExtData for Authorization and Sale transactions.&lt;br /&gt;&lt;br /&gt;&lt;/eci&gt;&lt;/xid&gt;&lt;/cavv&gt;&lt;/id&gt;&lt;/status&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;This was not correct. I also emailed verisign and they only responded&lt;br /&gt;with another copy of the manual.&lt;br /&gt;&lt;br /&gt;Here is an example document of the correct place to insert these.&lt;br /&gt;&lt;br /&gt;&lt;span class="cmt"&gt;&lt;pre class="'code'"&gt;&lt;br /&gt;&lt;span class="'cmt'"&gt;/*&lt;br /&gt;&amp;lt;ns0:XMLPayRequest Timeout="60" version="2.0" xmlns:ns0="http://www.verisign.com/XMLPay"&amp;gt;&lt;br /&gt;&amp;lt;RequestData&amp;gt;&lt;br /&gt;&amp;lt;Vendor&amp;gt;myvendor&amp;lt;/Vendor&amp;gt;&lt;br /&gt;&amp;lt;Partner&amp;gt;verisign&amp;lt;/Partner&amp;gt;&lt;br /&gt;&amp;lt;Transactions&amp;gt;&lt;br /&gt;  &amp;lt;Transaction Id="GPECAWJ4AG358HAF35RXK55A87" CustRef="myname@myaddr.com"&amp;gt;&lt;br /&gt;    &amp;lt;Authorization&amp;gt;&lt;br /&gt;      &amp;lt;PayData&amp;gt;&lt;br /&gt;        &amp;lt;Invoice&amp;gt;&lt;br /&gt;          &amp;lt;Date&amp;gt;2006-07-05&amp;lt;/Date&amp;gt;&lt;br /&gt;          &amp;lt;BillTo&amp;gt;&lt;br /&gt;            &amp;lt;Name&amp;gt;first last&amp;lt;/Name&amp;gt;&lt;br /&gt;            &amp;lt;Address&amp;gt;&lt;br /&gt;              &amp;lt;Street&amp;gt;7600 Main Street&amp;lt;/Street&amp;gt;&lt;br /&gt;              &amp;lt;Street2&amp;gt;&amp;lt;/Street2&amp;gt;&lt;br /&gt;              &amp;lt;City&amp;gt;Boaz&amp;lt;/City&amp;gt;&lt;br /&gt;              &amp;lt;State&amp;gt;VA&amp;lt;/State&amp;gt;&lt;br /&gt;              &amp;lt;Zip&amp;gt;12345&amp;lt;/Zip&amp;gt;&lt;br /&gt;              &amp;lt;Country&amp;gt;US&amp;lt;/Country&amp;gt;&lt;br /&gt;            &amp;lt;/Address&amp;gt;&lt;br /&gt;            &amp;lt;EMail&amp;gt;test2user@email.com&amp;lt;/EMail&amp;gt;&lt;br /&gt;          &amp;lt;/BillTo&amp;gt;&lt;br /&gt;          &amp;lt;ShipTo&amp;gt;&lt;br /&gt;            &amp;lt;Name&amp;gt;first last&amp;lt;/Name&amp;gt;&lt;br /&gt;            &amp;lt;Address&amp;gt;&lt;br /&gt;              &amp;lt;Street&amp;gt;7600 My Street&amp;lt;/Street&amp;gt;&lt;br /&gt;              &amp;lt;Street2&amp;gt;&amp;lt;/Street2&amp;gt;&lt;br /&gt;              &amp;lt;City&amp;gt;Boaz&amp;lt;/City&amp;gt;&lt;br /&gt;              &amp;lt;State&amp;gt;VA&amp;lt;/State&amp;gt;&lt;br /&gt;              &amp;lt;Zip&amp;gt;21222&amp;lt;/Zip&amp;gt;&lt;br /&gt;              &amp;lt;Country&amp;gt;US&amp;lt;/Country&amp;gt;&lt;br /&gt;            &amp;lt;/Address&amp;gt;&lt;br /&gt;          &amp;lt;/ShipTo&amp;gt;&lt;br /&gt;          &amp;lt;TotalAmt&amp;gt;531.75&amp;lt;/TotalAmt&amp;gt;&lt;br /&gt;          &amp;lt;Comment&amp;gt;1093293&amp;lt;/Comment&amp;gt;&lt;br /&gt;          &amp;lt;CustIP&amp;gt;10.0.30.208&amp;lt;/CustIP&amp;gt;&lt;br /&gt;          &amp;lt;Items&amp;gt;&lt;br /&gt;            &amp;lt;Item&amp;gt;&lt;br /&gt;              &amp;lt;SKU&amp;gt;TELE101032&amp;lt;/SKU&amp;gt;&lt;br /&gt;              &amp;lt;Quantity&amp;gt;1&amp;lt;/Quantity&amp;gt;&lt;br /&gt;              &amp;lt;TotalAmt&amp;gt;495&amp;lt;/TotalAmt&amp;gt;&lt;br /&gt;            &amp;lt;/Item&amp;gt;&lt;br /&gt;            &amp;lt;Item&amp;gt;&lt;br /&gt;              &amp;lt;SKU&amp;gt;TELE101322&amp;lt;/SKU&amp;gt;&lt;br /&gt;              &amp;lt;Quantity&amp;gt;1&amp;lt;/Quantity&amp;gt;&lt;br /&gt;              &amp;lt;TotalAmt&amp;gt;203.00&amp;lt;/TotalAmt&amp;gt;&lt;br /&gt;            &amp;lt;/Item&amp;gt;&lt;br /&gt;          &amp;lt;/Items&amp;gt;&lt;br /&gt;          &amp;lt;ExtData Name="COMMENT2" Value="1PECFWJ4Aq358HAF35XRK55A87"&amp;gt;&amp;lt;/ExtData&amp;gt;&lt;br /&gt;        &amp;lt;/Invoice&amp;gt;&lt;br /&gt;        &amp;lt;Tender&amp;gt;&lt;br /&gt;          &amp;lt;Card&amp;gt;&lt;br /&gt;            &amp;lt;CardType&amp;gt;Visa&amp;lt;/CardType&amp;gt;&lt;br /&gt;            &amp;lt;CardNum encrypt="1"&amp;gt;qFS+dZ9kEi/sCCPe288eB&amp;lt;/CardNum&amp;gt;&lt;br /&gt;            &amp;lt;ExpDate encrypt="1"&amp;gt;E3V1BuHDhEBCzEvHURwB92zWjfJc2+rC&amp;lt;/ExpDate&amp;gt;&lt;br /&gt;            &amp;lt;CVNum encrypt="1"&amp;gt;Kd762lK+2HAkxiRrNK7JCA==&amp;lt;/CVNum&amp;gt;&lt;br /&gt;            &amp;lt;NameOnCard&amp;gt;My Name&amp;lt;/NameOnCard&amp;gt;&lt;br /&gt;          &amp;lt;/Card&amp;gt;&lt;br /&gt;        &amp;lt;/Tender&amp;gt;&lt;br /&gt;      &amp;lt;/PayData&amp;gt;&lt;br /&gt;      &amp;lt;ExtData&amp;gt;&lt;br /&gt;        &amp;lt;CAVV&amp;gt;AAABBEKQkQAAeAABEo3RENiWiVM=&amp;lt;/CAVV&amp;gt;&lt;br /&gt;        &amp;lt;XID&amp;gt;v73iqKAE/sM4Z2rX8qSCfMDavt4=&amp;lt;/XID&amp;gt;&lt;br /&gt;        &amp;lt;ECI&amp;gt;05&amp;lt;/ECI&amp;gt;&lt;br /&gt;        &amp;lt;STATUS&amp;gt;Y&amp;lt;/STATUS&amp;gt;&lt;br /&gt;      &amp;lt;/ExtData&amp;gt;&lt;br /&gt;    &amp;lt;/Authorization&amp;gt;&lt;br /&gt;    &amp;lt;Verbosity&amp;gt;Medium&amp;lt;/Verbosity&amp;gt;&lt;br /&gt;    &amp;lt;BrowserUserAgent&amp;gt;Mozilla/4.0 &amp;lt;/BrowserUserAgent&amp;gt;&lt;br /&gt;  &amp;lt;/Transaction&amp;gt;&lt;br /&gt;&amp;lt;/Transactions&amp;gt;&lt;br /&gt;&amp;lt;/RequestData&amp;gt;&lt;br /&gt;&amp;lt;RequestAuth&amp;gt;&lt;br /&gt;&amp;lt;UserPass&amp;gt;&lt;br /&gt;  &amp;lt;User&amp;gt;testUser10293&amp;lt;/User&amp;gt;&lt;br /&gt;  &amp;lt;Password&amp;gt;password09209320931&amp;lt;/Password&amp;gt;&lt;br /&gt;&amp;lt;/UserPass&amp;gt;&lt;br /&gt;&amp;lt;/RequestAuth&amp;gt;&lt;br /&gt;&amp;lt;/ns0:XMLPayRequest&amp;gt;&lt;br /&gt;&lt;br /&gt;*/&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-115343079000545077?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/115343079000545077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=115343079000545077' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/115343079000545077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/115343079000545077'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2006/07/verisign-payflow-authentication-eci.html' title='Verisign PayFlow  Authentication ECI XID CAVV values Example'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-115342970225699603</id><published>2006-07-20T16:45:00.000-04:00</published><updated>2006-07-20T17:08:24.170-04:00</updated><title type='text'></title><content type='html'>Sql T-Sql Sql server 2000 select or show distinct rows by column instead of the entire row. In this case it only shows the latest by date. 2 examples are provided. Thanks to Steve Hamilton.&lt;br /&gt;&lt;br /&gt;&lt;pre class='code'&gt;&lt;br /&gt;&lt;span class='cmt'&gt;/*&lt;br /&gt;CREATE TABLE #TestTable( ID INT, TEST VARCHAR(50), TEST2 VARCHAR(50), TEST3 DATETIME )&lt;br /&gt;&lt;br /&gt;INSERT INTO #TestTable VALUES ( 1, 'A', 'A', GETDATE() + 0 )&lt;br /&gt;INSERT INTO #TestTable VALUES  ( 2, 'A', 'B', GETDATE() + 1 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 3, 'A', 'C', GETDATE() + 2 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 4, 'A', 'D', GETDATE() + 3 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 5, 'B', 'A', GETDATE() + 4 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 6, 'B', 'B', GETDATE() + 5 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 7, 'B', 'C', GETDATE() + 6 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 8, 'B', 'D', GETDATE() + 7 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 9, 'C', 'A', GETDATE() + 8 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 10, 'C', 'B', GETDATE() + 9 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 11, 'C', 'C', GETDATE() + 10 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 12, 'C', 'D', GETDATE() + 11 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 13, 'D', 'A', GETDATE() + 12 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 14, 'D', 'B', GETDATE() + 13 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 15, 'D', 'C', GETDATE() + 14 )&lt;br /&gt;INSERT INTO #TestTable VALUES ( 16, 'D', 'D', GETDATE() + 15 )&lt;br /&gt;&lt;br /&gt;SELECT DISTINCT *&lt;br /&gt;FROM #TestTable T&lt;br /&gt;  INNER JOIN &lt;br /&gt;  (&lt;br /&gt;   SELECT ID&lt;br /&gt;   FROM #TestTable T3&lt;br /&gt;   WHERE T3.TEST3 = (SELECT MAX(TEST3) FROM #TestTable T4 WHERE T3.TEST = T4.TEST)&lt;br /&gt;  ) T2&lt;br /&gt;  ON T2.ID = T.ID&lt;br /&gt;&lt;br /&gt;SELECT * FROM #TestTable t &lt;br /&gt;WHERE T.TEST3 = (SELECT MAX(TEST3) FROM #TestTable T2 WHERE T2.TEST = T.TEST)&lt;br /&gt;&lt;br /&gt;DROP TABLE #TestTable&lt;br /&gt;*/&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-115342970225699603?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/115342970225699603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=115342970225699603' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/115342970225699603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/115342970225699603'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2006/07/sql-t-sql-sql-server-2000-select-or.html' title=''/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-109418653585898015</id><published>2006-07-03T22:41:00.000-04:00</published><updated>2005-07-25T01:25:34.350-04:00</updated><title type='text'>Hello</title><content type='html'>I put this page here to post my code in hopes it might be useful to other people. Some of the sentences may appear awkward either because i cant type or because i typed it easiest for google to index and people to find.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-109418653585898015?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/109418653585898015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=109418653585898015' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/109418653585898015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/109418653585898015'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2006/07/hello.html' title='Hello'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-114712971087156791</id><published>2006-05-08T18:56:00.000-04:00</published><updated>2006-05-08T19:08:31.090-04:00</updated><title type='text'>wrt54g v5 qos does not appear to be working broken</title><content type='html'>if you have the wrt54g router, and your using it with a voip service such as vonage or sun rocket, you may need to tune the QOS settings in the router in order to avoid being cut off or to have choppy distorted sounds. this qos will make sure that the router will do its best to give the most bandwidth to voice instead of data. the problem i had with the router was that the QOS (quality of service) does not appear to work correctly when using wireless. if your not using any wireless devices, it appears to work correctly. im not 100% sure but i believe you can have this working correctly by putting the mac address of the wireless device and setting it to low, and by setting the port number of the gizmo or voip device to high. note that the wireless device is only found by mac, and if you dont give it a priority, i think it defaults to high. the only problem with this, is that the default firmware on the device will only allow you to put two different devices at low priority. so if you have more than two wireless devices your screwed. someone &lt;a href="http://www.vonage-forum.com/ftopic10552.html"&gt;on another site&lt;/a&gt; said to put the only the mac address of the gizmo instead and set that to highest priority, and not to use the other spot but it didn't appear to work for me, but you try it. if you are willing to upgrade your box to a better firmware that is better, check out &lt;a href="http://www.linksysinfo.org/"&gt;here&lt;br /&gt;&lt;/a&gt; to see if your box is upgradeable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-114712971087156791?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/114712971087156791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=114712971087156791' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/114712971087156791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/114712971087156791'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2006/05/wrt54g-v5-qos-does-not-appear-to-be.html' title='wrt54g v5 qos does not appear to be working broken'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-114254635041182679</id><published>2006-03-16T16:58:00.000-05:00</published><updated>2006-03-16T16:59:10.466-05:00</updated><title type='text'>convert a dataview to a dataset dataview to datatable</title><content type='html'>public static DataTable DataViewAsDataTable( DataView dv) &lt;br /&gt;  {&lt;br /&gt;   DataTable dt = dv.Table.Clone();&lt;br /&gt;   foreach (DataRowView drv in dv)&lt;br /&gt;    dt.ImportRow(drv.Row);&lt;br /&gt;   return dt;&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DataSet dsFiltered  = new DataSet(); //create a new dataset&lt;br /&gt;dsFiltered.Tables.Add(AppUtil.DataViewAsDataTable (dvResult) ); //fill the dataset with the sorted results&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-114254635041182679?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/114254635041182679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=114254635041182679' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/114254635041182679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/114254635041182679'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2006/03/convert-dataview-to-dataset-dataview_16.html' title='convert a dataview to a dataset dataview to datatable'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-114254622073297903</id><published>2006-03-16T16:56:00.000-05:00</published><updated>2006-03-16T16:57:01.116-05:00</updated><title type='text'>convert a dataview to a dataset dataview to datatable</title><content type='html'>public static DataTable DataViewAsDataTable( DataView dv) &lt;br /&gt;  {&lt;br /&gt;   DataTable dt = dv.Table.Clone();&lt;br /&gt;   foreach (DataRowView drv in dv)&lt;br /&gt;    dt.ImportRow(drv.Row);&lt;br /&gt;   return dt;&lt;br /&gt;  }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-114254622073297903?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/114254622073297903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=114254622073297903' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/114254622073297903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/114254622073297903'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2006/03/convert-dataview-to-dataset-dataview.html' title='convert a dataview to a dataset dataview to datatable'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-114123231998995556</id><published>2006-03-01T11:47:00.000-05:00</published><updated>2006-03-01T12:54:22.820-05:00</updated><title type='text'>Comerce server 2002 pup packaging problem Error finding IIS object</title><content type='html'>If you have this problem with commerce server 2002 when creating a pup package with the site packager:&lt;br /&gt;&lt;br /&gt;Error finding IIS object for site:Automation error&lt;br /&gt;The system cannot find the path specified.&lt;br /&gt;Error finding directory for site 0:There is no entry in IIS for this&lt;br /&gt;application on this machine.&lt;br /&gt;&lt;br /&gt;Try this:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Go into the properties for the &lt;span style="font-weight: bold;"&gt;web site &lt;/span&gt;and go to the "Home Directory" tab and click "Remove" under application settings and click "Create." Make sure your app pool is correct.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;ALSO &lt;/span&gt;repeat the same for your &lt;span style="font-weight: bold;"&gt;virtual directory&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Run this in this in the MSCS_Admin database&lt;blockquote&gt;SELECT s_PropertyName, s_value FROM ResourceProps WHERE s_PropertyName ='s_WebServerInstance'&lt;/blockquote&gt;&lt;/li&gt;&lt;li&gt;If the value of WebServerInstace has a trailing zero, remove the zero&lt;/li&gt;&lt;li&gt;In commerce center manager go here: Server manager -&gt; Commerce Sites -&gt; Your Site -&gt; Applications -&gt; IIS Site Name and verify your host name and IIS application path are correct. This is probably correcy but check it anyways. Next, click the web servers tab, and make sure your IIS web site is correct and click Synchronize. The odds are your IIS web site was not correct.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Run iisreset and package again.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;The biggest problem I see people explainin wrong in newsgroups is you need to do step 1 and 2 both.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-114123231998995556?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/114123231998995556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=114123231998995556' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/114123231998995556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/114123231998995556'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2006/03/comerce-server-2002-pup-packaging.html' title='Comerce server 2002 pup packaging problem Error finding IIS object'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-113994389698860892</id><published>2006-02-14T13:55:00.000-05:00</published><updated>2006-02-14T14:35:04.876-05:00</updated><title type='text'>Area code lookup</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/1021/448/1600/telephone.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/1021/448/320/telephone.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Search for an area codes and get the telephone company, and approximate GPS coordiantes of where a cell phone was purchased. This is great for looking up cell phones that called you. you can also lookup various other forms of information. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.areacodedownload.com/"&gt;http://www.areacodedownload.com/&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;I personally just edit the url to lookup locations&lt;br /&gt;&lt;a href="http://www.areacodedownload.com/410/247/"&gt;http://www.areacodedownload.com/410/247/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-113994389698860892?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='related' href='http://www.areacodedownload.com/' title='Area code lookup'/><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/113994389698860892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=113994389698860892' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/113994389698860892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/113994389698860892'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2006/02/area-code-lookup.html' title='Area code lookup'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7349038.post-113951670532962529</id><published>2006-02-09T15:24:00.000-05:00</published><updated>2006-02-09T15:25:55.890-05:00</updated><title type='text'>bill gates got hit with a pie</title><content type='html'>does anyone remember this when bill gates got hit with a pie?&lt;br /&gt;&lt;br /&gt;&lt;embed style="width:400px; height:326px;" id="VideoPlayback" align="middle" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DkwAAAFZzZhGM26zPzffYj_uvAluIDKyIhrkODID9E9yj8bW2q5k06_Cq3gYlF47cmAgdYVEKj1CyL6Swgj8i-vJkiLDuHzNHWUa0yFg439aki2JZCxQyaQC_CZqBwh5OPHqr_tmOt99j7Q_VqKuWNPBq7ylHXGcitD93ld7AIFNcOKscDCZRL2iUYEKuAwnouUiBwRlxnpuc2aLCppRIHJgVyZI%26sigh%3Dv2uhx3XMq35YY9yhaapweKpiHbw%26begin%3D0%26len%3D9458%26docid%3D-4911894001000184060&amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer%3Fcontentid%3Dd99096ad4aa18d58%26second%3D5%26itag%3Dw320%26urlcreated%3D1139516621%26sigh%3D_h6nSTQpxPliXTKy0IKKuoJITJE&amp;playerId=-4911894001000184060&amp;playerMode=embedded" allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff" scale="noScale" wmode="window" salign="TL" &gt; &lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7349038-113951670532962529?l=dwightrau.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://dwightrau.blogspot.com/feeds/113951670532962529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=7349038&amp;postID=113951670532962529' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/113951670532962529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7349038/posts/default/113951670532962529'/><link rel='alternate' type='text/html' href='http://dwightrau.blogspot.com/2006/02/bill-gates-got-hit-with-pie.html' title='bill gates got hit with a pie'/><author><name>dwight0</name><uri>http://www.blogger.com/profile/12846078890597378050</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15861189071357784865'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry></feed>