<?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"
	>

<channel>
	<title>Amp-Fender's anti-boredom portal</title>
	<atom:link href="http://amparaiso.com/blogs/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://amparaiso.com/blogs</link>
	<description>zero the boredom</description>
	<pubDate>Fri, 10 Jul 2009 03:41:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Define &#8220;UNFAIR&#8221;</title>
		<link>http://amparaiso.com/blogs/?p=52</link>
		<comments>http://amparaiso.com/blogs/?p=52#comments</comments>
		<pubDate>Fri, 10 Jul 2009 03:41:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Blogging at work]]></category>

		<guid isPermaLink="false">http://amparaiso.com/blogs/?p=52</guid>
		<description><![CDATA[I just failed quality, the reason; not setting customer expectations.
But I will not give up easily, I have to present my cause.
1.) How can you set expectations when you dont back it up? If you tell the customer what to expect, then tell them the facts. In my case, we were asked to tell the [...]]]></description>
			<content:encoded><![CDATA[<p>I just failed quality, the reason; not setting customer expectations.</p>
<p>But I will not give up easily, I have to present my cause.</p>
<p>1.) How can you set expectations when you dont back it up? If you tell the customer what to expect, then tell them the facts. In my case, we were asked to tell the customer that there might be a wait time during the transfer to tech support, yet we dont even have the tool to check what that wait time is&#8230;.</p>
<p>2.) Cherrypicked to fail -  I felt so frustrated I want to think that that call was cherry picked for me to fail. There are just times that you forgot 1 specific detail and your whole life will defend on it.. huhuhuh.. like what if you throw a pebble and that pebble hit a large stone that caused to hit another large stone that created a boulder or an avalance that would destroy a whole town?</p>
<p>3.) What about the things that I do better? - Sometimes we would like to scream for justice, where are the recognition for our accomplishments, how about the things that we contributed, why is it not noticed?</p>
<p>4.) The rules just sometimes sucks - Sometimes the rules in itself sometimes dont make sense..</p>
<p>Justice please&#8230;&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://amparaiso.com/blogs/?feed=rss2&amp;p=52</wfw:commentRss>
		</item>
		<item>
		<title>Unfortunate events just wouldn’t go away.</title>
		<link>http://amparaiso.com/blogs/?p=50</link>
		<comments>http://amparaiso.com/blogs/?p=50#comments</comments>
		<pubDate>Thu, 18 Jun 2009 20:49:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Unfortunate events just wouldnt go away]]></category>

		<guid isPermaLink="false">http://amparaiso.com/blogs/?p=50</guid>
		<description><![CDATA[How difficult is it to pretend that have moved on when in reality the pain still lingers? How can you fake a smile when the heart is in deep sorrow? Unanswerable questions, but when it hits you, there is no way of escaping, and to survive is to master the trick well. Unfortunately I couldn’t [...]]]></description>
			<content:encoded><![CDATA[<p>How difficult is it to pretend that have moved on when in reality the pain still lingers? How can you fake a smile when the heart is in deep sorrow? Unanswerable questions, but when it hits you, there is no way of escaping, and to survive is to master the trick well. Unfortunately I couldn’t just do it on her presence, so I avoided her as much as I could. Sometimes though, since or apartments are just adjacent, I could clearly hear her voice from beyond the GI wall separating our kitchens. Her laughter is such a painful blow to my pride. It’s definitely true that she didn’t really love me, not once. But how could this joke happen, where is fairness? Why Am I the only one that feels the pain? </p>
<p>It was almost the end of the second semester of school, but there still a big school event coming, the College SportsFest. One day on Room 201 of ESET, a few ladies went into the room to practice for the dance contest. One of them caught my eye, she looks beautiful to me, and with the help of a friend, I happened to know her name. Let’s say we call her “SEVEN”. By co-incident, ININ’s roommate and my close friend “BEBE” knows her, they were actually classmates for 1 semester. One morning while I was doing the laundry, I happened to eavesdrop on the conversation on the other side of the GI wall. “It’s them again”. But I noticed that the 2 voices are definitely  ININ and BEBE’s. Well, I thought to myself, this might be a good opportunity to have a heart check up. “Hey ladies, I bet you’ll are doing laundry”. “Hello ROY, I haven’t seen you in quite a few weeks already, how are you doing?” It’s a no brainer, that voice is ININ’s. Does she even have a heart at all, I thought to myself .She definitely have no right to ask how I am after all she was the whole reason why I am so depressed. “I’m definitely fine, and I’m very much okay” “Hey BE, I heard you and SEVEN have been classmates before, I want to talk to you about her if we can have time, can we?” “Sure we can ROY, anytime you want” “Oh ROY, so you have a new crush? I will definitely feel jealous about that, how come you didn’t even tell me about it darling?” She’s definitely trying to kill me now, I thought, but the last word still sounds so sweet to my ears. Is she teasing me? What is she trying to accomplish? “I have to move on; I couldn’t just lay down heart broken am I?”<br />
But nobody replied, I guess they are already done with the laundry. </p>
<p>The next morning on my way to school, I met BEBE. So we talked: “I know you did that on purpose ROY” “What?” “I felt ININ really felt bad about the conversation we have yesterday while we were doing laundry when you asked about SEVEN” “I don’t think so BE, how could she? She already dumped me remember?” “I know that but I think she still have that desire to be your friend, she often tells me how much she admires you. That you’re such a smart and thoughtful guy and that she tried her best to love you in return” “But we know she didn’t, and that all she did was to give me false hope and left me heart broken, how do you think she would feel if she were in my shoes” “Well, I thought we are to talk about SEVEN aren’t we?” So we talked about SEVEN until we arrived in the school. </p>
]]></content:encoded>
			<wfw:commentRss>http://amparaiso.com/blogs/?feed=rss2&amp;p=50</wfw:commentRss>
		</item>
		<item>
		<title>Change is inivitable</title>
		<link>http://amparaiso.com/blogs/?p=49</link>
		<comments>http://amparaiso.com/blogs/?p=49#comments</comments>
		<pubDate>Mon, 22 Dec 2008 06:53:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Blogging at work]]></category>

		<guid isPermaLink="false">http://amparaiso.com/blogs/?p=49</guid>
		<description><![CDATA[But why are we afraid of it. For one, it feels awkward. Second, we dont wanna go out of our comfort zones. This is true, we always hesitate to explore unknown territories. The sad thing is sooner or later we have to deal with change and if we don&#8217;t it will overrun us and will [...]]]></description>
			<content:encoded><![CDATA[<p>But why are we afraid of it. For one, it feels awkward. Second, we dont wanna go out of our comfort zones. This is true, we always hesitate to explore unknown territories. The sad thing is sooner or later we have to deal with change and if we don&#8217;t it will overrun us and will caugth us offguard.</p>
<p>It took some convincing for me to change coding from php to asp.net. I was getting comfortable with coding php and so I was afraid of moving to asp. But the moment I first get my hands on Visual Studio, I felt compelled by what it can offer. Productivity for one, I have to admit that in php I have to create tons of codes for a simple functionality. And I was so surprised to learn that in asp, someboady already created that function to me. So there I was switching technologies and programming languages and I thought everything will end there, but I was wrong again. The coding language I first used in asp.net is visual basic, which I am also a starter, and the syntax from coding php to VB is very different but fortunately I managed to sneak myway into VB and found myself even coding user controls which are advenced topics. I was able to exploit memberships, roles, profiles with no trouble until I bumped into a problem that starter like me can&#8217;t ressolve easily. The solution is presented but not in VB, its in C#, another coding language, still with much persistance, I was able to create the solution I wanted in VB. It seems that change is again lurking in the shadows and it seems like I have no option before it overruns me. So this afternoon I took that step forward in coding c# for the first time and I was able to successfully made it to the first base.</p>
<p>Change can be fearsome. But you will have to deal with it sooner or later. But then again why wait sooner when you can deal with it right now.</p>
]]></content:encoded>
			<wfw:commentRss>http://amparaiso.com/blogs/?feed=rss2&amp;p=49</wfw:commentRss>
		</item>
		<item>
		<title>Child controls on the page level</title>
		<link>http://amparaiso.com/blogs/?p=45</link>
		<comments>http://amparaiso.com/blogs/?p=45#comments</comments>
		<pubDate>Wed, 17 Dec 2008 02:09:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Blogging at work]]></category>

		<guid isPermaLink="false">http://amparaiso.com/blogs/?p=45</guid>
		<description><![CDATA[Accessing LoginView&#8217;s templated child controls on the page level
I blogged last week about my difficulty to access child controls inside the asp:LoginView server control. Fortunately, I bumped into an article just in time to get the answers I need. So here&#8217;s the complete solution to the problem:
 
Imports System
Imports System.Data
Imports System.Configuration
Imports System.Web
Imports System.Web.Security
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.WebControls.WebParts
Imports [...]]]></description>
			<content:encoded><![CDATA[<p>Accessing LoginView&#8217;s templated child controls on the page level</p>
<p>I blogged last week about my difficulty to access child controls inside the asp:LoginView server control. Fortunately, I bumped into an article just in time to get the answers I need. So here&#8217;s the complete solution to the problem:</p>
<p> </p>
<p>Imports System<br />
Imports System.Data<br />
Imports System.Configuration<br />
Imports System.Web<br />
Imports System.Web.Security<br />
Imports System.Web.UI<br />
Imports System.Web.UI.WebControls<br />
Imports System.Web.UI.WebControls.WebParts<br />
Imports System.Web.UI.HtmlControls</p>
<p>Namespace Fix</p>
<p>Public Class LoginViewFix<br />
Inherits LoginView</p>
<p>&lt;TemplateInstance(TemplateInstance.Single)&gt; _<br />
Public Overrides Property AnonymousTemplate() As System.Web.UI.ITemplate<br />
  Get<br />
     Return MyBase.AnonymousTemplate<br />
  End Get<br />
  Set(ByVal value As System.Web.UI.ITemplate)<br />
     MyBase.AnonymousTemplate = value<br />
 End Set<br />
End Property</p>
<p>&lt;TemplateInstance(TemplateInstance.Single)&gt; _<br />
Public Overrides Property LoggedInTemplate() As System.Web.UI.ITemplate<br />
  Get<br />
    Return MyBase.LoggedInTemplate<br />
  End Get<br />
  Set(ByVal value As System.Web.UI.ITemplate)<br />
    MyBase.LoggedInTemplate = value<br />
  End Set<br />
End Property</p>
<p>End Class</p>
<p>End Namespace</p>
<p>So theres the code, but how do we use it? First, If you are using visual web developer, you have to click the add new item and choose Class, then rename it to Fix.vb, and the IDE will ask you to place the code to the App_Code Folder, just click yes, then cut and paste this code, and the runtime will automatically compile your code as part of the application. If you will use it on a specific page you have to add a Register directive like this: &lt;%@ Register NameSpace=&#8221;Fix&#8221; TagPrefix=&#8221;fix&#8221; %&gt;  after the @Page line, then in your code, since we override the &lt;asp:LoginView /&gt;, you should now declare it as &lt;fix:LoginViewFix /&gt;</p>
<p>Common try it, It worked perfoectly for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://amparaiso.com/blogs/?feed=rss2&amp;p=45</wfw:commentRss>
		</item>
		<item>
		<title>accessing child controls in </title>
		<link>http://amparaiso.com/blogs/?p=43</link>
		<comments>http://amparaiso.com/blogs/?p=43#comments</comments>
		<pubDate>Thu, 11 Dec 2008 04:48:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Blogging at work]]></category>

		<guid isPermaLink="false">http://amparaiso.com/blogs/?p=43</guid>
		<description><![CDATA[This past week, I had a hard time figuring out what I would like to happen in my website.
The scenario is like this:
I want a little image in my website to display a profile&#8217;s photo when they user is logged in. So I used asp:LoginView control to accomplish it. Inside this control, I have 2 [...]]]></description>
			<content:encoded><![CDATA[<p>This past week, I had a hard time figuring out what I would like to happen in my website.<br />
The scenario is like this:<br />
I want a little image in my website to display a profile&#8217;s photo when they user is logged in. So I used asp:LoginView control to accomplish it. Inside this control, I have 2 templates, the anonymoustemplate and loggedintemplate, inside the loggedintemplate, I put an asp:Imaage control and left blank the ImageUrl property so I can programmatically assign it to the profile property called PathToPhoto. The problem is that, in the page_load event of that page, when I tried to assign the ImageUrl property into the persons profile, it says that the image object is not declared. I read MSDN, and what I found out is that, the image control is a child of the loginview control, It took me 3 days of trying to figure out what syntax to use so I can access the members of the child control. Unfortunately I didnt get what I was looking for, So I push my way thru asp.net and tricked it. I used FindControl method of the loginviewcontrol to find out if a certain control is loaded by using its id.</p>
<p>Dim MyCollection As ControlCollection<br />
MyCollection = LoginView1.Controls<br />
Dim MyControl As Control<br />
MyControl = MyCollection.FindControl(&#8221;ImageID&#8221;)<br />
  If(Not MyControl Is Nothing)<br />
    Dim MyImage As Image = New Image<br />
    MyImage.ImageUrl = Profile.PathToPhoto<br />
    MyCollection.Add(MyImage)<br />
  End If</p>
<p>I know this is not the most effecient way to do it, But at least it serves the purpose, Im gonna have to further search the web for the proper way of doing it.</p>
]]></content:encoded>
			<wfw:commentRss>http://amparaiso.com/blogs/?feed=rss2&amp;p=43</wfw:commentRss>
		</item>
		<item>
		<title>have you read THIS and THAT?</title>
		<link>http://amparaiso.com/blogs/?p=42</link>
		<comments>http://amparaiso.com/blogs/?p=42#comments</comments>
		<pubDate>Tue, 09 Dec 2008 05:22:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://amparaiso.com/blogs/?p=42</guid>
		<description><![CDATA[It&#8217;s been like months since I post my last blog, and if not for Louie who fixed and kicked the spams out, I wouldnt have blogged again today. It&#8217;s been an interesting week so far, prior to Sundays big boxing history match, there was so much anticipation. Of course as a Filipino and as a [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been like months since I post my last blog, and if not for Louie who fixed and kicked the spams out, I wouldnt have blogged again today. It&#8217;s been an interesting week so far, prior to Sundays big boxing history match, there was so much anticipation. Of course as a Filipino and as a boxing fan. I am not that ignorant of the ins and outs of the sport. We tend to boast our knowledge and know hows if we dont want to embarass ourselves in front of others. So we tend to be &#8220;experts&#8221; and boasts our ideas as if we are accredited ESPN broadcasters. And I confess I was not an excemption. But I dont want to share my ideas about the hottest topic and talk so far, I&#8217;m sure everybody already got dizzy with tons and tons of articles online discussing last sundays event. I dont even want to mention what the event was. But there was one article that was a complete opposite of what was supposed to be the norm: <a href="http://www.manilastandardtoday.com/?page=connieVeneracion_dec9_2008 "> The Pacquiao frenzy<br />
</a>You read it and you know the blogger is not wrong. Im not KJ for those who are still in the celebration mode, but she is 100% right, and that&#8217;s why the Philippines is not moving forward. </p>
<p>Thanks to Louie for fixing the spams, and did you know that he doubted the protagonist before he went into the ring&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://amparaiso.com/blogs/?feed=rss2&amp;p=42</wfw:commentRss>
		</item>
		<item>
		<title>Asp.net 2.0</title>
		<link>http://amparaiso.com/blogs/?p=41</link>
		<comments>http://amparaiso.com/blogs/?p=41#comments</comments>
		<pubDate>Thu, 23 Oct 2008 07:58:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Blogging at work]]></category>

		<category><![CDATA[]]></category>

		<guid isPermaLink="false">http://amparaiso.com/blogs/?p=41</guid>
		<description><![CDATA[Asp.net 2.0 – ease in creating users and roles

 
I assume that are in these following scenarios:
1. You are paying a company to host your website (ex: www.hostony.com, www.bravehost.com)
2. Your hosting is Windows-based (run by IIS)
3. You have a MSSQL server instance database and you know these information: server name, username, password, database name
 
Step [...]]]></description>
			<content:encoded><![CDATA[<p>Asp.net 2.0 – ease in creating users and roles</p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;">
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Times New Roman; font-size: small;">I assume that are in these following scenarios:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Times New Roman; font-size: small;">1. You are paying a company to host your website (ex: </span><a href="http://www.hostony.com/"><span style="font-family: Times New Roman; font-size: small;">www.hostony.com</span></a><span style="font-family: Times New Roman; font-size: small;">, </span><a href="http://www.bravehost.com/"><span style="font-family: Times New Roman; font-size: small;">www.bravehost.com</span></a><span style="font-family: Times New Roman; font-size: small;">)</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Times New Roman; font-size: small;">2. Your hosting is Windows-based (run by IIS)</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Times New Roman; font-size: small;">3. You have a MSSQL server instance database and you know these information: server name, username, password, database name</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Times New Roman; font-size: small;">Step 1: Creating MSSQL Provider table for membership and roles</span></p>
<ol style="margin-top: 0in;" type="1">
<li class="MsoNormal" style="margin: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;"><span style="font-family: Times New Roman; font-size: small;">Navigate to </span><span class="code"><span style="font-size: 8.5pt;"><span style="font-family: Courier New; color: #000066;">[drive:]\%windir%\Microsoft.NET\Framework\v2.0.50727</span></span></span><span style="font-size: 8pt; font-family: Verdana; color: #000000;"> </span><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>and run a utility called aspnet_regsql.exe</span></span></li>
<li class="MsoNormal" style="margin: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;"><span style="font-family: Times New Roman; font-size: small;">Supply MSSQL credentials</span></li>
<li class="MsoNormal" style="margin: 0in 0in 0pt; mso-list: l0 level1 lfo1; tab-stops: list .5in;"><span style="font-family: Times New Roman; font-size: small;">Follow GUI prompts and finish the utility</span></li>
</ol>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Times New Roman; font-size: small;">BINGO, you now have an empty Provider table</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span id="more-41"></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt;"><span style="font-family: Times New Roman; font-size: small;">Step 2: Configuring web.config xml file</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt; text-indent: -0.25in; mso-list: l1 level1 lfo2; tab-stops: list 21.0pt;"><span style="font-family: Times New Roman;"><span style="mso-list: Ignore;"><span style="font-size: small;">1.</span><span style="font: 7pt "> </span></span><span style="font-size: small;">Navigate in your web control panel to open and edit we.config file</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt; text-indent: -0.25in; mso-list: l1 level1 lfo2; tab-stops: list 21.0pt;"><span style="font-family: Times New Roman;"><span style="mso-list: Ignore;"><span style="font-size: small;">2.</span><span style="font: 7pt "> </span></span><span style="font-size: small;">Copy this code: <strong style="mso-bidi-font-weight: normal;"><em style="mso-bidi-font-style: normal;">change the one on italics</em></strong></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;connectionStrings&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;add name=&#8221;MySqlConnection&#8221; connectionString=&#8221;Data Source=<em style="mso-bidi-font-style: normal;">server name</em>;Initial Catalog=<em style="mso-bidi-font-style: normal;">database name</em>;User ID=<em style="mso-bidi-font-style: normal;">username</em>;Password=<em style="mso-bidi-font-style: normal;">password</em>&#8221; /&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/connectionStrings&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;membership defaultProvider=&#8221;SqlProvider&#8221; userIsOnlineTimeWindow=&#8221;15&#8243;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;providers&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;clear /&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;add</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>name=&#8221;SqlProvider&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>type=&#8221;System.Web.Security.SqlMembershipProvider&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>connectionStringName=&#8221;MySqlConnection&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>applicationName=&#8221;MyApplication&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>enablePasswordRetrieval=&#8221;true&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>enablePasswordReset=&#8221;true&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>requiresQuestionAndAnswer=&#8221;false&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>requiresUniqueEmail=&#8221;false&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>passwordFormat=&#8221;Clear&#8221; /&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/providers&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/membership&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span></span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;roleManager defaultProvider=&#8221;MyRoleProvider&#8221; </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>enabled=&#8221;true&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>cacheRolesInCookie=&#8221;true&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>cookieName=&#8221;.ASPROLES&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>cookieTimeout=&#8221;60&#8243;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>cookiePath=&#8221;/&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>cookieRequireSSL=&#8221;false&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>cookieSlidingExpiration=&#8221;true&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>cookieProtection=&#8221;All&#8221; &gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;providers&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;clear /&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;add</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>name=&#8221;MyRoleProvider&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>type=&#8221;System.Web.Security.SqlRoleProvider&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>connectionStringName=&#8221;MySqlConnection&#8221; </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>applicationName=&#8221;SampleApplication&#8221; /&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/providers&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/roleManager&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-family: Times New Roman; font-size: small;">Save the web.config file in the root directory {wwwroot} </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 3pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt; text-indent: -0.25in; mso-list: l1 level1 lfo2; tab-stops: list 21.0pt;"><span style="font-family: Times New Roman;"><span style="mso-list: Ignore;"><span style="font-size: small;">3.</span><span style="font: 7pt "> </span></span><span style="font-size: small;">Create web pages for creating users, creating roles, associating roles to users </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;">Ex1. Creating users</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;">&lt;asp:CreateUserWizard runat=”server” ID=”user1”&gt;&lt;/asp:CreateUserWizard&gt;</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 39pt; text-indent: -0.25in; mso-list: l2 level1 lfo3; tab-stops: list 39.0pt;"><span style="font-family: Symbol;"><span style="mso-list: Ignore;"><span style="font-size: small;">·</span><span style="font: 7pt "> </span></span></span><span style="font-family: Times New Roman; font-size: small;">this very simple code will run just fine </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;">Ex2. Creating roles</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><em style="mso-bidi-font-style: normal;"><span style="font-size: small;"><span style="font-family: Times New Roman;">Copy this code in the body of your asp form:</span></span></em></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;">&lt;script runat=&#8221;server&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;">Dim rolesArray() As String</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;">Public Sub Page_Load(sender As Object, args As EventArgs)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>If Not IsPostBack Then</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Bind roles to GridView.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>rolesArray = Roles.GetAllRoles()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>RolesGrid.DataSource = rolesArray</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>RolesGrid.DataBind()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>End If</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;">End Sub</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;">Public Sub CreateRole_OnClick(sender As Object, args As EventArgs)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Dim createRole As String = RoleTextBox.Text</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Try</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>If Roles.RoleExists(createRole) Then</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Msg.Text = &#8220;Role &#8216;&#8221; &amp; Server.HtmlEncode(createRole) &amp; &#8220;&#8216; already exists. Please specify a different role name.&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Return</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>End If</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Roles.CreateRole(createRole)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Msg.Text = &#8220;Role &#8216;&#8221; &amp; Server.HtmlEncode(createRole) &amp; &#8220;&#8216; created.&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Re-bind roles to GridView.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>rolesArray = Roles.GetAllRoles()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>RolesGrid.DataSource = rolesArray</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>RolesGrid.DataBind()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Catch</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Msg.Text = &#8220;Role &#8216;&#8221; &amp; Server.HtmlEncode(createRole) &amp; &#8220;&#8216; &lt;u&gt;not&lt;/u&gt; created.&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>End Try</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;">End Sub</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;">&lt;/script&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;h3&gt;Create a Role&lt;/h3&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;asp:Label id=&#8221;Msg&#8221; ForeColor=&#8221;maroon&#8221; runat=&#8221;server&#8221; /&gt;&lt;BR&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Role name: </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;asp:TextBox id=&#8221;RoleTextBox&#8221; runat=&#8221;server&#8221; /&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;asp:Button Text=&#8221;Create Role&#8221; id=&#8221;CreateRoleButton&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>runat=&#8221;server&#8221; OnClick=&#8221;CreateRole_OnClick&#8221; /&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;P&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;asp:GridView runat=&#8221;server&#8221; CellPadding=&#8221;2&#8243; id=&#8221;RolesGrid&#8221; </span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Gridlines=&#8221;Both&#8221; CellSpacing=&#8221;2&#8243; AutoGenerateColumns=&#8221;false&#8221; &gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;HeaderStyle BackColor=&#8221;navy&#8221; ForeColor=&#8221;white&#8221; /&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;Columns&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;asp:TemplateField HeaderText=&#8221;Roles&#8221; runat=&#8221;server&#8221; &gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;ItemTemplate&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;%# Container.DataItem.ToString() %&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/ItemTemplate&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/asp:TemplateField&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/Columns&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/asp:GridView&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;">Exp3. Associating users to roles:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><em style="mso-bidi-font-style: normal;"><span style="font-size: small;"><span style="font-family: Times New Roman;">Copy this code in the body of your asp form:</span></span></em></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;">&lt;script runat=&#8221;server&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Dim rolesArray() As String</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Dim users As MembershipUserCollection</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Dim usersInRole() As String</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Public Sub Page_Load()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Msg.Text = &#8220;&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>If Not IsPostBack Then</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Bind roles to ListBox.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>rolesArray = Roles.GetAllRoles()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>RolesListBox.DataSource = rolesArray</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>RolesListBox.DataBind()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Bind users to ListBox.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>users = Membership.GetAllUsers()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>UsersListBox.DataSource = users</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>UsersListBox.DataBind()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>End If</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>If Not RolesListBox.SelectedItem Is Nothing Then</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Show users in role. Bind user list to GridView.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>usersInRole = Roles.GetUsersInRole(RolesListBox.SelectedItem.Value)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>UsersInRoleGrid.DataSource = usersInRole</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>UsersInRoleGrid.DataBind()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>End If</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>End Sub</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Public Sub AddUsers_OnClick(ByVal sender As Object, ByVal args As EventArgs)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Verify that a role is selected.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>If RolesListBox.SelectedItem Is Nothing Then</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Msg.Text = &#8220;Please select a role.&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Return</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>End If</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Verify that at least one user is selected.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>If UsersListBox.SelectedItem Is Nothing Then</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Msg.Text = &#8220;Please select one or more users.&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Return</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>End If</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Create list of users to be added to the selected role.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Dim newusers(UsersListBox.GetSelectedIndices().Length - 1) As String</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>For i As Integer = 0 To newusers.Length - 1</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>newusers(i) = UsersListBox.Items(UsersListBox.GetSelectedIndices(i)).Value</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>Next</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Add the users to the selected role.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Try</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Roles.AddUsersToRole(newusers, RolesListBox.SelectedItem.Value)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Re-bind users in role to GridView.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>usersInRole = Roles.GetUsersInRole(RolesListBox.SelectedItem.Value)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>UsersInRoleGrid.DataSource = usersInRole</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>UsersInRoleGrid.DataBind()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Catch e As Exception</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Msg.Text = e.Message</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>End Try</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>End Sub</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Public Sub UsersInRoleGrid_RemoveFromRole(ByVal sender As Object, ByVal args As GridViewCommandEventArgs)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Get the selected user name to remove.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Dim index As Integer = Convert.ToInt32(args.CommandArgument)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Dim username As String = (CType(UsersInRoleGrid.Rows(index).Cells(0).Controls(0), DataBoundLiteralControl)).Text</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Remove the user from the selected role.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Try</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Roles.RemoveUserFromRole(username, RolesListBox.SelectedItem.Value)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Catch e As Exception</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Msg.Text = &#8220;An exception of type &#8221; &amp; e.GetType().ToString() &amp; _</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8221; was encountered removing the user from the role.&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>End Try</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&#8216; Re-bind users in role to GridView.</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>usersInRole = Roles.GetUsersInRole(RolesListBox.SelectedItem.Value)</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>UsersInRoleGrid.DataSource = usersInRole</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>UsersInRoleGrid.DataBind()</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>End Sub</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;">&lt;/script&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;">&lt;h3&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Role Membership&lt;/h3&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;asp:Label ID=&#8221;Msg&#8221; ForeColor=&#8221;maroon&#8221; runat=&#8221;server&#8221; /&gt;&lt;br /&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;table cellpadding=&#8221;3&#8243; border=&#8221;0&#8243;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;tr&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;td valign=&#8221;top&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Roles:&lt;/td&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;td valign=&#8221;top&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;asp:ListBox ID=&#8221;RolesListBox&#8221; runat=&#8221;server&#8221; Rows=&#8221;8&#8243; AutoPostBack=&#8221;true&#8221; /&gt;&lt;/td&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;td valign=&#8221;top&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Users:&lt;/td&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;td valign=&#8221;top&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;asp:ListBox ID=&#8221;UsersListBox&#8221; DataTextField=&#8221;Username&#8221; Rows=&#8221;8&#8243; SelectionMode=&#8221;Multiple&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>runat=&#8221;server&#8221; /&gt;&lt;/td&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;td valign=&#8221;top&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;asp:Button Text=&#8221;Add User(s) to Role&#8221; ID=&#8221;AddUsersButton&#8221; runat=&#8221;server&#8221; OnClick=&#8221;AddUsers_OnClick&#8221; /&gt;&lt;/td&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/tr&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;tr&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;td valign=&#8221;top&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>Users In Role:&lt;/td&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;td valign=&#8221;top&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;asp:GridView runat=&#8221;server&#8221; CellPadding=&#8221;4&#8243; ID=&#8221;UsersInRoleGrid&#8221; AutoGenerateColumns=&#8221;false&#8221;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>GridLines=&#8221;None&#8221; CellSpacing=&#8221;0&#8243; OnRowCommand=&#8221;UsersInRoleGrid_RemoveFromRole&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;HeaderStyle BackColor=&#8221;navy&#8221; ForeColor=&#8221;white&#8221; /&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;Columns&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;asp:TemplateField HeaderText=&#8221;User Name&#8221; &gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;ItemTemplate&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;%# Container.DataItem.ToString() %&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/ItemTemplate&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/asp:TemplateField&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;asp:ButtonField Text=&#8221;Remove From Role&#8221; ButtonType=&#8221;Link&#8221; /&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/Columns&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/asp:GridView&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/td&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/tr&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/table&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;">You now have 3 pages necessary for administering your website</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;">Step3. Configure web.config for authorization</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><em style="mso-bidi-font-style: normal;"><span style="font-size: small;"><span style="font-family: Times New Roman;">Copy this code to your web.config file:</span></span></em></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><em style="mso-bidi-font-style: normal;"><span style="font-family: Times New Roman; font-size: small;"> </span></em></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;">&lt;location path=&#8221;asp/create_roles.aspx&#8221;&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;system.web&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;authorization&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;allow roles=&#8221;webmasters&#8221; /&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;deny users=&#8221;*&#8221;/&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/authorization&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/system.web&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-size: small;"><span style="font-family: Times New Roman;"><span style="mso-spacerun: yes;"> </span>&lt;/location&gt;</span></span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;">CONGRATULATIONS.. YOU SHOULD NOW HAVE A BARE FULLY RUNNING MEMBERS AND ROLES DEFINED WEBSITE</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;">If not.. go send me an email flimh@yahoo.com</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;">Resources:</span></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><a href="http://www.msdn.com/"><span style="font-family: Times New Roman; font-size: small;">www.msdn.com</span></a></p>
<p class="MsoNormal" style="margin: 0in 0in 0pt 21pt;"><span style="font-family: Times New Roman; font-size: small;"> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://amparaiso.com/blogs/?feed=rss2&amp;p=41</wfw:commentRss>
		</item>
		<item>
		<title>6 days in chong hua hospital</title>
		<link>http://amparaiso.com/blogs/?p=40</link>
		<comments>http://amparaiso.com/blogs/?p=40#comments</comments>
		<pubDate>Sun, 14 Sep 2008 07:52:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Blogging at work]]></category>

		<guid isPermaLink="false">http://amparaiso.com/blogs/?p=40</guid>
		<description><![CDATA[The last news grandmothers would like to hear: “your grandchild was hospitalized”. It took me hours to think and rethink if I would send her a text message about fender’s situation. Three days ago, I started to notice that fender is coughing frequently; I can’t ignore the pain and hassle it brought him. I had [...]]]></description>
			<content:encoded><![CDATA[<p>The last news grandmothers would like to hear: “your grandchild was hospitalized”. It took me hours to think and rethink if I would send her a text message about fender’s situation. Three days ago, I started to notice that fender is coughing frequently; I can’t ignore the pain and hassle it brought him. I had to ask my wife what she thinks about the situation, she was kinda relax about it. Saturday came and the situation got worst, he’s coughing more frequent now, and it even wakes him up from sleep. “I think this is serious, we have to look for a pedia” I told my wife. That afternoon I called our company’s insurance and asked for available doctors, she referred me to a doctor in cebu doctors hospital so I called the office, but to my surprise, they doctor is not available till Monday. So I have to wait 2 more days, I started to feel guilty about fender, I just can’t bear hearing him cough with so much difficulty. Sunday came and I started to panic as fender show’s signs of tiresome coughing. I chatted with our company’s floor coordinator and I told him that I will not be able to report to work Monday since ill be taking my little boy to the pedia. Amazingly, Mark told me that there is a consultation in the Emergency Room of chong hua hospital, so we get dressed and rushed to the hospital. His breathing and heartbeat rate were checked, the doctors asked questions about the cough, fender’s medical records as I tried to answer every question most honestly. A few minutes later, the doctor advised us that fender needs to be admitted to the hospital since heartbeat and breathing rate are above normal. My wife fainted, she didn’t dare watch as the nurse put the needle in fender’s arms, then she cried. Amazingly the baby didn’t even cry. We were then transferred to room 330 where I wondered what will happen next.</p>
<p><span id="more-40"></span></p>
<p>1st night (Sept. 7, 2008)<br />
Me and my wife had little sleep, fender is not used to have dextrose in his right hand, so every so often he would use his left hand to try to remove the thing on his right.</p>
<p>Day 2 (Sept. 8, 2008. Monday)<br />
We met Dr. Lim, our pediatrician, he asked if we have had histories of asthma or coughs, and he told me about fenders possible problem, pediatric community acquired pneumonia-C, transmitted to him probably from somebody else’s. He also provides me a time-table for fenders treatment. 3-4 days observation with the antiviral medicine, and he will be referring us to another doctor. He also assured me that fender’s case is not critical and that he has had worst cases of pneumonia before. His assuring words lift up my spirits.</p>
<p>Day 3 (Sept. 9, 2008. Tuesday)<br />
Doctor Lim visited us in the morning and asked about fender’s situation. Fender is not coughing as frequently as before. In the afternoon another doctor checked fender’s situation. We were shocked when she told us that fender needs to be put on oxygen. She explained that fender is breathing heavily and the rate is above normal, and that the oxygen that he would inhale may not be enough. She told us further that if his breathing rate continues to increase, his brain and other organs might suffer. So the nurses put another tube to fender.</p>
<p>Day 4 (Sept. 10, 2008. Wednesday)<br />
Doctor Lim rushed early in the hospital and explained why we have to put fender on oxygen, he also told us that they need to apply some kind of steroid so fenders breathing would relax, and they also added another hose for the antiviral medicine. Fenders already have 3 tubes on him. Doctor Lim assured me also that the oxygen might be removed later that day since fender’s breathing is back to normal. I went home that day and sent an email to my sister about fender’s situation; I almost cried my heart out while writing my email. Why is this happening to my baby?</p>
<p>Day 5 (Sept. 11, 2008. Thursday)<br />
Doctor Lim checked fender early and told us that he will take charge of fender’s medication. The oxygen tube has been removed that day and fender shows better signs, his breathing is back to normal and coughs less often. Fender however did not poop for like 3 days and I started to worry about it, he also refuses to drink milk from the bottle and from his mother’s breast. We also noticed that he’s lighter than before.</p>
<p>Day 6 (Sept. 11, 2008. Friday)<br />
We were so relieved that fender finally pooped and breastfed. Doctor Lim also assured us that fenders breathing and heart rate are all back to normal and that we are already ready to be checked out. I processed my intellicare insurance and philhealth insurance and we went home that day.</p>
<p>Fender is still coughing but less frequently now.</p>
]]></content:encoded>
			<wfw:commentRss>http://amparaiso.com/blogs/?feed=rss2&amp;p=40</wfw:commentRss>
		</item>
		<item>
		<title>Pacman, Dela Hoya, MILF, Ramadan, and 30 Million dollars.</title>
		<link>http://amparaiso.com/blogs/?p=39</link>
		<comments>http://amparaiso.com/blogs/?p=39#comments</comments>
		<pubDate>Tue, 02 Sep 2008 12:04:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Blogging at work]]></category>

		<guid isPermaLink="false">http://amparaiso.com/blogs/?p=39</guid>
		<description><![CDATA[I would love to see pacman win, but I wonder what happens if he lose, Anyway, win or lose, pacman would not make much of a difference in the life of the ordinary people and the masses.
- Win or lose, pacman would be $50 million richer, while those who win by betting on him takes [...]]]></description>
			<content:encoded><![CDATA[<p>I would love to see pacman win, but I wonder what happens if he lose, Anyway, win or lose, pacman would not make much of a difference in the life of the ordinary people and the masses.<br />
- Win or lose, pacman would be $50 million richer, while those who win by betting on him takes home a few thousand bucks, others take home nothing.<br />
- Win or lose, pacman will continue to sign up for commercial endorsements and will continue to amass large sums of money, while ordinary citizens continue to feel the effects of inflation and sky-rocketing prices.<br />
- Win or lose, pacman will be receiving a heroes welcome and will be look upon as a national treasure while soldiers and rebels dying fighting for their cause will be forgotten.<br />
For a change, I would like to see pacman lose, and I want to see how his political backers react.</p>
<p>The holy month of Ramadan has already started, Muslim leaders begged government military forces and MILF forces to temporarily ceasefire for the sake of the celebration. The AFP issued a statement that they will not stop the operation in hunting the renegade MILF commanders. Suppose Pacman and Golden-Boy fights everyday for the whole month of Ramadan, I’m pretty sure even if we will have a peaceful Ramadan even if nobody asks for a ceasefire, how Ironic.</p>
<p>How big is $30 Million? It’s just Php1.35 billion. If 1 sack of rice is Php2500.00 it would be able to buy <span id="more-39"></span>540000 sacks. If the pacquiao family can consume 1 sack of rice per day, it would take them 1479 years to consume it. So provided they only need to supply for themselves rice for 100 years, then they still have $27 million spare. If a liter of gasoline cost Php60.00 then the $27 million spare can buy 20.25 million liters of gasoline. For the same period of 100 years, the pacquiaos would spend $5 million more dollars inflation not included. They still have $22 million dollars more. If a mansion costs Php20 Million pesos, and pacman would build 1 for each children, for his wife, for his brother and father, making it 7 mansions all in all, it will cost $3.2 million dollars, and we still have $19 million, provided the US government asks $10Million from pacman as tax, he is still left with $9 Million, that is still Php405 Million. WHEW!!!</p>
<p>I once envisioned of genetically engineering a breed of rooster that would not fight, so people would stop gambling. But my friend Louie told me, even if two gamblers are tied and they saw a dew on a leaf, they will still bet if the dew falls or not. Who made the human race gamblers by nature?</p>
]]></content:encoded>
			<wfw:commentRss>http://amparaiso.com/blogs/?feed=rss2&amp;p=39</wfw:commentRss>
		</item>
		<item>
		<title>5 things an “average” computer user don’t need to know!</title>
		<link>http://amparaiso.com/blogs/?p=36</link>
		<comments>http://amparaiso.com/blogs/?p=36#comments</comments>
		<pubDate>Mon, 25 Aug 2008 11:21:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Blogging at work]]></category>

		<guid isPermaLink="false">http://amparaiso.com/blogs/?p=36</guid>
		<description><![CDATA[Every field has its own set of vocabulary. You may not realize that you already talked “jargon” with your friend, officemates, schoolmates, buddies and etc. A jargon is a field-specific term that ordinary people can’t understand, the tools and technologies you use at work, expressions of the 3rd sex, terms drug users substitute for illegal [...]]]></description>
			<content:encoded><![CDATA[<p>Every field has its own set of vocabulary. You may not realize that you already talked “jargon” with your friend, officemates, schoolmates, buddies and etc. A jargon is a field-specific term that ordinary people can’t understand, the tools and technologies you use at work, expressions of the 3rd sex, terms drug users substitute for illegal drugs, activities they do and etc. As a CSR, it is illegal to use jargons while communicating with the costumer; this will not only irritate the customer, this will also hinder communication flow. Check this list of jargons that average computer users don’t need to know, and from the title itself, I will not even attempt to define it.</p>
<p><strong>#1. Browser</strong><br />
If you think Filipinos are the only ones substituting brand name for product names, think again. Microsoft dominates the software market, 90% of the PC’s are windows based. And it’s no wonder 90% of our callers don’t know what a browser is, instead they know the familiar Internet Explorer, or worse the blue “e” icon. So it’s okay if you say “pampers” and mean to say “EQ” everybody else in that department store knows you mean to buy a diaper.</p>
<p><strong>#2. Operating System</strong><br />
Have you been to StarBucks? If yes, then <span id="more-36"></span>your mouth might have once watered seeing the brand of laptop the customer on the other table has, and you might have also heard anyone of your friend commenting on the guy/gal as really “rich”. Well what can we say, that guy/gal just happens to have the familiar apple icon on the back side of his computer screen. The point is, the computing world is only dominated with 3 Operating System companies, the Windows, the Mac, and the insignificant others, and your choice of brand obviously defines your financial capacity.</p>
<p><strong>#3. WI-FI </strong><br />
Before WI-FI, I always thought people bringing laptops are people with power-point presentations. Now at least if you have the guts to make it obvious that what’s inside your bag is a laptop, they will think that you’re local ISP strikes at you again, and that the heavy rain cut-off your torrent download, and that a free WI-FI hotspot is the only remedy for your lost sanity. At least we now have an alternative to internet connectivity rather than going to the crowded internet café.</p>
<p><strong>#4 Cookie</strong><br />
Ever wonder why after logging in to a certain site, and closing it, and opening it back, it still have the “Welcome User” greetings on top? Well, if Windows didn’t eat the cookies with your personal information on it, chances are, you are still logged in. That’s why it’s important to log out from any website you’re logged into before closing the browser and leaving your station on the café. Websites today uses “cookies” to store user information in the local computer. But don’t worry, if you think that a computer geek can dig into these files and found your credit card numbers or passwords, you’re wrong, yes they can open the cookies, but 99% of the time, they will not benefit from what’s written on it. So the rule of the thumb; if you’re using somebody else’s computer, logoff properly from any user-based websites, and logoff from the computer itself and you will be 99.9% safe.</p>
<p><strong>#5 URL</strong><br />
You may not find these anymore with the newer browsers, the reason; they replaced it with “address” field. Yeah that’s obviously what I mean; the URL field is that box where you type google.com, Friendster.com, youtube.com and etc. Unless your not one of the few users that when instructed to type a website, gives you this reply; “I have here a list of results, which one should I click?” Obviously you typed it into the search field. Don’t worry if you don’t know it all along, the URL term has already said goodbye, programmers and wannabes are the only ones using the term.</p>
]]></content:encoded>
			<wfw:commentRss>http://amparaiso.com/blogs/?feed=rss2&amp;p=36</wfw:commentRss>
		</item>
	</channel>
</rss>
