<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>Fred's Tips and Tricks for PC Users</title>
	<atom:link href="http://allgoodblogs.com/fredblau/index.php?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://allgoodblogs.com/fredblau</link>
	<description>Notes and Commentary on Technology</description>
	<pubDate>Mon, 11 Jan 2010 23:56:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Basic SEO tips</title>
		<link>http://allgoodblogs.com/fredblau/?p=105</link>
		<comments>http://allgoodblogs.com/fredblau/?p=105#comments</comments>
		<pubDate>Tue, 24 Nov 2009 01:15:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[2-User Tips]]></category>

		<category><![CDATA[3-Tech Tips]]></category>

		<guid isPermaLink="false">http://allgoodblogs.com/fredblau/?p=105</guid>
		<description><![CDATA[This is not meant to be a ground-up overview or tutorial on search engine optimization. Rather, it focuses on fundamental strategies for SEO for a typical small-business site. I assume you understand the core terminlogy for SEO. If you don&#8217;t, you should first search out some tutorials on SEO.
Once you are ready to apply some [...]]]></description>
			<content:encoded><![CDATA[<p>This is not meant to be a ground-up overview or tutorial on search engine optimization. Rather, it focuses on fundamental strategies for SEO for a typical small-business site. I assume you understand the core terminlogy for SEO. If you don&#8217;t, you should first search out some tutorials on SEO.</p>
<p>Once you are ready to apply some SEO tags and structure to your site, I hope these tips will be helpful.</p>
<p><strong>Search engines typically index pages in the following order:</strong></p>
<ol>
<li>Page Title meta tag</li>
<li>Page Description meta tag</li>
<li>Page Keywords meta tag</li>
<li>Page content</li>
</ol>
<p><strong>To take advantage of the meta tags follow these simple tips:</strong></p>
<ol>
<li>Use a unique, accurate title and description for each page. Don&#8217;t use the same title or description for all your pages.</li>
<li>Don&#8217;t overload your tags with a lot of extra words that don&#8217;t appear in your content.</li>
<li>Google also compares the content of the page with the words in your tags. It looks for the same words and ranks the keywords higher if it finds more occurrences of the same words in the page content. For example if you have &#8220;landscape architect&#8221; in your title and as a keyword, use this phrase several times in your page content also. But don&#8217;t overload the page with the keywords, which Google considers &#8220;Keyword Stuffing&#8221; Google favors a keyword density of 1-3%. Here is one tool that analyzes keywords on a page. <a href="http://www.seochat.com/seo-tools/keyword-density/">http://www.seochat.com/seo-tools/keyword-density/</a></li>
<li>Use descriptive &#8220;Alt&#8221; tags on images.</li>
</ol>
<p><strong>The rest of the story:</strong></p>
<p>Having accurate keywords that users will actually search for is only the first part of successful SEO. It helps the search engines accurately index your page. But your page ranking is dependent on how many time users actually select your page on a search, as well as how many external sites link to your page. Here are tips for improving your search rank.</p>
<ul>
<li>Get your link on relevant sites. For example, get your link on news pages or blogs relevant to your industry. Write an article (that includes a link to your site) that appears in an online industry newsletter. Find online directories of services you provide and make sure your site is listed.</li>
<li>Use a white hat service that can improve your ranking. Be careful, because if Google suspects you are artificially improving your ranking, it will actually lower or even blacklist your site. You can&#8217;t improve your ranking by selecting your own site over and over from your own computer - Google limits the counts it gets from one IP address.</li>
</ul>
<p> We provide a service to enhance your page rank by optimizing your the key words on your site and legitimately increasing the number of search hits your site receives.  If you would like more information, please contact us <a title="Contact us" href="http://www.masstechnical.com/contactus.aspx">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://allgoodblogs.com/fredblau/?feed=rss2&amp;p=105</wfw:commentRss>
		</item>
		<item>
		<title>Retrieve Row ID (rowid) (SCOPE_IDENTITY();) after Detailsview Insert</title>
		<link>http://allgoodblogs.com/fredblau/?p=92</link>
		<comments>http://allgoodblogs.com/fredblau/?p=92#comments</comments>
		<pubDate>Fri, 07 Aug 2009 00:40:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[4-Code snippets]]></category>

		<guid isPermaLink="false">http://allgoodblogs.com/fredblau/?p=92</guid>
		<description><![CDATA[There are a number of examples on the web of how to retrieve a row ID after a SQL insert. But what if the insert is part of a declarative SQL statement defined for a SQLDataSource? How do you expose the identity? it turns out it is fairly simple. If you retrieve the scope_identity as [...]]]></description>
			<content:encoded><![CDATA[<p>There are a number of examples on the web of how to retrieve a row ID after a SQL insert. But what if the insert is part of a declarative SQL statement defined for a SQLDataSource? How do you expose the identity? it turns out it is fairly simple. If you retrieve the scope_identity as part of the Insert statement, you can retrieve it in the item_inserted event. However, I found that you need to create the item_inserted event manually with different parameters than those generated automatically by Visual Studio.</p>
<p>Let&#8217;s say you are saving a payment record. Your detailsview is called dtlPayment. In the SQL Insert statement, you will have something like this:</p>
<p>&lt;asp:SqlDataSource       &#8230;</p>
<p> InsertCommand  = &#8220;INSERT INTO [tblPayments] ([BillingName], [BillingAmount]) VALUES (@BillingName, @BillingAmount);  <span style="color: #ff0000;">Select @Payment_rowid=SCOPE_IDENTITY();</span>&#8221;<br />
<span style="color: #ff0000;"> <span style="color: #ff0000;">OnInserted=&#8221;dtlPayment_ItemInserted&#8221;<br />
</span></span>          &#8230;<br />
&lt;/asp:SqlDataSource&gt;</p>
<p>In the Insert parameters section, define the parameter as an <strong>output</strong> parameter</p>
<p>    &lt;asp:parameter direction=&#8221;Output&#8221; name=&#8221;Payment_rowid&#8221; type=&#8221;Int32&#8243; /&gt;</p>
<p>Now set up the following event:</p>
<p>Protected Sub dtlPayment_ItemInserted(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceStatusEventArgs)<br />
       Dim thisRowID As Integer<br />
       thisRowID = e.Command.Parameters(&#8221;@Payment_rowid&#8221;).Value<br />
End Sub</p>
]]></content:encoded>
			<wfw:commentRss>http://allgoodblogs.com/fredblau/?feed=rss2&amp;p=92</wfw:commentRss>
		</item>
		<item>
		<title>A Simple way to span column headers in an asp.net Gridview</title>
		<link>http://allgoodblogs.com/fredblau/?p=70</link>
		<comments>http://allgoodblogs.com/fredblau/?p=70#comments</comments>
		<pubDate>Fri, 19 Jun 2009 16:33:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[4-Code snippets]]></category>

		<guid isPermaLink="false">http://allgoodblogs.com/fredblau/?p=70</guid>
		<description><![CDATA[Let&#8217;s say you have an asp.net gridview and you want to group or span several columns under the same heading. For example, you are displaying quarterly sales data:



Customer
Rep
Q1 Sales
Q2 Sales
Q3 Sales
Q4 Sales


Acme Tools
John Smith
4500
4400
4600
4100


Mega Motors
Anne Tyler
9790
9670
9540
8900



But what you really want to show is:



 
Sales


Customer
Rep
Q1
Q2
Q3
Q4


Acme Tools
John Smith
4500
4400
4600
4100


Mega Motors
Anne Tyler
9790
9670
9540
8900



If your Gridview is called grdSales, there is an easy way [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #000000;">Let&#8217;s say you have an asp.net gridview and you want to group or span several columns under the same heading. For example, you are displaying quarterly sales data:</span></p>
<table border="1" cellspacing="0" cellpadding="0" width="100">
<tbody>
<tr>
<td>Customer</td>
<td>Rep</td>
<td>Q1 Sales</td>
<td>Q2 Sales</td>
<td>Q3 Sales</td>
<td>Q4 Sales</td>
</tr>
<tr>
<td>Acme Tools</td>
<td>John Smith</td>
<td>4500</td>
<td>4400</td>
<td>4600</td>
<td>4100</td>
</tr>
<tr>
<td>Mega Motors</td>
<td>Anne Tyler</td>
<td>9790</td>
<td>9670</td>
<td>9540</td>
<td>8900</td>
</tr>
</tbody>
</table>
<p>But what you really want to show is:</p>
<table border="1" cellspacing="0" cellpadding="0" width="100">
<tbody>
<tr>
<td colspan="2"> </td>
<td colspan="4" align="center"><strong>Sales</strong></td>
</tr>
<tr>
<td>Customer</td>
<td>Rep</td>
<td>Q1</td>
<td>Q2</td>
<td>Q3</td>
<td>Q4</td>
</tr>
<tr>
<td>Acme Tools</td>
<td>John Smith</td>
<td>4500</td>
<td>4400</td>
<td>4600</td>
<td>4100</td>
</tr>
<tr>
<td>Mega Motors</td>
<td>Anne Tyler</td>
<td>9790</td>
<td>9670</td>
<td>9540</td>
<td>8900</td>
</tr>
</tbody>
</table>
<p>If your Gridview is called grdSales, there is an easy way to do this in the code behind. Create an event for row_created, then put this in:</p>
<p><strong>Protected Sub grdSales_RowCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles grdSales.RowCreated</strong></p>
<p>If e.Row.RowType = DataControlRowType.Header Then</p>
<p>Dim oGridView As GridView = DirectCast(sender, GridView)</p>
<p>Dim oGridViewRow As New GridViewRow(0, 0, DataControlRowType.Header, DataControlRowState.Insert)</p>
<p>Dim oTableCell As New TableCell()</p>
<p>oTableCell.Text = &#8220;&#8221;</p>
<p>oTableCell.ColumnSpan = 2</p>
<p>oTableCell.BackColor = Drawing.Color.White</p>
<p>oGridViewRow.Cells.Add(oTableCell)</p>
<p>oTableCell = New TableCell()</p>
<p>oTableCell.Text = &#8220;Sales&#8221;</p>
<p>oTableCell.HorizontalAlign = HorizontalAlign.Center</p>
<p>oTableCell.ColumnSpan = 4</p>
<p>oGridViewRow.Cells.Add(oTableCell)</p>
<p> <span style="font-size: x-small;"><span style="font-size: x-small;">oGridView.Controls(0).Controls.AddAt(0, oGridViewRow)�<br />
<span style="font-size: x-small;"><span style="font-size: x-small;">End If</span></span></span></span></p>
<p><span style="font-size: x-small;"><span style="font-size: x-small;"><strong> </strong></span></span><strong>End Sub</strong></p>
<p> <strong>If you found my post helpful and it saved you time or money, please contribute by making a small donation. Even a dollar or two adds up!</strong></p>
<form action="https://www.paypal.com/cgi-bin/webscr" enctype="application/x-www-form-urlencoded" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="6543452" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /></form>
]]></content:encoded>
			<wfw:commentRss>http://allgoodblogs.com/fredblau/?feed=rss2&amp;p=70</wfw:commentRss>
		</item>
		<item>
		<title>Readable file record segment is not writeable</title>
		<link>http://allgoodblogs.com/fredblau/?p=64</link>
		<comments>http://allgoodblogs.com/fredblau/?p=64#comments</comments>
		<pubDate>Fri, 12 Jun 2009 00:59:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[3-Tech Tips]]></category>

		<guid isPermaLink="false">http://allgoodblogs.com/fredblau/?p=64</guid>
		<description><![CDATA[After one of the many times my Vista Business 32 laptop locked up, it didn&#8217;t recover too gracefully. On bootup I got the infamous &#8220;One of your disks needs to be checked&#8230;&#8221; errors. That was the good news. The bad news was that chkdsk would not complete running on startup. During stage one, I got [...]]]></description>
			<content:encoded><![CDATA[<p>After one of the many times my Vista Business 32 laptop locked up, it didn&#8217;t recover too gracefully. On bootup I got the infamous &#8220;One of your disks needs to be checked&#8230;&#8221; errors. That was the good news. The bad news was that chkdsk would not complete running on startup. During stage one, I got the message: Deleting corrupt attribute record &#8230;. from file record segment &#8230; Readable file record segment 60195 is not writeable.</p>
<p>No matter how I tried to run chkdsk, it would not complete. I ran a disk sector test and the hard drive came out clean. I ran Norton Disk Doctor and it did nothing. Extensive googling on the error yielded little, so I tried googling on various parts of the error phrases.</p>
<p>In the end, it turned out the solution was pretty simple. Apparently, even when running chkdsk on startup, the C: drive may be locked. So I booted to the recovery CD, which had a command prompt option. Then running good old-fashioned chkdsk C: /f from the DOS prompt fixed my drive.</p>
]]></content:encoded>
			<wfw:commentRss>http://allgoodblogs.com/fredblau/?feed=rss2&amp;p=64</wfw:commentRss>
		</item>
		<item>
		<title>Vista Wireless Problems</title>
		<link>http://allgoodblogs.com/fredblau/?p=55</link>
		<comments>http://allgoodblogs.com/fredblau/?p=55#comments</comments>
		<pubDate>Sat, 30 May 2009 22:49:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[3-Tech Tips]]></category>

		<guid isPermaLink="false">http://allgoodblogs.com/fredblau/?p=55</guid>
		<description><![CDATA[I had several different wireless problems with my Vista Business laptop. These ranged from dropped connections to the computer completely losing control of the wireless adapter. I tried several different solutions gleaned from different websites and forum posts. Here is a summary of some of the configuration changes I made. The result that my wireless [...]]]></description>
			<content:encoded><![CDATA[<p>I had several different wireless problems with my Vista Business laptop. These ranged from dropped connections to the computer completely losing control of the wireless adapter. I tried several different solutions gleaned from different websites and forum posts. Here is a summary of some of the configuration changes I made. The result that my wireless connectivity is pretty stable. I wish I could say that for the rest of my Vista Experience!</p>
<ol>
<li><strong>Change your Power Savings Options<br />
</strong>Go to Control Panel/Power Options<br />
Click &#8220;Change Plan Settings&#8221; for your selected plan<br />
Click &#8220;Change Advanced Power Settings&#8221;<br />
Expand &#8220;Wireless Adapter Settings&#8221; and &#8220;Power Saving Mode&#8221;<br />
Change both battery and plugged in settings to &#8220;Maximum Performance&#8221;</li>
<li><strong>Disable IPV6</strong><br />
Unless you know that you need it, you can disable it. Here are the steps:<br />
Go to Start/Control Panel/Network Connections<br />
Look for the Wireless Network Connection<br />
Right Click it, and select Properties<br />
Uncheck the Selection for Internet Protocol Ver 6</li>
<li><strong>Modify Adapter Roaming Settings<br />
</strong>While you are in the adapter settings for Number 2, click the <strong>Configure</strong> button<br />
Go to the Advanced tab, and look for Roaming Agressiveness<br />
Change the setting to Medium-Low</li>
<li><strong>Make Sure you have the latest wireless adapter drivers<br />
</strong>Don&#8217;t count on Vista finding the driver for you. You will need to go to the website of your computer manufacturer, and find the driver download section in the Support pages. If you are uncomfortable installing the driver, go back to the store you bought the computer.</li>
</ol>
<p><strong></strong></p>
<p>If you can&#8217;t get your Vista machine to obtain an IP address at all, you might want to check this article on Microsoft&#8217;s support web site - <a href="http://support.microsoft.com/kb/928233">http://support.microsoft.com/kb/928233</a>. If the article number has changed search for &#8220;Windows Vista cannot obtain an IP address from certain routers&#8221; when you go to support.microsoft.com</p>
<p>If you have other solutions you would like to add, please leave a comment!</p>
<p><strong>Disclaimer</strong>: These are commonly known solutions and I will not be held responsible for your attempts to follow them. If you are unsure of your ability to modify or undo configurations on your computer, contact a professional to do it for you!</p>
<p><strong>If you found my post helpful and it saved you time or money, please contribute by making a small donation. Even a dollar or two adds up!</strong></p>
<form action="https://www.paypal.com/cgi-bin/webscr" enctype="application/x-www-form-urlencoded" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="6543452" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /></form>
]]></content:encoded>
			<wfw:commentRss>http://allgoodblogs.com/fredblau/?feed=rss2&amp;p=55</wfw:commentRss>
		</item>
		<item>
		<title>ASP.NET Gridview that shows all records if dropdown filter is not selected</title>
		<link>http://allgoodblogs.com/fredblau/?p=48</link>
		<comments>http://allgoodblogs.com/fredblau/?p=48#comments</comments>
		<pubDate>Fri, 03 Apr 2009 20:23:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[4-Code snippets]]></category>

		<guid isPermaLink="false">http://allgoodblogs.com/fredblau/?p=48</guid>
		<description><![CDATA[If you have a grdiview that is tied to a dropdown selector box, it will not show any records when the page loads and the dropdown defaults to a &#8220;Select&#8221; state. Here is one simple way to have the gridview show all records in this case:
&#60;asp:DropDownList ID=&#8221;ddlCustomers&#8221; runat=&#8221;server&#8221; 
            AutoPostBack=&#8221;True&#8221; DataSourceID=&#8221;ds_ddlCustomers&#8221; AppendDataBoundItems=&#8221;true&#8221;
            DataTextField=&#8221;CustName&#8221; DataValueField=&#8221;CustID&#8221;&#62;
            &#60;asp:ListItem [...]]]></description>
			<content:encoded><![CDATA[<p>If you have a grdiview that is tied to a dropdown selector box, it will not show any records when the page loads and the dropdown defaults to a &#8220;Select&#8221; state. Here is one simple way to have the gridview show all records in this case:</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-family: Times New Roman;"><span style="font-size: 10pt; color: blue; mso-ansi-language: #0400;">&lt;</span><span style="font-size: 10pt; color: #a31515; mso-ansi-language: #0400;">asp</span><span style="font-size: 10pt; color: blue; mso-ansi-language: #0400;">:</span><span style="font-size: 10pt; color: #a31515; mso-ansi-language: #0400;">DropDownList</span><span style="font-size: 10pt; mso-ansi-language: #0400;"> <span style="color: red;">ID</span><span style="color: blue;">=&#8221;ddlCustomers&#8221;</span> <span style="color: red;">runat</span><span style="color: blue;">=&#8221;server&#8221;</span> </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">            </span><span style="color: red;">AutoPostBack</span><span style="color: blue;">=&#8221;True&#8221;</span> <span style="color: red;">DataSourceID</span><span style="color: blue;">=&#8221;ds_ddlCustomers&#8221;</span> <span style="color: red;">AppendDataBoundItems</span><span style="color: blue;">=&#8221;true&#8221;</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">            </span><span style="color: red;">DataTextField</span><span style="color: blue;">=&#8221;CustName&#8221;</span> <span style="color: red;">DataValueField</span><span style="color: blue;">=&#8221;CustID&#8221;&gt;</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">            </span><span style="color: blue;">&lt;</span><span style="color: #a31515;">asp</span><span style="color: blue;">:</span><span style="color: #a31515;">ListItem</span> <span style="color: red;">Text</span><span style="color: blue;">=&#8221;All&#8221;</span> <span style="color: red;">Value</span><span style="color: blue;">=&#8221;0&#8243;&gt;&lt;/</span><span style="color: #a31515;">asp</span><span style="color: blue;">:</span><span style="color: #a31515;">ListItem</span><span style="color: blue;">&gt;</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">          </span><span style="color: blue;">&lt;/</span><span style="color: #a31515;">asp</span><span style="color: blue;">:</span><span style="color: #a31515;">DropDownList</span><span style="color: blue;">&gt;</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; color: blue; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;">Gridview datasource Select:</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-family: Times New Roman;"><span style="font-size: 10pt; color: blue; mso-ansi-language: #0400;"><span style="mso-spacerun: yes;">                </span></span><span style="font-size: 10pt; color: red; mso-ansi-language: #0400;">SelectCommand</span><span style="font-size: 10pt; color: blue; mso-ansi-language: #0400;">=&#8221;SELECT CustID, CustName, CustPhone, CustEmail FROM tblCustomers WHERE (CustID = @CustID) OR (0 = @CustID) ORDER BY CustName&#8221;</span><span style="font-size: 10pt; mso-ansi-language: #0400;"> </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-family: Times New Roman;"><span style="font-size: 10pt; color: blue; mso-ansi-language: #0400;">&lt;</span><span style="font-size: 10pt; color: #a31515; mso-ansi-language: #0400;">SelectParameters</span><span style="font-size: 10pt; color: blue; mso-ansi-language: #0400;">&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">                  </span><span style="color: blue;">&lt;</span><span style="color: #a31515;">asp</span><span style="color: blue;">:</span><span style="color: #a31515;">ControlParameter</span> <span style="color: red;">ControlID</span><span style="color: blue;">=&#8221;ddlCustomers&#8221;</span> <span style="color: red;">Name</span><span style="color: blue;">=&#8221;CustID&#8221;</span> </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">                    </span><span style="color: red;">PropertyName</span><span style="color: blue;">=&#8221;SelectedValue&#8221;</span> <span style="color: red;">Type</span><span style="color: blue;">=&#8221;Int32&#8243;</span> <span style="color: blue;">/&gt;</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span><span style="color: blue;">&lt;/</span><span style="color: #a31515;">SelectParameters</span><span style="color: blue;">&gt;</span></span></span></p>
<p>Explanation: In the dropdownlist declaration, I&#8217;ve added the AppendDataBoundItems=&#8221;true&#8221; attribute. I then add a list item that displays &#8220;All&#8221; with a value of 0. In the datasource for the gridview, the SelectCommand has the additional OR clause 0 = @CustID. So when the page first loads, or when the user selects &#8220;All&#8221;, the dropdown has a value of 0, so 0=0 becomes true.</p>
<p><strong>If you found my post helpful and it saved you time or money, please contribute by making a small donation. Even a dollar or two adds up!</strong></p>
<form action="https://www.paypal.com/cgi-bin/webscr" enctype="application/x-www-form-urlencoded" method="post">
<input name="cmd" type="hidden" value="_s-xclick" />
<input name="hosted_button_id" type="hidden" value="6543452" />
<input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" type="image" /> <img src="https://www.paypal.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /><br />
</form>
]]></content:encoded>
			<wfw:commentRss>http://allgoodblogs.com/fredblau/?feed=rss2&amp;p=48</wfw:commentRss>
		</item>
		<item>
		<title>My Favorite PC Utilities</title>
		<link>http://allgoodblogs.com/fredblau/?p=32</link>
		<comments>http://allgoodblogs.com/fredblau/?p=32#comments</comments>
		<pubDate>Mon, 02 Mar 2009 14:59:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[2-User Tips]]></category>

		<guid isPermaLink="false">http://allgoodblogs.com/fredblau/?p=32</guid>
		<description><![CDATA[I don&#8217;t go crazy over PC helper programs. But I&#8217;ve found a few that I absolutely rely on, so I would like to pass them on. Here are 4 programs that I use constantly. I&#8217;ll review some others in a second post.
Roboform
The first program is Roboform.  This program allows you to save and retrieve all [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t go crazy over PC helper programs. But I&#8217;ve found a few that I absolutely rely on, so I would like to pass them on. Here are 4 programs that I use constantly. I&#8217;ll review some others in a second post.</p>
<p><strong>Roboform</strong><br />
The first program is <a href="http://www.roboform.com">Roboform</a>.  This program allows you to save and retrieve all your web passwords. You enter a single (strong) password the first time you use it forthe day.  After that, any time you go to a website that requires a log-in and password, Roboform allows you to log in with a single click. You also have the ability to launch your password protected pages from Roboform. All the functionality resides in a simple toolbar on your Web Browser. Roboform also allows you to generate strong random passwords, create password protected notes, and save more than one profile or identity. One of the features I like about Roboform is that its data is stored in the <em>My Documents</em> folder, so the data is backed up when you back up your documents. Roboform stays active as long as you are logged in to your computer, but you can also set a timeout that requires you to enter your password after a certain time, for example 3 hours.</p>
<p> <strong>Xobni<br />
</strong>I just recently found about about <a href="http://xobni.com">Xobni</a> (inbox spelled backwards). This is a plug-in for Microsoft Outlook. It indexes all your email and allows you to very quickly and easily search by name or keyword. But that&#8217;s just the start. It will also allow you to view email threads and all the attachments related to a search result. It also will display the &#8220;network&#8221; of people you send and receive emails from by linking together all the CC:&#8217;s on your emails. It provides a variety of useful and interesting statistics about your email contacts - including average response time and a histogram of the time of day that they send you emails. It is a free program and seems to work unobtrusively within Outlook.</p>
<p> <strong>Stegano Safe<br />
</strong><a href="http://www.steganos.com/us/products/data-security/safe/overview/">Steganos</a> is a &#8220;virtual safe&#8221; used to store sensitive documents and data.  It works by creating an encrypted file that acts as a virtual hard drive. So after I open the safe, I see a new hard drive (e.g. <strong>H: drive</strong>) on my system. You can have several virtual drives for different purposes, and drives can be as large as your system allows. I have used a 50 GB virtual safe successfully. I use a 20 character password, which the program deems uncrackable. One thing I like about Steganos is that it automatically closes the safe if you log off, sleep, hibernate, or shut-off the computer. The program also includes a &#8220;shredder&#8221; which will completely wipe a file from your hard drive, or clean the empty space on your hard drive by writing random information to it. This is an important sidebar - when you &#8220;delete&#8221; a file from you hard drive Windows only removes the file name from the directory. There are many programs that allow one to recover deleted files and they can also be used maliciously if someone steals your computer.</p>
<p><strong>Mailwasher Pro</strong><br />
I don&#8217;t let any email come directly into my inbox. Instead I use a program called <a href="http://www.mailwasher.net/">Mailwasher</a>. Mailwasher checks my mailboxes just like Microsoft Outlook does. But instead of reading the entire email, it just displays the <strong>Subject</strong> and <strong>From</strong> address of each email. It also scans the first hundred lines of so of each email so that it can flag it as good or spam. A very efficient display shows all my pending email, color coded as good, or spam. One click flags an email as spam, or a sender as either friend or foe. If you flag an email as spam it &#8220;learns&#8221; the content of the email so it can flag similar mail. Clicking a button to process the mail deletes all the bad mail from my email server. I can then go into Outlook and manually download my mail. The downside to this process is that receiving email becomes a two step process - first to review and filter the email with Mailwasher, second to retrieve the mail with Outlook. However, at one time I was receiving 200 or more spam letters a day, so it was well worth it to keep my Outlook folders clean. My email server now has a spam filter which removes 95% of the spam I receive, so Mailwasher isn&#8217;t as much of a necessity. But I still prefer to screen the email before it hits my inbox.</p>
<p> <strong>Disclaimer</strong>: This is not an endorsement for any of the products, and I can&#8217;t be held responsible for your use (or misuse) of them. Please try at your own risk!</p>
]]></content:encoded>
			<wfw:commentRss>http://allgoodblogs.com/fredblau/?feed=rss2&amp;p=32</wfw:commentRss>
		</item>
		<item>
		<title>MS Outlook Woes - Contacts won&#8217;t load</title>
		<link>http://allgoodblogs.com/fredblau/?p=10</link>
		<comments>http://allgoodblogs.com/fredblau/?p=10#comments</comments>
		<pubDate>Sun, 01 Mar 2009 20:41:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[2-User Tips]]></category>

		<category><![CDATA[3-Tech Tips]]></category>

		<guid isPermaLink="false">http://allgoodblogs.com/fredblau/?p=10</guid>
		<description><![CDATA[I&#8217;ve recently had the pleasure of upgrading from Outlook 2003 to 2007, as well as assisting a client do the same. Neither endeavors went as easily as I would have liked!
On my installation, Outlook lost the ability to pull contacts into an email. If I opened a new email and clicked the TO button, nothing [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently had the pleasure of upgrading from Outlook 2003 to 2007, as well as assisting a client do the same. Neither endeavors went as easily as I would have liked!</p>
<p>On my installation, Outlook lost the ability to pull contacts into an email. If I opened a new email and clicked the <strong><em>TO</em></strong> button, nothing came up. Yet if I went into my contacts, they were all there. I did a search on this and found a lot a lot of similar woes. Most of the answers pointed to this Microsoft Bulletin:<br />
<a href="http://support.microsoft.com/kb/287563/en-us">http://support.microsoft.com/kb/287563/en-us</a><br />
This document explains how to go into account settings and add an address book to Outlook, then go to your Contact List &#8220;<em>Folder Properties</em>&#8221; and click a checkbox to &#8220;Show this folder as an e-mail address book .&#8221;</p>
<p>Easy enough, except the first step didn&#8217;t let me make any changes, and in the second step the checkbox was grayed out.</p>
<p>Now the problem became really interesting - I searched on various phrases about the checkbox being grayed out and found many similar problems and no answers. After a lot of searching, and combing pages of results, I found this Microsoft Bulletin:<br />
<a href="http://support.microsoft.com/kb/829918/en-us">http://support.microsoft.com/kb/829918/en-us</a></p>
<p>In short, there is no way to fix this problem, except to create a new user profile in Outlook. This bulletin explains how to create a new profile in Outlook. It was a relatively easy solution, except Outlook 2007 doesn&#8217;t let you export and import mail accounts so I had to manually re-enter my 6 or so email accounts. So apparently there is no real solution to this problem - recreating the profile is a nice way of saying &#8220;Start Over&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://allgoodblogs.com/fredblau/?feed=rss2&amp;p=10</wfw:commentRss>
		</item>
		<item>
		<title>Hiding an asp.net Gridview column while allowing update and Insert</title>
		<link>http://allgoodblogs.com/fredblau/?p=9</link>
		<comments>http://allgoodblogs.com/fredblau/?p=9#comments</comments>
		<pubDate>Sun, 22 Feb 2009 00:35:00 +0000</pubDate>
		<dc:creator>Fred Blau</dc:creator>
		
		<category><![CDATA[3-Tech Tips]]></category>

		<category><![CDATA[4-Code snippets]]></category>

		<guid isPermaLink="false">http://localhost/WP1/?p=9</guid>
		<description><![CDATA[Sometimes you want to put a value into a gridview column for updates and inserts, but you don&#8217;t want it shown. If you set the column to invisible, it will not be included in Updates or Inserts  defined in the SQLDataSource. The solution is to set it to Display:None through CSS. Here is how to [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes you want to put a value into a gridview column for updates and inserts, but you don&#8217;t want it shown. If you set the column to invisible, it will not be included in Updates or Inserts  defined in the SQLDataSource. The solution is to set it to Display:None through CSS. Here is how to do it.<br />
First define the style, either in your stylesheet, or in your HTM header:</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-family: Times New Roman;"><span style="font-size: 10pt; color: blue; mso-ansi-language: #0400;"><span style="mso-spacerun: yes;"> </span>&lt;</span><span style="font-size: 10pt; color: #a31515; mso-ansi-language: #0400;">style</span><span style="font-size: 10pt; mso-ansi-language: #0400;"> <span style="color: red;">type</span><span style="color: blue;">=&#8221;text/css&#8221;&gt;</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">    </span><span style="color: #a31515;">.Hide</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">    </span>{</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">      </span><span style="color: red;">display</span>: <span style="color: blue;">none</span>;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">    </span>}</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">  </span><span style="color: blue;">&lt;/</span><span style="color: #a31515;">style</span><span style="color: blue;">&gt;</span></span></span></p>
<p>The apply the style to the column in the Gridview:</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-family: Times New Roman;"><span style="font-size: 10pt; color: blue; mso-ansi-language: #0400;"><span style="mso-spacerun: yes;">                    </span>&lt;</span><span style="font-size: 10pt; color: #a31515; mso-ansi-language: #0400;">asp</span><span style="font-size: 10pt; color: blue; mso-ansi-language: #0400;">:</span><span style="font-size: 10pt; color: #a31515; mso-ansi-language: #0400;">BoundField</span><span style="font-size: 10pt; mso-ansi-language: #0400;"> <span style="color: red;">DataField</span><span style="color: blue;">=&#8221;your_field&#8221;</span> <span style="color: red;">HeaderText</span><span style="color: blue;">=&#8221;your_field&#8221;</span> <span style="color: red;">SortExpression</span><span style="color: blue;">=&#8221;your_field&#8221;&gt;</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">                      </span><span style="color: blue;">&lt;</span><span style="color: #a31515;">ItemStyle</span> <span style="color: red;">CssClass</span><span style="color: blue;">=&#8221;Hide&#8221;</span> <span style="color: blue;">/&gt;</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">                      </span><span style="color: blue;">&lt;</span><span style="color: #a31515;">HeaderStyle</span> <span style="color: red;">CssClass</span><span style="color: blue;">=&#8221;Hide&#8221;</span> <span style="color: blue;">/&gt;</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: 10pt; mso-ansi-language: #0400;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;">                    </span><span style="color: blue;">&lt;/</span><span style="color: #a31515;">asp</span><span style="color: blue;">:</span><span style="color: #a31515;">BoundField</span><span style="color: blue;">&gt;</span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt; text-autospace: ideograph-numeric;"><span style="font-size: small; font-family: Times New Roman;"> </span></p>
<p> That&#8217;s all it takes!</p>
]]></content:encoded>
			<wfw:commentRss>http://allgoodblogs.com/fredblau/?feed=rss2&amp;p=9</wfw:commentRss>
		</item>
	</channel>
</rss>
