<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" version="2.0">
  <channel>
    <title>Gokulnath's weBLOG</title>
    <link>http://blogs.gokulnath.com//</link>
    <description>learned/learning/to learn</description>
    <language>en-us</language>
    <copyright>Gokulnath</copyright>
    <lastBuildDate>Sat, 04 Sep 2010 03:51:21 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>mailme@gokulnath.com</managingEditor>
    <webMaster>mailme@gokulnath.com</webMaster>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=4831ceeb-722c-4872-8d31-275b773c9e8a</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,4831ceeb-722c-4872-8d31-275b773c9e8a.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,4831ceeb-722c-4872-8d31-275b773c9e8a.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=4831ceeb-722c-4872-8d31-275b773c9e8a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <font size="2" face="Tahoma">I’ve explained here about creating Microsoft Robotics
Service for LEGO NXT 2.0 and configuring its manifest. When I wanted to create my
first robotics service, I had many difficulties and found very few resources over
the internet for LEGO NXT 2.0 using Microsoft Robotics, so just thought of blogging
about this.<br /><br /></font>
          <font size="2">
            <font face="Tahoma">
              <strong>Requirements<br /></strong>Microsoft Robotics Studio – </font>
          </font>
          <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c185a802-5bbe-4f28-b448-aefe63a7eff7&amp;displaylang=en" target="_blank">
            <font size="2" face="Tahoma">Click
here</font>
          </a>
          <font size="2" face="Tahoma"> to download. </font>
          <a href="http://www.microsoft.com/robotics/#Product" target="_blank">
            <font size="2" face="Tahoma">Click
here</font>
          </a>
          <font size="2" face="Tahoma"> to know more about the studio.<br />
LEGO NXT 2.0<br /><br /></font>
          <font face="Tahoma">
            <font size="2">
              <strong>Installation<br /></strong>Microsoft Robotics Studio can be used as a stand-alone development environment
or </font>
            <font size="2">it can be used with any of the Visual Studio 2008 or 2010
Editions, including the Express Editions.</font>
          </font>
        </p>
        <p>
          <font size="2">
            <font face="Tahoma">
              <strong>How to create DSS Service?<br /></strong>1. After Installing Microsoft Robotics Studio, open Visual Studio IDE (I’m
using 2010).<br />
2. Click File/New Project, you should be able to see Microsoft Robotics under C# like
this - 
<br /><br /><a href="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B2%5D_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="CropperCapture[2]" border="0" alt="CropperCapture[2]" src="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B2%5D_thumb.jpg" width="590" height="409" /></a><br /><br />
3. Create the project under Microsoft Robotics Studio installation folder (it will
be mostly in c:\user\username\microsoft robotics dev studio 2008 r3\), so that the
common robotics dlls will be referenced properly.<br />
4. Click OK and you will be allowed to enter your service name, namespace and other
details. The most important thing is – you will be allowed to choose your partners
from here - 
<br /><br /><a href="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B5%5D_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="CropperCapture[5]" border="0" alt="CropperCapture[5]" src="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B5%5D_thumb.jpg" width="596" height="436" /></a><br /><br />
5. Choose the partners one by one from the list and click “Add as partner”. Check
the “Add notification port” checkbox and leave the Creation Policy as it is. Lego
NXT Brick (v2) should be selected as one of the partners, and the other partners can
be selected based on the sensors that you will be using. In case if you want to edit
or delete any of the added partners, you can choose the partner from the partner dropdown
and perform your actions. Once all the partners are selected, click OK.<br />
6. You should be able to see the auto-generated code now. Build your solution.<br /><br /><strong>How to create manifest using DSS Manifest Editor?</strong><br /></font>
          </font>
          <font size="2">
            <font face="Tahoma">1. Open DSS Manifest Editor.<br />
2. Choose your service from the left, drag and drop it on the editor. You should be
able to see this - 
<br /><br /><a href="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B6%5D_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="CropperCapture[6]" border="0" alt="CropperCapture[6]" src="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B6%5D_thumb.jpg" width="597" height="352" /></a><br /><br />
3. Search for your partners on the left, drag and drop on “Use service’s partner definition
(UseExistingOrCreate)” boxes appropriately.<br />
4. As the sensors in turn use the nxtbrick as their partner, another set of “Use service’s
partner definition (UseExistingOrCreate)” boxes will be created for the brick.<br />
5. You need to select nxtbrick service again and drop it on the boxes. If you see
a pop like the one below, choose the already created service and NOT “Add a new instance”.<br /><br /><a href="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B7%5D_2.jpg"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="CropperCapture[7]" border="0" alt="CropperCapture[7]" src="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B7%5D_thumb.jpg" width="338" height="252" /></a> <br /><br />
6. To configure the service, click it and then press “Create Initial State” button
on the properties window. For the NxtBrick, you need to set the serial port number
used for bluetooth connection. For the sensors, you need to set the ports appropriately.<br />
7. Replace this manifest with the manifest created by the service.<br />
8. To start the service execute <strong>dsshost /port:50000 /manifest:"C:\Users\username\Microsoft
Robotics Dev Studio 2008 R3\MyDemoService\MyDemoService.manifest.xml”</strong> in
DSS Command Prompt.<br />
9. You can also start the service from the DSS Control Panel. In order to view the
control panel, start DSS Node and then go to <a href="http://localhost:50000">http://localhost:50000</a> (default
port is 50000, if you’ve changed it use it accordingly).<br />
10. Switch ON your LEGO NXT 2.0 and then start the service. If everything is configured
properly, you should be able to hear connecting sound from the NXT Brick.<br /><br />
This is it for now, in the next blog post, I’ll be explaining about adding handlers
to the sensors and using the motors.<br /></font>
          </font>
        </p>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=4831ceeb-722c-4872-8d31-275b773c9e8a" />
      </body>
      <title>Microsoft Robotics Service for LEGO NXT 2.0</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,4831ceeb-722c-4872-8d31-275b773c9e8a.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/09/04/MicrosoftRoboticsServiceForLEGONXT20.aspx</link>
      <pubDate>Sat, 04 Sep 2010 03:51:21 GMT</pubDate>
      <description>&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;I’ve explained here about creating Microsoft Robotics
Service for LEGO NXT 2.0 and configuring its manifest. When I wanted to create my
first robotics service, I had many difficulties and found very few resources over
the internet for LEGO NXT 2.0 using Microsoft Robotics, so just thought of blogging
about this.&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;strong&gt;Requirements&lt;br&gt;
&lt;/strong&gt;Microsoft Robotics Studio – &lt;/font&gt;&lt;/font&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c185a802-5bbe-4f28-b448-aefe63a7eff7&amp;amp;displaylang=en" target="_blank"&gt;&lt;font size="2" face="Tahoma"&gt;Click
here&lt;/font&gt;&lt;/a&gt;&lt;font size="2" face="Tahoma"&gt; to download. &lt;/font&gt;&lt;a href="http://www.microsoft.com/robotics/#Product" target="_blank"&gt;&lt;font size="2" face="Tahoma"&gt;Click
here&lt;/font&gt;&lt;/a&gt;&lt;font size="2" face="Tahoma"&gt; to know more about the studio.&lt;br&gt;
LEGO NXT 2.0&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;strong&gt;Installation&lt;br&gt;
&lt;/strong&gt;Microsoft Robotics Studio can be used as a stand-alone development environment
or &lt;/font&gt;&lt;font size="2"&gt;it can be used with any of the Visual Studio 2008 or 2010
Editions, including the Express Editions.&lt;/font&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;strong&gt;How to create DSS Service?&lt;br&gt;
&lt;/strong&gt;1. After Installing Microsoft Robotics Studio, open Visual Studio IDE (I’m
using 2010).&lt;br&gt;
2. Click File/New Project, you should be able to see Microsoft Robotics under C# like
this - 
&lt;br&gt;
&lt;br&gt;
&lt;a href="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B2%5D_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="CropperCapture[2]" border="0" alt="CropperCapture[2]" src="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B2%5D_thumb.jpg" width="590" height="409"&gt;&lt;/a&gt; 
&lt;br&gt;
&lt;br&gt;
3. Create the project under Microsoft Robotics Studio installation folder (it will
be mostly in c:\user\username\microsoft robotics dev studio 2008 r3\), so that the
common robotics dlls will be referenced properly.&lt;br&gt;
4. Click OK and you will be allowed to enter your service name, namespace and other
details. The most important thing is – you will be allowed to choose your partners
from here - 
&lt;br&gt;
&lt;br&gt;
&lt;a href="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B5%5D_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="CropperCapture[5]" border="0" alt="CropperCapture[5]" src="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B5%5D_thumb.jpg" width="596" height="436"&gt;&lt;/a&gt; 
&lt;br&gt;
&lt;br&gt;
5. Choose the partners one by one from the list and click “Add as partner”. Check
the “Add notification port” checkbox and leave the Creation Policy as it is. Lego
NXT Brick (v2) should be selected as one of the partners, and the other partners can
be selected based on the sensors that you will be using. In case if you want to edit
or delete any of the added partners, you can choose the partner from the partner dropdown
and perform your actions. Once all the partners are selected, click OK.&lt;br&gt;
6. You should be able to see the auto-generated code now. Build your solution.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;How to create manifest using DSS Manifest Editor?&lt;/strong&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;1. Open DSS Manifest Editor.&lt;br&gt;
2. Choose your service from the left, drag and drop it on the editor. You should be
able to see this - 
&lt;br&gt;
&lt;br&gt;
&lt;a href="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B6%5D_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="CropperCapture[6]" border="0" alt="CropperCapture[6]" src="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B6%5D_thumb.jpg" width="597" height="352"&gt;&lt;/a&gt; 
&lt;br&gt;
&lt;br&gt;
3. Search for your partners on the left, drag and drop on “Use service’s partner definition
(UseExistingOrCreate)” boxes appropriately.&lt;br&gt;
4. As the sensors in turn use the nxtbrick as their partner, another set of “Use service’s
partner definition (UseExistingOrCreate)” boxes will be created for the brick.&lt;br&gt;
5. You need to select nxtbrick service again and drop it on the boxes. If you see
a pop like the one below, choose the already created service and NOT “Add a new instance”.&lt;br&gt;
&lt;br&gt;
&lt;a href="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B7%5D_2.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="CropperCapture[7]" border="0" alt="CropperCapture[7]" src="http://blogs.gokulnath.com//content/binary/WindowsLiveWriter/MicrosoftRoboticsServiceforLEGONXT2.0_12E39/CropperCapture%5B7%5D_thumb.jpg" width="338" height="252"&gt;&lt;/a&gt;&amp;nbsp;&lt;br&gt;
&lt;br&gt;
6. To configure the service, click it and then press “Create Initial State” button
on the properties window. For the NxtBrick, you need to set the serial port number
used for bluetooth connection. For the sensors, you need to set the ports appropriately.&lt;br&gt;
7. Replace this manifest with the manifest created by the service.&lt;br&gt;
8. To start the service execute &lt;strong&gt;dsshost /port:50000 /manifest:"C:\Users\username\Microsoft
Robotics Dev Studio 2008 R3\MyDemoService\MyDemoService.manifest.xml”&lt;/strong&gt; in
DSS Command Prompt.&lt;br&gt;
9. You can also start the service from the DSS Control Panel. In order to view the
control panel, start DSS Node and then go to &lt;a href="http://localhost:50000"&gt;http://localhost:50000&lt;/a&gt; (default
port is 50000, if you’ve changed it use it accordingly).&lt;br&gt;
10. Switch ON your LEGO NXT 2.0 and then start the service. If everything is configured
properly, you should be able to hear connecting sound from the NXT Brick.&lt;br&gt;
&lt;br&gt;
This is it for now, in the next blog post, I’ll be explaining about adding handlers
to the sensors and using the motors.&lt;br&gt;
&lt;/font&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=4831ceeb-722c-4872-8d31-275b773c9e8a" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,4831ceeb-722c-4872-8d31-275b773c9e8a.aspx</comments>
      <category>.NET</category>
      <category>Robotics</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=459646e6-fa74-466b-bed4-1abe23bc3681</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,459646e6-fa74-466b-bed4-1abe23bc3681.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,459646e6-fa74-466b-bed4-1abe23bc3681.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=459646e6-fa74-466b-bed4-1abe23bc3681</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I have learned a lot on developing my website, about .NET, ASP.NET, Web Design, Servers,
Database etc., it’s been a good platform to learn the new technologies and implement
them. I have played and been playing many roles in its development, here are them:<br /><br /><strong>Web Designer 
<br /></strong>Being a creative person, I’ve always liked web designing, graphics, animation
etc. This pushed me to create my first version of my website (HTML based), spent a
lot of time on it and at the same time learned (self-learned) a lot on designing,
good and bad techniques :). When I started working closely with a designer in HHS,
learned many good practices on HTML Designing from her. It eventually pushed me to
redesign my website. Though I acquired decent designing skills, I didn’t spend much
time on designing as I wanted it to be simple and neat. I just followed the good practices
on designing, this made my site look consistent in most of the browsers, in different
resolutions, colors, point sizes etc.<br /><br /><strong>Network Administrator<br /></strong>Before setting up my site I just had a minimal knowledge on networking -
to just share folders, open firewall/router ports, setup static ip etc. But, after
setting up my site or in the process of setting up my site I learned a lot about networking
technologies/methodologies like Virtualization, Domain Controllers, Backup Strategies,
Re-routing Network Traffic, Security, Access Control etc. Initially, I had my site
hosted on Godaddy’s Servers, and later on built my own servers and deployed everything
on my servers. It was definitely worth spending extra bucks in building my own server
and taking business connection (as I my ISP blocked port 80 for residential connections).
Its advantages – installed softwares as I wished, and upgraded them as and when updates
were released, opened ports in the firewall, changed security settings as per my needs,
and many more. My responsibilities as a network admin:-<br />
1. Instead of buying a  server machine, I just converted my desktop to a server
by installing server 2003 r2, and added RAM (had 4 GB RAM, added another 4 GB) and
hard drives (bought another hard drive for backup).<br />
2. Thought Virtualization will serve me better in terms of security, availability,
usage etc. So, I used <a href="https://www.vmware.com/products/server/" target="_blank">VMWare
Server</a> to setup virtualized servers. Built a virtualized server in my main server
machine (server 2003 r2), and another virtualized server in my personal computer (windows
7), thus got 3 servers (windows 2003 r2). Setup my server machine as the domain controller
(just for reference, I’ll name it as “A”), the virtual machine in it as the web/ftp/file/shoutcast/sql
servers (name - “B”), and the virtual machine in my PC as the backup server (or testing
machine), clone of B (name - “C”). Just before major software updates or changes in
the network settings or any other changes that was supposed to affect the web traffic
in B, I rerouted my network traffic to C. 
<br />
3. Synchronization Strategy – Synchronized servers B and C using <a href="http://www.microsoft.com/downloads/details.aspx?familyid=c26efa36-98e0-4ee9-a7c5-98d0592d8c52&amp;displaylang=en" target="_blank">SyncToy</a> (for
folders) and Backup/Restore feature in SQL Server (for database). I will explain this
in detail in my next blog. 
<br />
4. Backup Strategy – Scheduled nightly backup of windows folders, SQL server and few
other settings, and monthly backup of virtual machines (manually copied virtual machine
files) to a hard drive dedicated for backups.<br />
5. At least at the time of writing this blog, I didn’t have anything to do with ASP.NET
Sessions, so rerouting the web traffic was not a big deal – just opening and closing
ports in my router took care of it. However, as I didn’t have a proper way to reroute
my radio traffic, I just played some pre-recorded announcements saying “Server is
going to be restarted, it will be back in X minutes” or “Server is unavailable due
to maintenance, it will be back in few minutes (or hours)”<br />
6. Domain Management – I added and modified @ and CNAME records, changed name servers
etc. 
<br /><br /><strong>Database Administrator/Developer<br /></strong>Godaddy’s ASP.NET Hosting was good (not great though), but their Database
Hosting was ridiculous. They had an ASP.NET based interface, just to execute db scripts…
running DDL scripts was not a problem; however, executing DML  or importing data
was not easy. So, decided to host my SQL Server Database in a different place, and
only when I found that Godaddy blocked remote SQL Server access. All these limitations
and the price factor pushed me to setup my own database server. My responsibilities
as a database administrator or developer:<br />
1. I’ve never liked writing dynamic or inline queries in the frontend, so always followed
stored procedure approach. Performed most of the database operations using stored
procedures. Once I started using LINQtoSQL and Entity Framework, the usage of stored
procedures got reduced, I used them only for complex operations.   
<br />
2. Created database, user accounts, roles etc., mapped user accounts or roles to data
objects appropriately. 
<br />
3. Built backup (full and differential) and restore strategy, and scheduled sql server
jobs to perform these operations appropriately. 
<br />
4. Created and used SSIS for routine GeoIP to Location data imports from <a href="http://www.maxmind.com/" target="_blank">MaxMind</a>. 
<br /><br /><strong>Tester</strong><br />
I used my server “C” as a backup or a testing server. I always applied patches or
installed/upgraded softwares here, and only after thorough testing, I performed the
same operations in my server “B” (my main server). 
<br /><br /><strong>Web Developer<br /></strong>Working as a Web Developer, I created many Web 2.0 websites at my work, and
at one point I found Web Development to be interesting than Windows Development. At
that point, I felt I should convert my HTML site to Web 2.0 using all the latest web
technologies. With all the experiences that I gained on web development from my job,
I developed my website, and based on the experiences that I gained from developing
my website, I did many things at my office – my work and my website served each other
well.  
<br />
I developed the first .NET version of my site using VS 2005/.NET 2.0 Framework with
SQL Server 2005. Later on, upgraded to .NET Framework 3.5/VS 2008, used LINQtoSQL
and other new features in VS 2008. My current version (as of Aug 15 2010), uses .NET
4.0 and SQL Server 2008. 
<br /><br />
If you need any help on building your own server, feel free to contact me.<br /><br />
Link to my site – <a href="http://www.gokulnath.com" target="_blank">http://www.gokulnath.com</a></p>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=459646e6-fa74-466b-bed4-1abe23bc3681" />
      </body>
      <title>My Website</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,459646e6-fa74-466b-bed4-1abe23bc3681.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/07/05/MyWebsite.aspx</link>
      <pubDate>Mon, 05 Jul 2010 20:57:00 GMT</pubDate>
      <description>&lt;p&gt;
I have learned a lot on developing my website, about .NET, ASP.NET, Web Design, Servers,
Database etc., it’s been a good platform to learn the new technologies and implement
them. I have played and been playing many roles in its development, here are them:&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Web Designer 
&lt;br&gt;
&lt;/strong&gt;Being a creative person, I’ve always liked web designing, graphics, animation
etc. This pushed me to create my first version of my website (HTML based), spent a
lot of time on it and at the same time learned (self-learned) a lot on designing,
good and bad techniques :). When I started working closely with a designer in HHS,
learned many good practices on HTML Designing from her. It eventually pushed me to
redesign my website. Though I acquired decent designing skills, I didn’t spend much
time on designing as I wanted it to be simple and neat. I just followed the good practices
on designing, this made my site look consistent in most of the browsers, in different
resolutions, colors, point sizes etc.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Network Administrator&lt;br&gt;
&lt;/strong&gt;Before setting up my site I just had a minimal knowledge on networking -
to just share folders, open firewall/router ports, setup static ip etc. But, after
setting up my site or in the process of setting up my site I learned a lot about networking
technologies/methodologies like Virtualization, Domain Controllers, Backup Strategies,
Re-routing Network Traffic, Security, Access Control etc. Initially, I had my site
hosted on Godaddy’s Servers, and later on built my own servers and deployed everything
on my servers. It was definitely worth spending extra bucks in building my own server
and taking business connection (as I my ISP blocked port 80 for residential connections).
Its advantages – installed softwares as I wished, and upgraded them as and when updates
were released, opened ports in the firewall, changed security settings as per my needs,
and many more. My responsibilities as a network admin:-&lt;br&gt;
1. Instead of buying a&amp;nbsp; server machine, I just converted my desktop to a server
by installing server 2003 r2, and added RAM (had 4 GB RAM, added another 4 GB) and
hard drives (bought another hard drive for backup).&lt;br&gt;
2. Thought Virtualization will serve me better in terms of security, availability,
usage etc. So, I used &lt;a href="https://www.vmware.com/products/server/" target="_blank"&gt;VMWare
Server&lt;/a&gt; to setup virtualized servers. Built a virtualized server in my main server
machine (server 2003 r2), and another virtualized server in my personal computer (windows
7), thus got 3 servers (windows 2003 r2). Setup my server machine as the domain controller
(just for reference, I’ll name it as “A”), the virtual machine in it as the web/ftp/file/shoutcast/sql
servers (name - “B”), and the virtual machine in my PC as the backup server (or testing
machine), clone of B (name - “C”). Just before major software updates or changes in
the network settings or any other changes that was supposed to affect the web traffic
in B, I rerouted my network traffic to C. 
&lt;br&gt;
3. Synchronization Strategy – Synchronized servers B and C using &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=c26efa36-98e0-4ee9-a7c5-98d0592d8c52&amp;amp;displaylang=en" target="_blank"&gt;SyncToy&lt;/a&gt; (for
folders) and Backup/Restore feature in SQL Server (for database). I will explain this
in detail in my next blog. 
&lt;br&gt;
4. Backup Strategy – Scheduled nightly backup of windows folders, SQL server and few
other settings, and monthly backup of virtual machines (manually copied virtual machine
files) to a hard drive dedicated for backups.&lt;br&gt;
5. At least at the time of writing this blog, I didn’t have anything to do with ASP.NET
Sessions, so rerouting the web traffic was not a big deal – just opening and closing
ports in my router took care of it. However, as I didn’t have a proper way to reroute
my radio traffic, I just played some pre-recorded announcements saying “Server is
going to be restarted, it will be back in X minutes” or “Server is unavailable due
to maintenance, it will be back in few minutes (or hours)”&lt;br&gt;
6. Domain Management – I added and modified @ and CNAME records, changed name servers
etc. 
&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Database Administrator/Developer&lt;br&gt;
&lt;/strong&gt;Godaddy’s ASP.NET Hosting was good (not great though), but their Database
Hosting was ridiculous. They had an ASP.NET based interface, just to execute db scripts…
running DDL scripts was not a problem; however, executing DML&amp;nbsp; or importing data
was not easy. So, decided to host my SQL Server Database in a different place, and
only when I found that Godaddy blocked remote SQL Server access. All these limitations
and the price factor pushed me to setup my own database server. My responsibilities
as a database administrator or developer:&lt;br&gt;
1. I’ve never liked writing dynamic or inline queries in the frontend, so always followed
stored procedure approach. Performed most of the database operations using stored
procedures. Once I started using LINQtoSQL and Entity Framework, the usage of stored
procedures got reduced, I used them only for complex operations.&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
2. Created database, user accounts, roles etc., mapped user accounts or roles to data
objects appropriately. 
&lt;br&gt;
3. Built backup (full and differential) and restore strategy, and scheduled sql server
jobs to perform these operations appropriately. 
&lt;br&gt;
4. Created and used SSIS for routine GeoIP to Location data imports from &lt;a href="http://www.maxmind.com/" target="_blank"&gt;MaxMind&lt;/a&gt;. 
&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Tester&lt;/strong&gt;
&lt;br&gt;
I used my server “C” as a backup or a testing server. I always applied patches or
installed/upgraded softwares here, and only after thorough testing, I performed the
same operations in my server “B” (my main server). 
&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Web Developer&lt;br&gt;
&lt;/strong&gt;Working as a Web Developer, I created many Web 2.0 websites at my work, and
at one point I found Web Development to be interesting than Windows Development. At
that point, I felt I should convert my HTML site to Web 2.0 using all the latest web
technologies. With all the experiences that I gained on web development from my job,
I developed my website, and based on the experiences that I gained from developing
my website, I did many things at my office – my work and my website served each other
well.&amp;nbsp; 
&lt;br&gt;
I developed the first .NET version of my site using VS 2005/.NET 2.0 Framework with
SQL Server 2005. Later on, upgraded to .NET Framework 3.5/VS 2008, used LINQtoSQL
and other new features in VS 2008. My current version (as of Aug 15 2010), uses .NET
4.0 and SQL Server 2008. 
&lt;br&gt;
&lt;br&gt;
If you need any help on building your own server, feel free to contact me.&lt;br&gt;
&lt;br&gt;
Link to my site – &lt;a href="http://www.gokulnath.com" target="_blank"&gt;http://www.gokulnath.com&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=459646e6-fa74-466b-bed4-1abe23bc3681" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,459646e6-fa74-466b-bed4-1abe23bc3681.aspx</comments>
      <category>.NET</category>
      <category>HTML</category>
      <category>Miscellaneous</category>
      <category>SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=65de6f55-aad7-4ed9-b4d2-c2267985f3df</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,65de6f55-aad7-4ed9-b4d2-c2267985f3df.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,65de6f55-aad7-4ed9-b4d2-c2267985f3df.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=65de6f55-aad7-4ed9-b4d2-c2267985f3df</wfw:commentRss>
      <slash:comments>4</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <font face="Tahoma" size="2">Thirukural, written by Thiruvalluvar, in the form of
couplets that convey noble thoughts. It is considered to be a book of ethics for the
ordinary man, the administrator, the king and the ascetic. It is universal in perspective,
and hence called "Ulaga Podhu Marai" meaning the Common Knowledge for the world. It
is as timely today as when it was written more than 2000 years ago. </font>
          <a href="http://en.wikipedia.org/wiki/Tirukku%E1%B9%9Ba%E1%B8%B7">
            <font face="Tahoma" size="2">Click
here</font>
          </a>
          <font size="2">
            <font face="Tahoma"> to know more about this book.</font>
            <br />
            <br />
            <font face="Tahoma">It has been translated to 80 languages (including many Indian
languages).  However, as far as I know only few people from India, other than
from Tamil Nadu (a southern state in India) have known about or read this book. It
is one of the reasons, why I decided to add it to my site ... just an attempt to spread
this book further, hope you will do the same.<br /><br /><strong>Acknowledgements:</strong><br />
I took most of the content from - </font>
          </font>
          <a href="http://blogs.gokulnath.com//content/binary/Tamil.pdf">Tamil.pdf
(254.88 KB)</a>, <a href="http://blogs.gokulnath.com//content/binary/English.pdf">English.pdf
(351.65 KB)</a> and <a href="http://blogs.gokulnath.com//content/binary/TamilMeaning.pdf">TamilMeaning.pdf
(972.86 KB)</a><font size="2"><font face="Tahoma">. Thanks a lot to all those who
have worked on these projects. A special thanks to B.Viswanathan, the creator of the
software </font></font><a href="http://www.azhagi.com/"><font face="Tahoma" size="2">Azhagi</font></a><font face="Tahoma" size="2">,
using which I generated reverse-transliterations. Thanks to Google for its</font><font face="Tahoma" size="2"> Transliteration
API. Last but not least, thanks to all others who have worked/are working/will be
working on spreading this book.</font></p>
        <p>
          <font face="Tahoma">
            <font size="2">
              <strong>Difficulties:</strong>
              <br />
1. Spent a lot of time in collecting and importing the content to my database than
designing the pages; used all sort of scraping techniques (programmatic) to fetch
the content from the pdfs listed above. So, I cannot assure you that all the kurals,
meanings (Tamil &amp; English) and the Transliterations are 100% correct. In case
if anything is wrong with any of the content, please report to me by following the
report link.<br />
2. Searched many places in Chennai for Thirukural CD with files separated by kurals,
didn’t get one! However, I got 3 CDs for each section and files separated by adhigarams
(chapters).<br />
3. Had a tough time adding adhigaram mp3s in un-downloadable format. Shoutcast’s streaming
content was easier compared to httphandlers, flash playlist etc. However, Shoutcast
generated playlist in .pls format, and it didn’t work in Windows Media Player. So,
wrote separate code to generate windows media playlist file (.wpl). If you have any
problems in listening, download the playlist files and then try to open it in any
of the players installed in your system. </font>
          </font>
        </p>
        <p>
          <font face="Tahoma" size="2">Vazhga Tamil!!<br /><br />
Here is the link - <a href="http://www.gokulnath.com/thirukurals">http://www.gokulnath.com/thirukurals</a><br /></font>
        </p>
        <a href="http://blogs.gokulnath.com//content/binary/English.pdf">
          <br />
        </a>
        <a href="http://blogs.gokulnath.com//content/binary/TamilMeaning.pdf">
          <br />
        </a>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=65de6f55-aad7-4ed9-b4d2-c2267985f3df" />
      </body>
      <title>Thirukural</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,65de6f55-aad7-4ed9-b4d2-c2267985f3df.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/05/15/Thirukural.aspx</link>
      <pubDate>Sat, 15 May 2010 02:06:55 GMT</pubDate>
      <description>&lt;p&gt;
&lt;font face="Tahoma" size="2"&gt;Thirukural, written by Thiruvalluvar, in the form of
couplets that convey noble thoughts. It is considered to be a book of ethics for the
ordinary man, the administrator, the king and the ascetic. It is universal in perspective,
and hence called "Ulaga Podhu Marai" meaning the Common Knowledge for the world. It
is as timely today as when it was written more than 2000 years ago. &lt;/font&gt;&lt;a href="http://en.wikipedia.org/wiki/Tirukku%E1%B9%9Ba%E1%B8%B7"&gt;&lt;font face="Tahoma" size="2"&gt;Click
here&lt;/font&gt;&lt;/a&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt; to know more about this book.&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;font face="Tahoma"&gt;It has been translated to 80 languages (including many Indian
languages).&amp;nbsp; However, as far as I know only few people from India, other than
from Tamil Nadu (a southern state in India) have known about or read this book. It
is one of the reasons, why I decided to add it to my site ... just an attempt to spread
this book further, hope you will do the same.&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Acknowledgements:&lt;/strong&gt;
&lt;br&gt;
I took most of the content from - &lt;/font&gt;&lt;/font&gt;&lt;a href="http://blogs.gokulnath.com//content/binary/Tamil.pdf"&gt;Tamil.pdf
(254.88 KB)&lt;/a&gt;, &lt;a href="http://blogs.gokulnath.com//content/binary/English.pdf"&gt;English.pdf
(351.65 KB)&lt;/a&gt; and &lt;a href="http://blogs.gokulnath.com//content/binary/TamilMeaning.pdf"&gt;TamilMeaning.pdf
(972.86 KB)&lt;/a&gt;&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;. Thanks a lot to all those who
have worked on these projects. A special thanks to B.Viswanathan, the creator of the
software &lt;/font&gt;&lt;/font&gt;&lt;a href="http://www.azhagi.com/"&gt;&lt;font face="Tahoma" size="2"&gt;Azhagi&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma" size="2"&gt;,
using which I generated reverse-transliterations. Thanks to Google for its&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt; Transliteration
API. Last but not least, thanks to all others who have worked/are working/will be
working on spreading this book.&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font face="Tahoma"&gt;&lt;font size="2"&gt;&lt;strong&gt;Difficulties:&lt;/strong&gt;
&lt;br&gt;
1. Spent a lot of time in collecting and importing the content to my database than
designing the pages; used all sort of scraping techniques (programmatic) to fetch
the content from the pdfs listed above. So, I cannot assure you that all the kurals,
meanings (Tamil &amp;amp; English) and the Transliterations are 100% correct. In case
if anything is wrong with any of the content, please report to me by following the
report link.&lt;br&gt;
2. Searched many places in Chennai for Thirukural CD with files separated by kurals,
didn’t get one! However, I got 3 CDs for each section and files separated by adhigarams
(chapters).&lt;br&gt;
3. Had a tough time adding adhigaram mp3s in un-downloadable format. Shoutcast’s streaming
content was easier compared to httphandlers, flash playlist etc. However, Shoutcast
generated playlist in .pls format, and it didn’t work in Windows Media Player. So,
wrote separate code to generate windows media playlist file (.wpl). If you have any
problems in listening, download the playlist files and then try to open it in any
of the players installed in your system. &lt;/font&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;font face="Tahoma" size="2"&gt;Vazhga Tamil!!&lt;br&gt;
&lt;br&gt;
Here is the link - &lt;a href="http://www.gokulnath.com/thirukurals"&gt;http://www.gokulnath.com/thirukurals&lt;/a&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;a href="http://blogs.gokulnath.com//content/binary/English.pdf"&gt;
&lt;br&gt;
&lt;/a&gt;&lt;a href="http://blogs.gokulnath.com//content/binary/TamilMeaning.pdf"&gt;
&lt;br&gt;
&lt;/a&gt;&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=65de6f55-aad7-4ed9-b4d2-c2267985f3df" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,65de6f55-aad7-4ed9-b4d2-c2267985f3df.aspx</comments>
      <category>Miscellaneous</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <font size="2" face="Tahoma">If audio is not working in your server, check whether
Windows Audio service is started… </font>
        </p>
        <p>
          <font size="2">
            <font face="Tahoma">
              <strong>How to do:</strong>
              <br />
1. On Windows Run (windows key + R key), type services.msc<br />
2. Look for Windows Audio service and check whether it is started, if not, start it </font>
          </font>
        </p>
        <p>
          <font size="2" face="Tahoma">If this doesn't resolve your problem, try updating your
audio drivers. </font>
          <br />
          <br />
        </p>
        <p>
          <font size="2" face="Tahoma">
            <strong>If audio is not working only when remoting, try
the following:</strong>
          </font>
        </p>
        <p>
          <font size="2" face="Tahoma">1. On Windows Run (windows key + R key), type gpedit.msc 
<br />
2. Go to Local Computer Policy/Computer Configuration/Administrative Templates/Windows
Components/Terminal Services/ClientServer redirection 
<br />
3. Enable Allow audio redirection </font>
          <br />
          <br />
        </p>
        <p>
          <font size="2" face="Tahoma">and then do this too: 
<br />
1. On Windows Run (windows key + R key), type tscc.msc<br />
2. Open the Connections folder in the left sidebar<br />
3. Right-click RDP-Tcp, select Properties<br />
4. Click Client Settings tab<br />
5. UNCHECK the "Audio mapping" checkbox under the section "Disable the following:"<br />
7. Click OK, and close tscc<br />
8. You may see a warning which says this change will not take effect for any currently-connected
RDP sessions. Click out of that<br />
9. Logoff 
<br />
10. Login </font>
          <br />
          <br />
        </p>
        <p>
          <font size="2" face="Tahoma">If you are remoting from a Windows XP machine, try to
remote into the console by typing "<strong>mstsc /console</strong>" on run window.<br />
If you are remoting from a Windows 7 or a Vista machine, try to remote into the console
by typing "<strong>mstsc /admin</strong>" on run window.</font>
          <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7" />
        </p>
      </body>
      <title>Audio or Sound Card problems in Windows 2003 Server (especially when remoting)</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/05/06/AudioOrSoundCardProblemsInWindows2003ServerEspeciallyWhenRemoting.aspx</link>
      <pubDate>Thu, 06 May 2010 22:53:56 GMT</pubDate>
      <description>&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;If audio is not working in your server, check whether
Windows Audio service is started… &lt;/font&gt; 
&lt;p&gt;
&lt;font size="2"&gt;&lt;font face="Tahoma"&gt;&lt;strong&gt;How to do:&lt;/strong&gt;
&lt;br&gt;
1. On Windows Run (windows key + R key), type services.msc&lt;br&gt;
2. Look for Windows Audio service and check whether it is started, if not, start it &lt;/font&gt;&lt;/font&gt; 
&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;If this doesn't resolve your problem, try updating your
audio drivers. &lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;strong&gt;If audio is not working only when remoting, try
the following:&lt;/strong&gt; &lt;/font&gt; 
&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;1. On Windows Run (windows key + R key), type gpedit.msc 
&lt;br&gt;
2. Go to Local Computer Policy/Computer Configuration/Administrative Templates/Windows
Components/Terminal Services/ClientServer redirection 
&lt;br&gt;
3. Enable Allow audio redirection &lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;and then do this too: 
&lt;br&gt;
1. On Windows Run (windows key + R key), type tscc.msc&lt;br&gt;
2. Open the Connections folder in the left sidebar&lt;br&gt;
3. Right-click RDP-Tcp, select Properties&lt;br&gt;
4. Click Client Settings tab&lt;br&gt;
5. UNCHECK the "Audio mapping" checkbox under the section "Disable the following:"&lt;br&gt;
7. Click OK, and close tscc&lt;br&gt;
8. You may see a warning which says this change will not take effect for any currently-connected
RDP sessions. Click out of that&lt;br&gt;
9. Logoff 
&lt;br&gt;
10. Login &lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;p&gt;
&lt;font size="2" face="Tahoma"&gt;If you are remoting from a Windows XP machine, try to
remote into the console by typing "&lt;strong&gt;mstsc /console&lt;/strong&gt;" on run window.&lt;br&gt;
If you are remoting from a Windows 7 or a Vista machine, try to remote into the console
by typing "&lt;strong&gt;mstsc /admin&lt;/strong&gt;" on run window.&lt;/font&gt;&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,a15ad9c0-fe95-4509-acc2-a1d5ddc13ab7.aspx</comments>
      <category>Miscellaneous</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=872092ae-6feb-4d41-91fa-370eb9088034</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,872092ae-6feb-4d41-91fa-370eb9088034.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,872092ae-6feb-4d41-91fa-370eb9088034.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=872092ae-6feb-4d41-91fa-370eb9088034</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
After upgrading my PC from Windows XP to Windows 7, an external hard drive which was
working fine on XP lost write permissions. 
</p>
        <p>
        </p>
        <h1>
        </h1>
        <p>
Found a solution:
</p>
        <p>
1. Right click on the drive icon for the external drive.<br />
2. Select Properties<br />
3. Click Security Tab<br />
4. Click Advanced Button<br />
5. Click Owner Tab<br />
6. Click Edit Button<br />
7. Choose your account or administrators group, whichever you want to give permissions<br />
8. Check 'Replace owner on subcontainers and objects'<br />
9. Click OK 
<br /><br />
If this doesn’t resolve your problem, choose the user from “Group or user names” list,
click “Edit”, and give appropriate permissions. 
<br /><br />
Hope this works for you! <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=872092ae-6feb-4d41-91fa-370eb9088034" /></p>
      </body>
      <title>Take Ownership and Grant Permissions in Windows 7</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,872092ae-6feb-4d41-91fa-370eb9088034.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/05/05/TakeOwnershipAndGrantPermissionsInWindows7.aspx</link>
      <pubDate>Wed, 05 May 2010 04:15:42 GMT</pubDate>
      <description>&lt;p&gt;
After upgrading my PC from Windows XP to Windows 7, an external hard drive which was
working fine on XP lost write permissions. 
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;h1&gt;
&lt;/h1&gt;
&lt;p&gt;
Found a solution:
&lt;/p&gt;
&lt;p&gt;
1. Right click on the drive icon for the external drive.&lt;br&gt;
2. Select Properties&lt;br&gt;
3. Click Security Tab&lt;br&gt;
4. Click Advanced Button&lt;br&gt;
5. Click Owner Tab&lt;br&gt;
6. Click Edit Button&lt;br&gt;
7. Choose your account or administrators group, whichever you want to give permissions&lt;br&gt;
8. Check 'Replace owner on subcontainers and objects'&lt;br&gt;
9. Click OK 
&lt;br /&gt;
&lt;br /&gt;
If this doesn’t resolve your problem, choose the user from “Group or user names” list,
click “Edit”, and give appropriate permissions. 
&lt;br /&gt;
&lt;br /&gt;
Hope this works for you! &lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=872092ae-6feb-4d41-91fa-370eb9088034" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,872092ae-6feb-4d41-91fa-370eb9088034.aspx</comments>
      <category>Miscellaneous</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=16471ec1-cf30-43e0-9f30-1097ae85b91b</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,16471ec1-cf30-43e0-9f30-1097ae85b91b.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,16471ec1-cf30-43e0-9f30-1097ae85b91b.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=16471ec1-cf30-43e0-9f30-1097ae85b91b</wfw:commentRss>
      <title>Accessing TFS 2010 using Team Explorer 2008 Client</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,16471ec1-cf30-43e0-9f30-1097ae85b91b.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/04/26/AccessingTFS2010UsingTeamExplorer2008Client.aspx</link>
      <pubDate>Mon, 26 Apr 2010 15:21:03 GMT</pubDate>
      <description>&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CGMURUG%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;link rel="Edit-Time-Data" href="file:///C:%5CDOCUME%7E1%5CGMURUG%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_editdata.mso"&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:-1610611985 1073750139 0 0 159 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:11.0pt;
	font-family:Calibri;
	mso-fareast-font-family:"Times New Roman";
	mso-bidi-font-family:"Times New Roman";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;b&gt;&lt;font color="black" face="Tahoma" size="2"&gt;&lt;span style="font-weight: normal; font-size: 10pt; color: black; font-family: Tahoma;"&gt;If
you are getting “&lt;/span&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;None
of the products that are addressed by this software update are installed on this computer.
Click cancel to exit setup&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font color="black" face="Tahoma" size="2"&gt;&lt;span style="font-weight: normal; font-size: 10pt; color: black; font-family: Tahoma;"&gt;”
(the popup below) while trying to install &lt;/span&gt;&lt;/font&gt;&lt;font color="#1f497d" face="Tahoma" size="2"&gt;&lt;span style="font-weight: normal; font-size: 10pt; color: rgb(31, 73, 125); font-family: Tahoma;"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=CF13EA45-D17B-4EDC-8E6C-6C5B208EC54D&amp;amp;displaylang=en"&gt;Visual
Studio Team System 2008 Service Pack 1 Forward Compatibility Update for Team Foundation
Server 2010&lt;/a&gt; (this allows to &lt;/span&gt;&lt;/font&gt;&lt;span&gt;use the Team Foundation Server
2010 server with Team Explorer 2008 SP1 client&lt;/span&gt;&lt;font color="#1f497d" face="Tahoma" size="2"&gt;&lt;span style="font-weight: normal; font-size: 10pt; color: rgb(31, 73, 125); font-family: Tahoma;"&gt;)
, first &lt;/span&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;&lt;span style="font-weight: normal; font-size: 10pt; font-family: Tahoma;"&gt;install &lt;a title="http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&amp;amp;displaylang=en" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=FBEE1648-7106-44A7-9649-6D9F6D58056E&amp;amp;displaylang=en"&gt;VS
2008 SP1&lt;/a&gt; (not 3.5 SP1) and then try installing the compatibility update.&lt;br&gt;
&lt;br&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/vs2008.gif" border="0"&gt;&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=16471ec1-cf30-43e0-9f30-1097ae85b91b" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,16471ec1-cf30-43e0-9f30-1097ae85b91b.aspx</comments>
      <category>.NET</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=0bc1aca5-6f35-4a3e-b9a7-19d49f7e85b5</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,0bc1aca5-6f35-4a3e-b9a7-19d49f7e85b5.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,0bc1aca5-6f35-4a3e-b9a7-19d49f7e85b5.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=0bc1aca5-6f35-4a3e-b9a7-19d49f7e85b5</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">Recently, when I tried to copy a large
file (around 1 GB) to Virtual Machine (VM) from the host machine, it froze either
of the machines. However, when I tried to copy a large file from the VM to the host
machine, everything was normal. 
<br /><br />
Found a solution for this problem:<br />
Try <b>allocating </b>your <b>Virtual Hard Disk's space upfront. </b>Unfortunately,
I didn't find a way to modify my existing virtual hard disk, so I added a new virtual
drive and pre-allocated its space, and it resolved the file transfer problem.<p></p><img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=0bc1aca5-6f35-4a3e-b9a7-19d49f7e85b5" /></body>
      <title>Copying Large Files into VMWare Virtual Machine</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,0bc1aca5-6f35-4a3e-b9a7-19d49f7e85b5.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/04/21/CopyingLargeFilesIntoVMWareVirtualMachine.aspx</link>
      <pubDate>Wed, 21 Apr 2010 19:34:47 GMT</pubDate>
      <description>Recently, when I tried to copy a large file (around 1 GB) to Virtual Machine (VM) from the host machine, it froze either of the machines. However, when I tried to copy a large file from the VM to the host machine, everything was normal. &lt;br&gt;
&lt;br&gt;
Found a solution for this problem:&lt;br&gt;
Try &lt;b&gt;allocating &lt;/b&gt;your &lt;b&gt;Virtual Hard Disk's space upfront. &lt;/b&gt;Unfortunately,
I didn't find a way to modify my existing virtual hard disk, so I added a new virtual
drive and pre-allocated its space, and it resolved the file transfer problem.&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=0bc1aca5-6f35-4a3e-b9a7-19d49f7e85b5" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,0bc1aca5-6f35-4a3e-b9a7-19d49f7e85b5.aspx</comments>
      <category>Miscellaneous</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=8e10847a-bd5c-499c-927b-2a55e7a9b0c8</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,8e10847a-bd5c-499c-927b-2a55e7a9b0c8.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,8e10847a-bd5c-499c-927b-2a55e7a9b0c8.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=8e10847a-bd5c-499c-927b-2a55e7a9b0c8</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font face="Tahoma">If you are setting
up a FTP Server in a Domain, this article should help you. I have just taken info
from various sites and had consolidated into one.<b><br /><br /><u>Installation </u>- </b><a href="http://support.microsoft.com/kb/323384">Click here</a> to
view the entire article<b><br /></b><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"><ol style="position: relative;"><li style="position: relative;">
Click<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Start</strong>,
point to<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Control
Panel</strong>, and then click<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Add
or Remove Programs</strong>.</li><li style="position: relative;">
Click<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Add/Remove
Windows Components</strong>.</li><li style="position: relative;">
In the<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Components</strong><span class="Apple-converted-space"> </span>list,
click<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Application
Server</strong>, click<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Internet
Information Services (IIS)</strong><span class="Apple-converted-space"> </span>(but
do not select or clear the check box), and then click<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Details</strong>.</li><li style="position: relative;">
Click to select the following check boxes (if they are not already selected):<div class="indent" style="padding: 0px 20px 10px;"><strong class="uiterm" style="">Common
Files<br style="" />
File Transfer Protocol (FTP) Service<br style="" />
Internet Information Services Manager</strong></div></li><li style="position: relative;">
Click to select the check boxes next to any other IIS-related service or subcomponent
that you want to install, and then click<span class="Apple-converted-space"> </span><strong class="uiterm" style="">OK</strong>.</li><li style="position: relative;">
Click<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Next</strong>.</li><li style="position: relative;">
When you are prompted, insert the Windows Server 2003 CD-ROM into the computer's CD-ROM
or DVD-ROM drive or provide a path to the location of the files, and then click<strong class="uiterm" style="">OK</strong>.</li><li style="position: relative;">
Click<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Finish</strong>.<br /></li></ol></span></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"></span><b><u>Configuration</u><br /></b></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"><ol style="position: relative;"><li style="position: relative;">
Start Internet Information Services Manager or open the IIS snap-in.</li><li style="position: relative;">
Expand<span class="Apple-converted-space"> </span><strong class="uiterm" style=""><var style="">Server_name</var></strong>,
where<span class="Apple-converted-space"> </span><var style="">Server_name</var><span class="Apple-converted-space"> </span>is
the name of the server.</li><li style="position: relative;">
Expand<span class="Apple-converted-space"> </span><strong class="uiterm" style="">FTP
Sites</strong></li><li style="position: relative;">
Right-click<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Default
FTP Site</strong>, and then click<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Properties</strong>.</li><li style="position: relative;">
Click the<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Security
Accounts</strong><span class="Apple-converted-space"> </span>tab.</li><li style="position: relative;">
Click to select the<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Allow
Anonymous Connections</strong><span class="Apple-converted-space"> </span>check
box (if it is not already selected), and then click to select the<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Allow
only anonymous connections</strong><span class="Apple-converted-space"> </span>check
box.<span class="Apple-converted-space"></span><br style="" />
When you click to select the<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Allow
only anonymous connections</strong><span class="Apple-converted-space"> </span>check
box, you configure the FTP Service to allow only anonymous connections. Users cannot
log on by using user names and passwords.</li><li style="position: relative;">
Click the<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Home
Directory</strong><span class="Apple-converted-space"> </span>tab.</li><li style="position: relative;">
Click to select the<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Read</strong><span class="Apple-converted-space"> </span>and<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Log
visits</strong><span class="Apple-converted-space"> </span>check boxes (if they
are not already selected), and then click to clear the<span class="Apple-converted-space"> </span><strong class="uiterm" style="">Write</strong><span class="Apple-converted-space"> </span>check
box (if it is not already cleared).</li><li style="position: relative;">
Click<span class="Apple-converted-space"> </span><strong class="uiterm" style="">OK</strong>.</li></ol><b><u>To Isolate the Users</u> - </b><a href="http://support.microsoft.com/kb/555018">Click
here</a> to view the entire article<br /></span></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"><strong style="">To
create a new FTP site that isolates users </strong><br style="" />
1. In IIS Manager, expand the local computer, right-click the<span class="Apple-converted-space"> </span><strong style="">FTP
Sites</strong><span class="Apple-converted-space"> </span>folder, point to<span class="Apple-converted-space"> </span><strong style="">New</strong>,
and click<span class="Apple-converted-space"> </span><strong style="">FTP Site</strong>.<span class="Apple-converted-space"> </span><br style="" />
2. Provide the required information in the<span class="Apple-converted-space"> </span><strong style="">FTP
Site Description</strong><span class="Apple-converted-space"> </span>and<span class="Apple-converted-space"> </span><strong style="">IP
Address and Port Settings</strong><span class="Apple-converted-space"> </span>dialog
boxes, and click<span class="Apple-converted-space"> </span><strong style="">Next</strong>.<span class="Apple-converted-space"> </span><br style="" />
3. In the<span class="Apple-converted-space"> </span><strong style="">FTP User
Isolation</strong><span class="Apple-converted-space"> </span>dialog box, click<span class="Apple-converted-space"> </span><strong style="">Isolate
users</strong>, and click<span class="Apple-converted-space"> </span><strong style="">Next</strong>.<span class="Apple-converted-space"> </span><br style="" />
4. In the<span class="Apple-converted-space"> </span><strong style="">Path</strong><span class="Apple-converted-space"> </span>box,
type or browse to the directory that contains, or will contain, the site content,
and then click<span class="Apple-converted-space"> </span><strong style="">Next</strong>.<br style="" />
5. Select the check boxes for the FTP site access permissions you want to assign
to your users, and then click<span class="Apple-converted-space"> </span><strong style="">Next</strong>.<span class="Apple-converted-space"> </span><br style="" />
6. Click<span class="Apple-converted-space"> </span><strong style="">Finish</strong>.<span class="Apple-converted-space"><br /><br /></span></span></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"><strong style="">To create
FTP root-point and user folders</strong><br style="" />
If users of <b>different domains</b> log on with their explicit<span class="Apple-converted-space"> </span><em style="">domain\username</em><span class="Apple-converted-space"> </span>credentials,
create a subdirectory for each domain (by using the name of the domain) under the
FTP site root directory you specified when you creating the FTP site.<br style="" />
For Example -<br style="" />
Domain Name: Account<br style="" />
FTP root directory -&gt; D:\MyFTP\<br style="" />
LocalUser locate at D:\MyFTP\Account<br style="" />
 <br style="" />
For individual domain user, you need to create folder in this format - <strong style="">Domain\<em style="">username</em></strong><br style="" />
Domain User: Nancy locate at D:\MyFTP\Account\Nancy</span></span><br /><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><br /><u><b><font size="2">How To Configure PassivePortRange In IIS </font></b></u><b><font size="2">- </font></b><font size="2"><a href="http://support.microsoft.com/kb/555022">Click
here</a> to view the entire article. Folders will be listed only if passiveportrange
is configured.<br /></font></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;">a)
To Enable Direct Metabase Edit<br style="" />
1. Open the IIS Microsoft Management Console (MMC).<br style="" />
2. Right-click on the Local Computer node.<br style="" />
3. Select <strong style="">Properties</strong>.<br style="" />
4. Make sure the <strong style="">Enable Direct Metabase Edit</strong> checkbox is checked.<br style="" />
 <br style="" />
b) Configure PassivePortRange via ADSUTIL script<br style="" />
1. Click<span class="Apple-converted-space"> </span><strong style="">Start</strong>,
click<span class="Apple-converted-space"> </span><strong style="">Run</strong>,
type cmd, and then click<span class="Apple-converted-space"> </span><strong style="">OK</strong>.<span class="Apple-converted-space"> </span><br style="" />
2. Type cd Inetpub\AdminScripts and then press ENTER.<br style="" />
3. Type the following command from a command prompt.<br style="" />
    adsutil.vbs set /MSFTPSVC/<strong style="">PassivePortRange</strong> "5500-5700"        
<br style="" />
4. Restart the FTP service (Start-&gt;Run-&gt;services.msc, find FTP Publishing Service
and Restart it).<br /><br />
Note: this is what I executed in my machine - cscript.exe </span></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;">adsutil.vbs set /MSFTPSVC/<strong style="">PassivePortRange</strong> "5500-5700" </span></span><br style="" /><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"> <br style="" />
You'll see the following output, when you configure via ADSUTIL
script:<br style="" />
Microsoft (R) Windows Script Host Version 5.6<br style="" />
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.<br style="" /><br style="" /><strong style="">PassivePortRange</strong>                : (STRING) "5500-5700"<br style="" /></span></span><br /><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><u><b><font size="2">Open
Ports in Windows Firewall</font></b></u><br /><font size="2">Default FTP port is 21, add this TCP port in Windows Firewall Exception
list. 
<br /><br />
To Open/Delete multiple ports 
<br />
open ports<br />
for /L %i in (5000,1,5200) do netsh firewall add portopening TCP %i "FTP %i"<br /><br />
delete opened ports<br />
FOR /L %I IN (5000,1,5200) DO netsh firewall delete portopening TCP %I 
<br /><br /><b><u>FTP Client</u><br /></b><a href="http://www.freecommander.com/">FreeCommander</a> is a windows file manager
which comes with FTP Client, I have been using this for quite some time...I'm satisfied!<br /></font></span><br /></font>
        <p>
        </p>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=8e10847a-bd5c-499c-927b-2a55e7a9b0c8" />
      </body>
      <title>Setting up FTP Server in Win 2003 Server</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,8e10847a-bd5c-499c-927b-2a55e7a9b0c8.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/04/04/SettingUpFTPServerInWin2003Server.aspx</link>
      <pubDate>Sun, 04 Apr 2010 14:13:09 GMT</pubDate>
      <description>&lt;font face="Tahoma"&gt;If you are setting up a FTP Server in a Domain, this article should
help you. I have just taken info from various sites and had consolidated into one.&lt;b&gt;
&lt;br&gt;
&lt;br&gt;
&lt;u&gt;Installation &lt;/u&gt;- &lt;/b&gt;&lt;a href="http://support.microsoft.com/kb/323384"&gt;Click here&lt;/a&gt; to
view the entire article&lt;b&gt;
&lt;br&gt;
&lt;/b&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"&gt;
&lt;ol style="position: relative;"&gt;
&lt;li style="position: relative;"&gt;
Click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Start&lt;/strong&gt;,
point to&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Control
Panel&lt;/strong&gt;, and then click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Add
or Remove Programs&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Add/Remove
Windows Components&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="position: relative;"&gt;
In the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Components&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;list,
click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Application
Server&lt;/strong&gt;, click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Internet
Information Services (IIS)&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;(but
do not select or clear the check box), and then click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Details&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Click to select the following check boxes (if they are not already selected):&lt;div class="indent" style="padding: 0px 20px 10px;"&gt;&lt;strong class="uiterm" style=""&gt;Common
Files&lt;br style=""&gt;
File Transfer Protocol (FTP) Service&lt;br style=""&gt;
Internet Information Services Manager&lt;/strong&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Click to select the check boxes next to any other IIS-related service or subcomponent
that you want to install, and then click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Next&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="position: relative;"&gt;
When you are prompted, insert the Windows Server 2003 CD-ROM into the computer's CD-ROM
or DVD-ROM drive or provide a path to the location of the files, and then click&lt;strong class="uiterm" style=""&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Finish&lt;/strong&gt;.&lt;br&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"&gt;&lt;/span&gt;&lt;b&gt;&lt;u&gt;Configuration&lt;/u&gt;
&lt;br&gt;
&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"&gt;
&lt;ol style="position: relative;"&gt;
&lt;li style="position: relative;"&gt;
Start Internet Information Services Manager or open the IIS snap-in.&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Expand&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;&lt;var style=""&gt;Server_name&lt;/var&gt;&lt;/strong&gt;,
where&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;var style=""&gt;Server_name&lt;/var&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;is
the name of the server.&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Expand&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;FTP
Sites&lt;/strong&gt;
&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Right-click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Default
FTP Site&lt;/strong&gt;, and then click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Properties&lt;/strong&gt;.&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Click the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Security
Accounts&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;tab.&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Click to select the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Allow
Anonymous Connections&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;check
box (if it is not already selected), and then click to select the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Allow
only anonymous connections&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;check
box.&lt;span class="Apple-converted-space"&gt; &lt;/span&gt;
&lt;br style=""&gt;
When you click to select the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Allow
only anonymous connections&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;check
box, you configure the FTP Service to allow only anonymous connections. Users cannot
log on by using user names and passwords.&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Click the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Home
Directory&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;tab.&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Click to select the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Read&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;and&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Log
visits&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;check boxes (if they
are not already selected), and then click to clear the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;Write&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;check
box (if it is not already cleared).&lt;/li&gt;
&lt;li style="position: relative;"&gt;
Click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong class="uiterm" style=""&gt;OK&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;b&gt;&lt;u&gt;To Isolate the Users&lt;/u&gt; - &lt;/b&gt;&lt;a href="http://support.microsoft.com/kb/555018"&gt;Click
here&lt;/a&gt; to view the entire article&lt;br&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"&gt;&lt;strong style=""&gt;To
create a new FTP site that isolates users &lt;/strong&gt;
&lt;br style=""&gt;
1. In IIS Manager, expand the local computer, right-click the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;FTP
Sites&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;folder, point to&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;New&lt;/strong&gt;,
and click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;FTP Site&lt;/strong&gt;.&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;
&lt;br style=""&gt;
2. Provide the required information in the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;FTP
Site Description&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;and&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;IP
Address and Port Settings&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;dialog
boxes, and click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;Next&lt;/strong&gt;.&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;
&lt;br style=""&gt;
3. In the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;FTP User
Isolation&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;dialog box, click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;Isolate
users&lt;/strong&gt;, and click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;Next&lt;/strong&gt;.&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;
&lt;br style=""&gt;
4. In the&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;Path&lt;/strong&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;box,
type or browse to the directory that contains, or will contain, the site content,
and then click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;Next&lt;/strong&gt;.&lt;br style=""&gt;
5. Select the check boxes for the&amp;nbsp;FTP site access permissions you want to assign
to your users, and then click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;Next&lt;/strong&gt;.&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;
&lt;br style=""&gt;
6. Click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;Finish&lt;/strong&gt;.&lt;span class="Apple-converted-space"&gt; 
&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"&gt;&lt;strong style=""&gt;To&amp;nbsp;create
FTP root-point and user folders&lt;/strong&gt;
&lt;br style=""&gt;
If users of &lt;b&gt;different domains&lt;/b&gt; log on with their explicit&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;em style=""&gt;domain\username&lt;/em&gt;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;credentials,
create a subdirectory for each domain (by using the name of the domain) under the
FTP site root directory you specified when you creating the FTP site.&lt;br style=""&gt;
For Example -&lt;br style=""&gt;
Domain Name: Account&lt;br style=""&gt;
FTP root directory -&amp;gt; D:\MyFTP\&lt;br style=""&gt;
LocalUser&amp;nbsp;locate at D:\MyFTP\Account&lt;br style=""&gt;
&amp;nbsp;&lt;br style=""&gt;
For individual domain user, you need to create folder in this format -&amp;nbsp;&lt;strong style=""&gt;Domain\&lt;em style=""&gt;username&lt;/em&gt;&lt;/strong&gt;
&lt;br style=""&gt;
Domain User:&amp;nbsp;Nancy locate at D:\MyFTP\Account\Nancy&lt;/span&gt;&lt;/span&gt;
&lt;br&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;
&lt;br&gt;
&lt;u&gt;&lt;b&gt;&lt;font size="2"&gt;How To Configure PassivePortRange In IIS &lt;/font&gt;&lt;/b&gt;&lt;/u&gt;&lt;b&gt;&lt;font size="2"&gt;- &lt;/font&gt;&lt;/b&gt;&lt;font size="2"&gt;&lt;a href="http://support.microsoft.com/kb/555022"&gt;Click
here&lt;/a&gt; to view the entire article. Folders will be listed only if passiveportrange
is configured.&lt;br&gt;
&lt;/font&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"&gt;a)
To Enable Direct Metabase Edit&lt;br style=""&gt;
1.&amp;nbsp;Open the IIS Microsoft Management Console (MMC).&lt;br style=""&gt;
2.&amp;nbsp;Right-click&amp;nbsp;on&amp;nbsp;the&amp;nbsp;Local Computer node.&lt;br style=""&gt;
3.&amp;nbsp;Select&amp;nbsp;&lt;strong style=""&gt;Properties&lt;/strong&gt;.&lt;br style=""&gt;
4.&amp;nbsp;Make&amp;nbsp;sure&amp;nbsp;the&amp;nbsp;&lt;strong style=""&gt;Enable&amp;nbsp;Direct&amp;nbsp;Metabase&amp;nbsp;Edit&lt;/strong&gt;&amp;nbsp;checkbox&amp;nbsp;is&amp;nbsp;checked.&lt;br style=""&gt;
&amp;nbsp;&lt;br style=""&gt;
b) Configure PassivePortRange via ADSUTIL script&lt;br style=""&gt;
1. Click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;Start&lt;/strong&gt;,
click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;Run&lt;/strong&gt;,
type cmd, and then click&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;&lt;strong style=""&gt;OK&lt;/strong&gt;.&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;
&lt;br style=""&gt;
2. Type cd Inetpub\AdminScripts and then press ENTER.&lt;br style=""&gt;
3. Type the following command from a command prompt.&lt;br style=""&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; adsutil.vbs&amp;nbsp;set&amp;nbsp;/MSFTPSVC/&lt;strong style=""&gt;PassivePortRange&lt;/strong&gt;&amp;nbsp;"5500-5700"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br style=""&gt;
4. Restart the FTP service (Start-&amp;gt;Run-&amp;gt;services.msc, find FTP Publishing Service
and Restart it).&lt;br&gt;
&lt;br&gt;
Note: this is what I executed in my machine - cscript.exe &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"&gt;adsutil.vbs&amp;nbsp;set&amp;nbsp;/MSFTPSVC/&lt;strong style=""&gt;PassivePortRange&lt;/strong&gt;&amp;nbsp;"5500-5700" &lt;/span&gt;&lt;/span&gt;
&lt;br style=""&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 11px; line-height: 16px;"&gt;&amp;nbsp;&lt;br style=""&gt;
You'll&amp;nbsp;see&amp;nbsp;the&amp;nbsp;following&amp;nbsp;output, when you configure via ADSUTIL
script:&lt;br style=""&gt;
Microsoft&amp;nbsp;(R)&amp;nbsp;Windows&amp;nbsp;Script&amp;nbsp;Host&amp;nbsp;Version&amp;nbsp;5.6&lt;br style=""&gt;
Copyright&amp;nbsp;(C)&amp;nbsp;Microsoft&amp;nbsp;Corporation&amp;nbsp;1996-2001.&amp;nbsp;All&amp;nbsp;rights&amp;nbsp;reserved.&lt;br style=""&gt;
&lt;br style=""&gt;
&lt;strong style=""&gt;PassivePortRange&lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;(STRING)&amp;nbsp;"5500-5700"&lt;br style=""&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;br&gt;
&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"&gt;&lt;u&gt;&lt;b&gt;&lt;font size="2"&gt;Open
Ports in Windows Firewall&lt;/font&gt;&lt;/b&gt;&lt;/u&gt;
&lt;br&gt;
&lt;font size="2"&gt;Default FTP port is 21, add this TCP port in Windows Firewall Exception
list. 
&lt;br&gt;
&lt;br&gt;
To Open/Delete multiple ports 
&lt;br&gt;
open ports&lt;br&gt;
for /L %i in (5000,1,5200) do netsh firewall add portopening TCP %i "FTP %i"&lt;br&gt;
&lt;br&gt;
delete opened ports&lt;br&gt;
FOR /L %I IN (5000,1,5200) DO netsh firewall delete portopening TCP %I 
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;&lt;u&gt;FTP Client&lt;/u&gt;
&lt;br&gt;
&lt;/b&gt;&lt;a href="http://www.freecommander.com/"&gt;FreeCommander&lt;/a&gt; is a windows file manager
which comes with FTP Client, I have been using this for quite some time...I'm satisfied!&lt;br&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=8e10847a-bd5c-499c-927b-2a55e7a9b0c8" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,8e10847a-bd5c-499c-927b-2a55e7a9b0c8.aspx</comments>
      <category>For Future Reference</category>
      <category>Miscellaneous</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=45b31b02-7d18-41d6-aeae-5cee82d54de0</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,45b31b02-7d18-41d6-aeae-5cee82d54de0.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,45b31b02-7d18-41d6-aeae-5cee82d54de0.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=45b31b02-7d18-41d6-aeae-5cee82d54de0</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">Presumption: You know the other users'
passwords. 
<br /><br />
1. Open VSS Explorer 
<br />
2. Choose File &gt; Open SourceSafe Database<br />
3. Change the Username (the user who has checked out the files)<br />
4. Once you change the Username, "Open" button will be enabled<br />
5. Click Open and enter the user's credentials<br />
6. Now you should be able checkin the files<br /><br />
Sometimes I do my development stuff in my laptop and sometimes in my desktop, and
I share code using VSS...this approach had helped me many times as I know both the
systems' credentials. I don't have any idea how to do this without knowing the other
users' credentials. 
<p></p><img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=45b31b02-7d18-41d6-aeae-5cee82d54de0" /></body>
      <title>Visual Source Safe - Checkin files checked out by other users from VSS Explorer </title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,45b31b02-7d18-41d6-aeae-5cee82d54de0.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/04/03/VisualSourceSafeCheckinFilesCheckedOutByOtherUsersFromVSSExplorer.aspx</link>
      <pubDate>Sat, 03 Apr 2010 12:03:58 GMT</pubDate>
      <description>Presumption: You know the other users' passwords. &lt;br&gt;
&lt;br&gt;
1. Open VSS Explorer 
&lt;br&gt;
2. Choose File &amp;gt; Open SourceSafe Database&lt;br&gt;
3. Change the Username (the user who has checked out the files)&lt;br&gt;
4. Once you change the Username, "Open" button will be enabled&lt;br&gt;
5. Click Open and enter the user's credentials&lt;br&gt;
6. Now you should be able checkin the files&lt;br&gt;
&lt;br&gt;
Sometimes I do my development stuff in my laptop and sometimes in my desktop, and
I share code using VSS...this approach had helped me many times as I know both the
systems' credentials. I don't have any idea how to do this without knowing the other
users' credentials. 
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=45b31b02-7d18-41d6-aeae-5cee82d54de0" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,45b31b02-7d18-41d6-aeae-5cee82d54de0.aspx</comments>
      <category>For Future Reference</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=080677ef-62ea-4bd0-a9d4-9b38e3855021</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,080677ef-62ea-4bd0-a9d4-9b38e3855021.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,080677ef-62ea-4bd0-a9d4-9b38e3855021.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=080677ef-62ea-4bd0-a9d4-9b38e3855021</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">Here I'm going to use MaxMind's <a href="http://www.maxmind.com/app/ip-location">GeoIP
flat file </a><br /><br /><b>To create a new Integration Services package:</b><br /><br />
1.     Choose Start &gt; All Programs &gt; Microsoft SQL Server
2005 &gt; SQL Server Business Intelligence Development Studio.<br />
2.     On the File menu, choose New &gt; Project to create a new
Integration Services project.<br />
3.     In the New Project dialog box, select Integration Services
Project.<br />
4.     In the Name box, change the default name to Importing Flat
Text File.<br />
5.     Click OK.<br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[24].jpg" border="0" /><br /><br />
An empty package called Package.dtsx will be created and added to your project, you
can rename this package as you want. 
<br /><br /><b>To add connections to the flat file and the database</b><br /><br />
1. Right-click anywhere in the Connection Managers area (bottom most window) and then
click New Flat File Connection (for other type of connections like Excel, FTP etc.,
choose New Connection), it will open Flat File Conneciton Manager Editor. 
<br />
2. On the Flat File Connection Manager Editor screen, enter connection manager name.<br />
3. Click Browse. 
<br />
4. In the Open dialog box, browse to the flat text file you intend to extract data
from. 
<br />
5. Set the fields according to your flat file. To preview the columns in the text
file, click Columns tab. To rename the columns, click Advanced, and in the property
pane change the "Name" property for each column.<br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[10].jpg" border="0" /><br /><br />
6. To add connection to the database, right-click in the Connection Managers area
and then click New OLE DB Connection.<br />
7. On the Configure OLE DB Connection Manager screen, click New.<br />
8. Choose your server (servers in your network will be listed) or enter IP.<br />
9. Choose authentication type and the database.<br />
10. Test the connection. 
<br /><br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[11].jpg" border="0" /><br /><br />
Your connection managers window will look something like this:<br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[25].jpg" border="0" /><br /><br /><b>To add a Data Flow task:</b><br />
1. Click the Control Flow tab. 
<br />
2. Add a Data Flow Task from the toolbox (under Control Flow Items section) to the
design surface of the control flow tab. Rename it as you want.<br /><br /><b>To add a Data Flow Source:</b><br />
1. Click on the Data flow tab.  
<br />
2. Add a Flat File Source from the toolbox (under Data Flow Sources section) to the
design surface of the data flow tab. Rename it as you want.<br />
3. Double-click the Flat File source to open the Flat File Source Editor box.<br />
4. In the Flat file connection manager dropdown, select the created flat file connection.<br />
5. You can rename the output columns if you want.<br /><br /><b>To add a OLE DB destination:</b><br />
1. Add a OLE DB Destination from the toolbox (under DataFlow Destinations).  
<br />
2. Drag the green arrow from the Flat file source to the OLE DB Destination.<br /><br />
Your data flow design surface will look something like this:<br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[15].jpg" border="0" /><br />
3. Double click OLE DB Destination to open OLE DB Destination Editor.<br />
4. Select the created OLE DB connnection for OLE DB connection manager (it will be
automatically selected).<br />
5. Click New to create a new table or choose already created table. 
<br />
6. Here, I have already created a table, so I'm just going to map the input columns
with the table's columns. 
<br /><br />
My table structure:<br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[17].jpg" border="0" /><br /><br />
Mapping:<br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[18].jpg" border="0" /><br /><br /><b>To run this package:</b><br /><br />
1. Click on the Debug menu and click Start Debugging.<br />
2. After the package has completed running, on the Debug menu click Stop Debugging.<br /><br /><b>Additional work:</b><br /><br />
If you see above, all the columns in my flat file are enclosed within double quotes,
to strip them or to format the data.<br /><br /><b>To format the format columns in the flat file before importing:</b><br />
1. Add a Derived Column from the toolbox (under Data Flow Transformations).<br />
2. Connect Flat file source's output to Derived Column and Derived Column's output
to OLE DB Destination.<br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[20].jpg" border="0" /><br /><br />
3. Double click the Derived Column to open Derived Column Transformation Editor.<br />
4. Expand Columns tree and drag the column to be formatted to Derived Column Name,
and add you expression. Here, I'm removing double quotes.<br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[21].jpg" border="0" /><br /><br /><b>To truncate data in the existing table before importing:</b><br /><br />
1. Click Control Flow tab.<br />
2. Add Execute SQL Task from the toolbox (under Control Flow Items) to the design
surface of control flow tab.<br />
3. Double click it to open Execute SQL Task Editor, click the SQLStatement section
ellipsis and add your SQL statement i.e., "Delete From TableName"<br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[22].jpg" border="0" /><br /><br />
4. You can add it before or after the data flow task.<br />
5. Add the connections appropriately.<br /><br />
Start running and the colors will change automatically:<br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[23].jpg" border="0" /><br /><br />
There might be better ways to accomplish this, if so, please let me know.<br /><br />
Thanks<br /><br /><br /><img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=080677ef-62ea-4bd0-a9d4-9b38e3855021" /></body>
      <title>Importing flat file using SQL Server Integration Services (SQL 2005)</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,080677ef-62ea-4bd0-a9d4-9b38e3855021.aspx</guid>
      <link>http://blogs.gokulnath.com//2010/01/23/ImportingFlatFileUsingSQLServerIntegrationServicesSQL2005.aspx</link>
      <pubDate>Sat, 23 Jan 2010 16:41:32 GMT</pubDate>
      <description>Here I'm going to use MaxMind's &lt;a href="http://www.maxmind.com/app/ip-location"&gt;GeoIP
flat file &lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;To create a new Integration Services package:&lt;/b&gt;
&lt;br&gt;
&lt;br&gt;
1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Choose Start &amp;gt; All Programs &amp;gt; Microsoft SQL Server
2005 &amp;gt; SQL Server Business Intelligence Development Studio.&lt;br&gt;
2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; On the File menu, choose New &amp;gt; Project to create a new
Integration Services project.&lt;br&gt;
3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the New Project dialog box, select Integration Services
Project.&lt;br&gt;
4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the Name box, change the default name to Importing Flat
Text File.&lt;br&gt;
5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click OK.&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[24].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
An empty package called Package.dtsx will be created and added to your project, you
can rename this package as you want. 
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;To add connections to the flat file and the database&lt;/b&gt;
&lt;br&gt;
&lt;br&gt;
1. Right-click anywhere in the Connection Managers area (bottom most window) and then
click New Flat File Connection (for other type of connections like Excel, FTP etc.,
choose New Connection), it will open Flat File Conneciton Manager Editor. 
&lt;br&gt;
2. On the Flat File Connection Manager Editor screen, enter connection manager name.&lt;br&gt;
3. Click Browse. 
&lt;br&gt;
4. In the Open dialog box, browse to the flat text file you intend to extract data
from. 
&lt;br&gt;
5. Set the fields according to your flat file. To preview the columns in the text
file, click Columns tab. To rename the columns, click Advanced, and in the property
pane change the "Name" property for each column.&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[10].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
6. To add connection to the database, right-click in the Connection Managers area
and then click New OLE DB Connection.&lt;br&gt;
7. On the Configure OLE DB Connection Manager screen, click New.&lt;br&gt;
8. Choose your server (servers in your network will be listed) or enter IP.&lt;br&gt;
9. Choose authentication type and the database.&lt;br&gt;
10. Test the connection. 
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[11].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
Your connection managers window will look something like this:&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[25].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;To add a Data Flow task:&lt;/b&gt;
&lt;br&gt;
1. Click the Control Flow tab. 
&lt;br&gt;
2. Add a Data Flow Task from the toolbox (under Control Flow Items section) to the
design surface of the control flow tab. Rename it as you want.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;To add a Data Flow Source:&lt;/b&gt;
&lt;br&gt;
1. Click on the Data flow tab.&amp;nbsp; 
&lt;br&gt;
2. Add a Flat File Source from the toolbox (under Data Flow Sources section) to the
design surface of the data flow tab. Rename it as you want.&lt;br&gt;
3. Double-click the Flat File source to open the Flat File Source Editor box.&lt;br&gt;
4. In the Flat file connection manager dropdown, select the created flat file connection.&lt;br&gt;
5. You can rename the output columns if you want.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;To add a OLE DB destination:&lt;/b&gt;
&lt;br&gt;
1. Add a OLE DB Destination from the toolbox (under DataFlow Destinations).&amp;nbsp; 
&lt;br&gt;
2. Drag the green arrow from the Flat file source to the OLE DB Destination.&lt;br&gt;
&lt;br&gt;
Your data flow design surface will look something like this:&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[15].jpg" border="0"&gt;
&lt;br&gt;
3. Double click OLE DB Destination to open OLE DB Destination Editor.&lt;br&gt;
4. Select the created OLE DB connnection for OLE DB connection manager (it will be
automatically selected).&lt;br&gt;
5. Click New to create a new table or choose already created table. 
&lt;br&gt;
6. Here, I have already created a table, so I'm just going to map the input columns
with the table's columns. 
&lt;br&gt;
&lt;br&gt;
My table structure:&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[17].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
Mapping:&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[18].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;To run this package:&lt;/b&gt;
&lt;br&gt;
&lt;br&gt;
1. Click on the Debug menu and click Start Debugging.&lt;br&gt;
2. After the package has completed running, on the Debug menu click Stop Debugging.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Additional work:&lt;/b&gt;
&lt;br&gt;
&lt;br&gt;
If you see above, all the columns in my flat file are enclosed within double quotes,
to strip them or to format the data.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;To format the format columns in the flat file before importing:&lt;/b&gt;
&lt;br&gt;
1. Add a Derived Column from the toolbox (under Data Flow Transformations).&lt;br&gt;
2. Connect Flat file source's output to Derived Column and Derived Column's output
to OLE DB Destination.&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[20].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
3. Double click the Derived Column to open Derived Column Transformation Editor.&lt;br&gt;
4. Expand Columns tree and drag the column to be formatted to Derived Column Name,
and add you expression. Here, I'm removing double quotes.&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[21].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;To truncate data in the existing table before importing:&lt;/b&gt;
&lt;br&gt;
&lt;br&gt;
1. Click Control Flow tab.&lt;br&gt;
2. Add Execute SQL Task from the toolbox (under Control Flow Items) to the design
surface of control flow tab.&lt;br&gt;
3. Double click it to open Execute SQL Task Editor, click the SQLStatement section
ellipsis and add your SQL statement i.e., "Delete From TableName"&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[22].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
4. You can add it before or after the data flow task.&lt;br&gt;
5. Add the connections appropriately.&lt;br&gt;
&lt;br&gt;
Start running and the colors will change automatically:&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[23].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
There might be better ways to accomplish this, if so, please let me know.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=080677ef-62ea-4bd0-a9d4-9b38e3855021" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,080677ef-62ea-4bd0-a9d4-9b38e3855021.aspx</comments>
      <category>SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=c2d071d4-d2f9-41a2-9272-415ade70118e</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,c2d071d4-d2f9-41a2-9272-415ade70118e.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,c2d071d4-d2f9-41a2-9272-415ade70118e.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=c2d071d4-d2f9-41a2-9272-415ade70118e</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font face="Tahoma" size="2">
          <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
            <span class="Apple-style-span" style="font-family: arial; font-size: small;">
              <div>I have seen people always getting confused with the loan calculation method,
especially auto loan (including me, when I bought my first car), just to help you
all ... I have created this calculator. Try this and find out how it differs from
the other calculators on the internet.<span class="Apple-converted-space"> </span><br /><br /><b>What my calculator is capable of?</b><br />
1. Calculates monthly payment or apr or term or loan amount based on your input. (any
calculator online does this ... not a big deal)<br />
2. Gives you the total amount that a person will pay if he takes a loan i.e., principal
(loan amount) + total interest amount.<span class="Apple-converted-space"> </span><br />
3. Gives you the amortization table i.e., monthly splits. The amount that goes towards
your principal and interest from your monthly payment.<br />
4. Allows you to edit your monthly payment and gives you the amount that you will
gain with the change. Many pay their monthly payments exactly, without knowing that
even few dollars (or rupees or whatever) increase will change their total interest.<br />
5. Tells you whether refinance will be profitable or not, by changing interest rate
or loan term. Gives you the amount that you will save/lose by refinancing.<span class="Apple-converted-space"> </span><br /><br /><b>Formula used for this calculator:</b><br />
Monthly Payment = (P * R) / (1 - (1 + R)^(-n)) where<br /><br />
P = Loan amount<br />
n = loan term i.e., number of months<span class="Apple-converted-space"> </span><br />
R = Annual Percentage Rate/ (12 * 100) <span class="Apple-converted-space"> </span><br />
12:number of months/year<span class="Apple-converted-space"> </span><br />
100: As rates are in percentage<br /><br /></div>
              <div>Feel free to send your comments.
</div>
            </span>
          </span>
        </font>
        <p>
        </p>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=c2d071d4-d2f9-41a2-9272-415ade70118e" />
      </body>
      <title>Loan Calculator</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,c2d071d4-d2f9-41a2-9272-415ade70118e.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/12/21/LoanCalculator.aspx</link>
      <pubDate>Mon, 21 Dec 2009 13:02:42 GMT</pubDate>
      <description>&lt;font face="Tahoma" size="2"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;
&lt;div&gt;I have seen people always getting confused with the loan calculation method,
especially auto loan (including me, when I bought my first car), just to help you
all ... I have created this calculator. Try this and find out how it differs from
the other calculators on the internet.&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;What my calculator is capable of?&lt;/b&gt;
&lt;br&gt;
1. Calculates monthly payment or apr or term or loan amount based on your input. (any
calculator online does this ... not a big deal)&lt;br&gt;
2. Gives you the total amount that a person will pay if he takes a loan i.e., principal
(loan amount) + total interest amount.&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;
&lt;br&gt;
3. Gives you the amortization table i.e., monthly splits. The amount that goes towards
your principal and interest from your monthly payment.&lt;br&gt;
4. Allows you to edit your monthly payment and gives you the amount that you will
gain with the change. Many pay their monthly payments exactly, without knowing that
even few dollars (or rupees or whatever) increase will change their total interest.&lt;br&gt;
5. Tells you whether refinance will be profitable or not, by changing interest rate
or loan term. Gives you the amount that you will save/lose by refinancing.&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Formula used for this calculator:&lt;/b&gt;
&lt;br&gt;
Monthly Payment = (P * R) / (1 - (1 + R)^(-n)) where&lt;br&gt;
&lt;br&gt;
P = Loan amount&lt;br&gt;
n = loan term i.e., number of months&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;
&lt;br&gt;
R = Annual Percentage Rate/ (12 * 100)&amp;nbsp;&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;
&lt;br&gt;
12:number of months/year&lt;span class="Apple-converted-space"&gt;&amp;nbsp;&lt;/span&gt;
&lt;br&gt;
100: As rates are in percentage&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;div&gt;Feel free to send your comments.
&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=c2d071d4-d2f9-41a2-9272-415ade70118e" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,c2d071d4-d2f9-41a2-9272-415ade70118e.aspx</comments>
      <category>Miscellaneous</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=00962f30-fd07-4e93-b2c4-08e039363cb1</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,00962f30-fd07-4e93-b2c4-08e039363cb1.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,00962f30-fd07-4e93-b2c4-08e039363cb1.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=00962f30-fd07-4e93-b2c4-08e039363cb1</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font face="Tahoma" size="2">Can anybody
find the difference between the first and the second ‘testing abc’ in this file <a href="http://blogs.gokulnath.com//content/binary/test.txt">test.txt
(.02 KB)</a>. Open the file and search for ‘testing’ (there should be 2 matches),
‘abc’ (2 matches) and then ‘testing abc’ (1 match). It is because the ‘space’ between
the two words varies, one is a regular space and the other is a html space (not nbsp),
their ascii values are 32 and 160 respectively. I figured this after converting the
spaces to ascii values! (spent almost an hour)<br /><br /></font>
        <font face="Tahoma" size="2">
          <a href="http://blogs.gokulnath.com//content/binary/test.txt">
            <br />
          </a>
        </font>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=00962f30-fd07-4e93-b2c4-08e039363cb1" />
      </body>
      <title>Regular space and html space (ascii 32 and 160 respectively)</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,00962f30-fd07-4e93-b2c4-08e039363cb1.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/12/09/RegularSpaceAndHtmlSpaceAscii32And160Respectively.aspx</link>
      <pubDate>Wed, 09 Dec 2009 20:44:20 GMT</pubDate>
      <description>&lt;font face="Tahoma" size="2"&gt;Can anybody find the difference between the first and
the second ‘testing abc’ in this file &lt;a href="http://blogs.gokulnath.com//content/binary/test.txt"&gt;test.txt
(.02 KB)&lt;/a&gt;. Open the file and search for ‘testing’ (there should be 2 matches),
‘abc’ (2 matches) and then ‘testing abc’ (1 match). It is because the ‘space’ between
the two words varies, one is a regular space and the other is a html space (not nbsp),
their ascii values are 32 and 160 respectively. I figured this after converting the
spaces to ascii values! (spent almost an hour)&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;&lt;a href="http://blogs.gokulnath.com//content/binary/test.txt"&gt;
&lt;br&gt;
&lt;/a&gt;&lt;/font&gt;&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=00962f30-fd07-4e93-b2c4-08e039363cb1" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,00962f30-fd07-4e93-b2c4-08e039363cb1.aspx</comments>
      <category>.NET</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=288e8db5-089d-433b-853c-71f4aab28764</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,288e8db5-089d-433b-853c-71f4aab28764.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,288e8db5-089d-433b-853c-71f4aab28764.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=288e8db5-089d-433b-853c-71f4aab28764</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font face="Tahoma" size="2">We can take
an ASP.NET 2.0 application offline temporarily by uploading a file called app_offline.htm
to the root directory.  It will shut-down the application, unload the application
domain from the server, and stop processing any new incoming requests for that application. 
<br /><br />
To know more about this - <a href="http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx">http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx</a><br /><br />
Working around the "IE Friendly Errors" feature - <a href="http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx">http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx</a><br /><br />
I came to know this only today when I was listening to Hansel minutes, this will definitely
help me in taking my website down easily.<br /><br /></font>
        <p>
        </p>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=288e8db5-089d-433b-853c-71f4aab28764" />
      </body>
      <title>Take an asp.net application offline easily</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,288e8db5-089d-433b-853c-71f4aab28764.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/12/09/TakeAnAspnetApplicationOfflineEasily.aspx</link>
      <pubDate>Wed, 09 Dec 2009 20:36:59 GMT</pubDate>
      <description>&lt;font face="Tahoma" size="2"&gt;We can take an ASP.NET 2.0 application offline temporarily
by uploading a file called app_offline.htm to the root directory.&amp;nbsp; It will shut-down
the application, unload the application domain from the server, and stop processing
any new incoming requests for that application. 
&lt;br&gt;
&lt;br&gt;
To know more about this - &lt;a href="http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
Working around the "IE Friendly Errors" feature - &lt;a href="http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
I came to know this only today when I was listening to Hansel minutes, this will definitely
help me in taking my website down easily.&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=288e8db5-089d-433b-853c-71f4aab28764" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,288e8db5-089d-433b-853c-71f4aab28764.aspx</comments>
      <category>.NET</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=8871ee4e-b341-49b5-8b79-c43389745c5a</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,8871ee4e-b341-49b5-8b79-c43389745c5a.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,8871ee4e-b341-49b5-8b79-c43389745c5a.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=8871ee4e-b341-49b5-8b79-c43389745c5a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font face="Tahoma" size="2">This is for
my future reference.<br /><br />
If you are using sitemap as the data source for the menu control, then you can set
the property ShowStartingNode = "false" of sitemapdatasource.  Inorder to hide
the arrow image, set the properties DynamicEnableDefaultPopOutImage = "False" and
StaticEnableDefaultPopoutImage = "False" of the menu control.<br /></font>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=8871ee4e-b341-49b5-8b79-c43389745c5a" />
      </body>
      <title>ASP.NET menu control - hiding root node and arrow image</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,8871ee4e-b341-49b5-8b79-c43389745c5a.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/12/09/ASPNETMenuControlHidingRootNodeAndArrowImage.aspx</link>
      <pubDate>Wed, 09 Dec 2009 16:28:18 GMT</pubDate>
      <description>&lt;font face="Tahoma" size="2"&gt;This is for my future reference.&lt;br&gt;
&lt;br&gt;
If you are using sitemap as the data source for the menu control, then you can set
the property ShowStartingNode = "false" of sitemapdatasource.&amp;nbsp; Inorder to hide
the arrow image, set the properties DynamicEnableDefaultPopOutImage = "False" and
StaticEnableDefaultPopoutImage = "False" of the menu control.&lt;br&gt;
&lt;/font&gt;&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=8871ee4e-b341-49b5-8b79-c43389745c5a" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,8871ee4e-b341-49b5-8b79-c43389745c5a.aspx</comments>
      <category>.NET</category>
      <category>For Future Reference</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=33443913-4962-4b18-8955-174645bb2347</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,33443913-4962-4b18-8955-174645bb2347.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,33443913-4962-4b18-8955-174645bb2347.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=33443913-4962-4b18-8955-174645bb2347</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font face="Tahoma" size="2">Setting up
shoutcast server is just like installing any other software.  Installation and
configurations should not take you enough time, whereas opening your firewall/router
ports might take some time, it depends on your networking knowledge. If you are aware
of setting up a router or any other network device, this should not take you enough
time.<br /><br />
Here you go:<br /><br />
1. <a href="http://www.winamp.com/">Download </a>Winamp. Install it. 
<br />
2. <a href="http://www.shoutcast.com/download">Download </a>DSP plug-in. Install it.<br />
3. <a href="http://www.shoutcast.com/download-files">Download</a> appropriate DNAS
Shoutcast Server for your server and OS. Install GUI version.<br />
4. Run DNAS server. This will open your GUI.<br /><br /></font>
        <font face="Tahoma" size="2">
          <img src="http://blogs.gokulnath.com//content/binary/CropperCapture[2].jpg" border="0" />
          <br />
          <br />
5. Start Winamp and open Preferences (CTRL-P) and click on the DSP/effects subcategory
under the Plug-ins tree.<br />
6. Select Nullsoft SHOUTCast Source DSP v x.x. This will open a pop-up like this<br /><br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[3].jpg" border="0" /><br /><br />
7. Play some song in winamp, this will change the dB on Input Meters (Main Tab).<br />
8. Go to the 'Encoder' tab. Change the Encoder Type to MP3 Encoder, if you are playing
mp3 song. This will automatically choose Encoder Settings to 24 Kbps, 22.050kHz, Mono.
You can change this based on your needs.<br />
9. Go to the 'Output' tab. Click the Connect button, this will start streaming the
song current being played i.e., the status will change from 'Not Connected' and it
will look like the window below. Click Yellowpages to add information about your radio.<br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[4].jpg" border="0" /><br /><br />
10. If the status has changed, you can jump to step . If the status has not changed,
check whether the shoutcast server has been added to your Windows Firewall exceptions
list. Open your control panel, double-click windows firewall and go to Exceptions
tab. Check whether 'sc_serv' is in the exception list, if not, click add program and
add your shoutcast server exe (programfiles\shoutcast).<br /><br /><img src="http://blogs.gokulnath.com//content/binary/CropperCapture[5].jpg" border="0" /><br /><br />
11. To check whether the shoutcast server is streaming properly, open windows media
player. Go to File menu and click Open Url (ALT + F, U), and type http://localhost:8000.
You should be able to listen to the song being played in winamp.<br />
12. Open ports 8000 and 8001 in your windows firewall (see step 10 to know about opening
firewall ports), and then open the same ports in your router (look for port forwarding
in your router config page). This will allow you to stream your radio on the internet. 
<br />
13. You can change the Shoutcast server's settings based on your needs (open DNAS
GUI and click Edit Config). This site explains clearly about the settings - <a href="http://www.gentoo.org/doc/en/shoutcast-config.xml#doc_chap1">http://www.gentoo.org/doc/en/shoutcast-config.xml#doc_chap1</a><br /><br /><b>Fetching Shoutcast statistics from .NET application</b><br /><br /></font>
        <font face="Tahoma" size="2">
          <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
            <span class="Apple-style-span" style="font-family: arial; font-size: small;">WebClient
webClient = new WebClient();<br />
String xmlDoc;<br />
DataSet shoutCastStatistics = new DataSet();<br /><br />
webClient.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.2; .NET CLR 1.0.3705;)");<br /></span>
          </span>
          <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
            <span class="Apple-style-span" style="font-family: arial; font-size: small;">xmlDoc</span>
          </span>
          <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
            <span class="Apple-style-span" style="font-family: arial; font-size: small;">=
webClient.DownloadString("http://yourradiourlORwanip:8000/admin.cgi?pass=PASSWORD&amp;mode=viewxml");<br /></span>
          </span>
          <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
            <span class="Apple-style-span" style="font-family: arial; font-size: small;">shoutCastStatistics</span>
          </span>
          <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
            <span class="Apple-style-span" style="font-family: arial; font-size: small;">.ReadXml(new
StringReader(</span>
          </span>
        </font>
        <font face="Tahoma" size="2">
          <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
            <span class="Apple-style-span" style="font-family: arial; font-size: small;">xmlDoc</span>
          </span>
        </font>
        <font face="Tahoma" size="2">
          <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
            <span class="Apple-style-span" style="font-family: arial; font-size: small;">),
XmlReadMode.Auto);</span>
          </span>
          <br />
          <br />
Dataset <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: arial; font-size: small;"></span></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: arial; font-size: small;">shoutCastStatistics</span></span><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: arial; font-size: small;"> should
have 5 tables: </span></span>shoutcastserver, webdata, listeners, listener, songhistory
and song<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="font-family: arial; font-size: small;"></span></span>.
You can use them based on your needs.<br /><br />
Feel free to contact me if you have any questions.<br /><br /><br /></font>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=33443913-4962-4b18-8955-174645bb2347" />
      </body>
      <title>Setting up ShoutCast Server (online radio) and fetching its statistics from .NET application</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,33443913-4962-4b18-8955-174645bb2347.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/12/09/SettingUpShoutCastServerOnlineRadioAndFetchingItsStatisticsFromNETApplication.aspx</link>
      <pubDate>Wed, 09 Dec 2009 04:08:22 GMT</pubDate>
      <description>&lt;font face="Tahoma" size="2"&gt;Setting up shoutcast server is just like installing any
other software.&amp;nbsp; Installation and configurations should not take you enough time,
whereas opening your firewall/router ports might take some time, it depends on your
networking knowledge. If you are aware of setting up a router or any other network
device, this should not take you enough time.&lt;br&gt;
&lt;br&gt;
Here you go:&lt;br&gt;
&lt;br&gt;
1. &lt;a href="http://www.winamp.com/"&gt;Download &lt;/a&gt;Winamp. Install it. 
&lt;br&gt;
2. &lt;a href="http://www.shoutcast.com/download"&gt;Download &lt;/a&gt;DSP plug-in. Install it.&lt;br&gt;
3. &lt;a href="http://www.shoutcast.com/download-files"&gt;Download&lt;/a&gt; appropriate DNAS
Shoutcast Server for your server and OS. Install GUI version.&lt;br&gt;
4. Run DNAS server. This will open your GUI.&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[2].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
5. Start Winamp and open Preferences (CTRL-P) and click on the DSP/effects subcategory
under the Plug-ins tree.&lt;br&gt;
6. Select Nullsoft SHOUTCast Source DSP v x.x. This will open a pop-up like this&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[3].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
7. Play some song in winamp, this will change the dB on Input Meters (Main Tab).&lt;br&gt;
8. Go to the 'Encoder' tab. Change the Encoder Type to MP3 Encoder, if you are playing
mp3 song. This will automatically choose Encoder Settings to 24 Kbps, 22.050kHz, Mono.
You can change this based on your needs.&lt;br&gt;
9. Go to the 'Output' tab. Click the Connect button, this will start streaming the
song current being played i.e., the status will change from 'Not Connected' and it
will look like the window below. Click Yellowpages to add information about your radio.&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[4].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
10. If the status has changed, you can jump to step . If the status has not changed,
check whether the shoutcast server has been added to your Windows Firewall exceptions
list. Open your control panel, double-click windows firewall and go to Exceptions
tab. Check whether 'sc_serv' is in the exception list, if not, click add program and
add your shoutcast server exe (programfiles\shoutcast).&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blogs.gokulnath.com//content/binary/CropperCapture[5].jpg" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
11. To check whether the shoutcast server is streaming properly, open windows media
player. Go to File menu and click Open Url (ALT + F, U), and type http://localhost:8000.
You should be able to listen to the song being played in winamp.&lt;br&gt;
12. Open ports 8000 and 8001 in your windows firewall (see step 10 to know about opening
firewall ports), and then open the same ports in your router (look for port forwarding
in your router config page). This will allow you to stream your radio on the internet. 
&lt;br&gt;
13. You can change the Shoutcast server's settings based on your needs (open DNAS
GUI and click Edit Config). This site explains clearly about the settings - &lt;a href="http://www.gentoo.org/doc/en/shoutcast-config.xml#doc_chap1"&gt;http://www.gentoo.org/doc/en/shoutcast-config.xml#doc_chap1&lt;/a&gt;
&lt;br&gt;
&lt;br&gt;
&lt;b&gt;Fetching Shoutcast statistics from .NET application&lt;/b&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;WebClient
webClient = new WebClient();&lt;br&gt;
String xmlDoc;&lt;br&gt;
DataSet shoutCastStatistics = new DataSet();&lt;br&gt;
&lt;br&gt;
webClient.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.2; .NET CLR 1.0.3705;)");&lt;br&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;xmlDoc&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;=
webClient.DownloadString("http://yourradiourlORwanip:8000/admin.cgi?pass=PASSWORD&amp;amp;mode=viewxml");&lt;br&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;shoutCastStatistics&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;.ReadXml(new
StringReader(&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;xmlDoc&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;font face="Tahoma" size="2"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;),
XmlReadMode.Auto);&lt;/span&gt;&lt;/span&gt;
&lt;br&gt;
&lt;br&gt;
Dataset &lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;shoutCastStatistics&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: small;"&gt; should
have 5 tables: &lt;/span&gt;&lt;/span&gt;shoutcastserver, webdata, listeners, listener, songhistory
and song&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: arial; font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;.
You can use them based on your needs.&lt;br&gt;
&lt;br&gt;
Feel free to contact me if you have any questions.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=33443913-4962-4b18-8955-174645bb2347" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,33443913-4962-4b18-8955-174645bb2347.aspx</comments>
      <category>.NET</category>
      <category>Miscellaneous</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=824e5307-df64-4d10-a032-6238943b364c</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,824e5307-df64-4d10-a032-6238943b364c.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,824e5307-df64-4d10-a032-6238943b364c.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=824e5307-df64-4d10-a032-6238943b364c</wfw:commentRss>
      <title>CSS Friendly Adapters</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,824e5307-df64-4d10-a032-6238943b364c.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/11/19/CSSFriendlyAdapters.aspx</link>
      <pubDate>Thu, 19 Nov 2009 15:39:14 GMT</pubDate>
      <description>&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CGMURUG%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;
	text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;
	text-underline:single;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;If we want to get control over
finally rendered output of ASP.NET controls like Menu, TreeView, DataList etc, we
can use CSS Control Adapter. This adapter emits CSS friendly html output and can significantly
help when using CSS on the website.&lt;o:p&gt;&lt;/o:p&gt;
To know more about this adapter, follow this link - &lt;a href="http://www.codeplex.com/cssfriendly"&gt;&lt;span style="color: windowtext;"&gt;http://www.codeplex.com/cssfriendly&lt;/span&gt;&lt;/a&gt;
&lt;o:p&gt;&lt;/o:p&gt;
. To see the difference between the html generated with and without using this adapter,
follow this link - &lt;a href="http://www.asp.net/CSSAdapters/Menu.aspx"&gt;&lt;span style="color: windowtext;"&gt;http://www.asp.net/CSSAdapters/Menu.aspx&lt;/span&gt;&lt;/a&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;o:p&gt;
&lt;br&gt;
&lt;/o:p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=824e5307-df64-4d10-a032-6238943b364c" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,824e5307-df64-4d10-a032-6238943b364c.aspx</comments>
      <category>.NET</category>
      <category>HTML</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=aa8c388d-4249-4e42-8a9e-e7be115e5fa8</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,aa8c388d-4249-4e42-8a9e-e7be115e5fa8.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,aa8c388d-4249-4e42-8a9e-e7be115e5fa8.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=aa8c388d-4249-4e42-8a9e-e7be115e5fa8</wfw:commentRss>
      <title>Choose Items in Visual Studio Toolbox crashes Visual Studio</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,aa8c388d-4249-4e42-8a9e-e7be115e5fa8.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/11/16/ChooseItemsInVisualStudioToolboxCrashesVisualStudio.aspx</link>
      <pubDate>Mon, 16 Nov 2009 15:04:38 GMT</pubDate>
      <description>&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CGMURUG%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
I was trying to add AJAX Control Toolkit to my Toolbox, for some reason Visual Studio
was crashing. I found a solution for it, see this works out for you – start Visual
Studio in safe mode (go to Visual Studio’s command prompt and execute ‘&lt;b style=""&gt;&lt;span style="color: black;"&gt;devenv
/safemode&lt;/span&gt;&lt;/b&gt;’) and then try to add items to your toolbox, I was able to do
it!&lt;o:p&gt;&lt;/o:p&gt;
There might be a better solution for this, please let me know if there is one.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=aa8c388d-4249-4e42-8a9e-e7be115e5fa8" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,aa8c388d-4249-4e42-8a9e-e7be115e5fa8.aspx</comments>
      <category>.NET</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=8512ecc8-60f3-4529-a108-01c25879c9b7</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,8512ecc8-60f3-4529-a108-01c25879c9b7.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,8512ecc8-60f3-4529-a108-01c25879c9b7.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=8512ecc8-60f3-4529-a108-01c25879c9b7</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <title>Deals Alert Service</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,8512ecc8-60f3-4529-a108-01c25879c9b7.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/11/14/DealsAlertService.aspx</link>
      <pubDate>Sat, 14 Nov 2009 15:01:34 GMT</pubDate>
      <description>&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1.WHI%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;
	mso-font-charset:2;
	mso-generic-font-family:auto;
	mso-font-pitch:variable;
	mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Initially, I developed this deals
alert service for my personal use and later on thought it might be useful for others
too, so I extended it accordingly and added it here. This service basically grabs
RSS feeds from deals sites (listed on the deals alert page of my site) and checks
for the keyword(s) that are added, and if it finds a match, sends email at the time
mentioned on the page. This service performs properly only if the keyword(s) are specific,
because it is&amp;nbsp; just using some ‘&lt;b&gt;exact&lt;/b&gt;’ and ‘&lt;b&gt;like&lt;/b&gt;’ string searches.
I might be improvising this by using dictionary or thesaurus in the future.&amp;nbsp;
You can enter multiple keywords (separated by spaces) related to a single product,
and only if all the words are present on the deal title, alert email will be sent.
As I’m just using simple search here, the deal may not be related to the product you
are looking. For eg., say suppose you add an alert for ‘card reader’ and if there
is any deal for a laptop with ‘card reader’, my service is going to grab this deal
too, because this service is not as intelligent as you are &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Wingdings;"&gt;&lt;span style=""&gt;:)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;.
So, in this case it is better to add price limit too.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;I have added this service without
any commercial intention, so do not worry about your emailids, I won’t trade them
to advertisers, and moreover you can unsubscribe from this service or modify the added
keywords at any time by clicking ‘Unsubscribe’ link on the email that will be sent
to you after adding an alert.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;After writing this service I understood
how difficult it is come up with search algorithms, hats off to Google and other search
engines. Implementing ‘exact’ keyword search was easy whereas ‘like’ search was very
difficult. &lt;span style=""&gt;&amp;nbsp;&lt;/span&gt;For eg., I added ‘backpack’ as keyword, the
service was bringing all the deals having ‘pack’ on the title, like ‘cd pack’, ‘dvd
pack’ etc. I told about this service to couple of my friends, and one of my friends
added ‘mens watches’ as keyword, and found out that most of the deals had “men’s”
on the title. I recoded to accommodate this scenario, but still it is going to bring
deals related to women's watch even if you add men's watch. One last example, keyword
‘all in one printer’, there was a deal with title ‘Calls to any phone in India’, if
you see here ‘all’ is in ‘calls’, ‘in’ is in ‘India’ and ‘one’ is in ‘phone’. I can
keep listing out examples on this service's ability/disability. As a developer, I
have done my testing part (developer's test cases are always subset of testers' test
cases) to an extent, it is yours now...you are my testers!&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;If you have any idea or thoughts
to improvise this service, please send your comments. Here is the &lt;a href="http://www.gokulnath.com/dealsalert/adddealsalert.aspx"&gt;link&lt;/a&gt;.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=8512ecc8-60f3-4529-a108-01c25879c9b7" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,8512ecc8-60f3-4529-a108-01c25879c9b7.aspx</comments>
      <category>Miscellaneous</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=5c97b64f-345f-4767-8d7e-d7e715c45766</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,5c97b64f-345f-4767-8d7e-d7e715c45766.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,5c97b64f-345f-4767-8d7e-d7e715c45766.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=5c97b64f-345f-4767-8d7e-d7e715c45766</wfw:commentRss>
      <title>To prevent your system from idling </title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,5c97b64f-345f-4767-8d7e-d7e715c45766.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/11/12/ToPreventYourSystemFromIdling.aspx</link>
      <pubDate>Thu, 12 Nov 2009 22:52:51 GMT</pubDate>
      <description>&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CGMURUG%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:11.0in 8.5in;
	mso-page-orientation:landscape;
	margin:.25in .25in .25in .25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CGMURUG%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;This program prevents your system
from getting locked even if it is left idle for time greater than your screen saver
time. It basically presses ‘down’ arrow key every minute.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Create a Windows Forms Application
and add a timer to the form. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;public&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; Form1()&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;InitializeComponent();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;StartAction();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;private&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; StartAction()&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
the timer is started and the form is minimized&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;//
set the timer interval as per your needs. I have set it to be 60000 milliseconds =
1 min&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;timer_keypress.Enabled
= &lt;span style="color: blue;"&gt;true&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;this&lt;/span&gt;.WindowState
= &lt;span style="color: rgb(43, 145, 175);"&gt;FormWindowState&lt;/span&gt;.Minimized;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;this&lt;/span&gt;.ShowInTaskbar
= &lt;span style="color: blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;To add the application to your
system tray when minimized, add a notify icon from your toolbox to the forms and set
properties appropriately. I chose an icon and changed the text property. By default
this form will be in minimized state, as I have added code to do so in my StartAction
function.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Add context menu from your toolbox
to show menu when the system tray icon is right clicked. Right click contextMenuStrip
and choose Edit items to add your menu items. Double click on the menu item to add
a handler. I’ve added ‘Exit’ menu. Set your notify icon’s contextmenustrip property.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;private&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; exitToolStripMenuItem_Click(&lt;span style="color: blue;"&gt;object&lt;/span&gt; sender, &lt;span style="color: rgb(43, 145, 175);"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;StopAction();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;private&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; StopAction()&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
the timer is stopped and the form is closed&lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;timer_keypress.Enabled
= &lt;span style="color: blue;"&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;this&lt;/span&gt;.Close();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;// this event will
be triggered every minute&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;private&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; timer_keypress_Tick(&lt;span style="color: blue;"&gt;object&lt;/span&gt; sender, &lt;span style="color: rgb(43, 145, 175);"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;SendKeys&lt;/span&gt;.SendWait(&lt;span style="color: rgb(163, 21, 21);"&gt;"{DOWN}"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;}&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;There are many ways to do this,
I found this one to be easy.&lt;/span&gt;
&lt;/p&gt;
&lt;br&gt;
&lt;font size="2" face="Tahoma"&gt;Here is the file&lt;/font&gt; -&amp;nbsp;&lt;a href="http://blogs.gokulnath.com//content/binary/KeyPress.exe"&gt;KeyPress.exe
(889 KB)&lt;/a&gt;&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=5c97b64f-345f-4767-8d7e-d7e715c45766" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,5c97b64f-345f-4767-8d7e-d7e715c45766.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=f02845a0-12fa-481c-9bb0-a1216f658cd9</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,f02845a0-12fa-481c-9bb0-a1216f658cd9.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,f02845a0-12fa-481c-9bb0-a1216f658cd9.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=f02845a0-12fa-481c-9bb0-a1216f658cd9</wfw:commentRss>
      <title>Get Windows account name on your ASP.NET page</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,f02845a0-12fa-481c-9bb0-a1216f658cd9.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/11/06/GetWindowsAccountNameOnYourASPNETPage.aspx</link>
      <pubDate>Fri, 06 Nov 2009 15:04:37 GMT</pubDate>
      <description>&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CGMURUG%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;With &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;authentication&lt;/span&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;mode&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;&lt;span style=""&gt;"&lt;span style="color: blue;"&gt;Windows&lt;/span&gt;"&lt;span style="color: blue;"&gt;/&amp;gt; &lt;/span&gt;&lt;span style="color: black;"&gt;in
your application and Anonymous access enabled in IIS, you will see the following results:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;System.Environment.UserName: &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Computer
Name&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Page.User.Identity.Name: &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Blank&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;System.Security.Principal.WindowsIdentity.GetCurrent().Name:&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; Computer
Name 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;With &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;authentication&lt;/span&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;mode&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;&lt;span style=""&gt;"&lt;span style="color: blue;"&gt;Windows&lt;/span&gt;"&lt;span style="color: blue;"&gt;/&amp;gt; &lt;/span&gt;&lt;span style="color: black;"&gt;in
your application, and ‘Anonymous access’ disabled and only ‘Integrated Windows Authentication’
in IIS, you will see the following results:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;System.Environment.UserName: &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;ASPNET
(user account used to run ASP.NET service)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;Page.User.Identity.Name: &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;Domain\
Windows Account Name 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;System.Security.Principal.WindowsIdentity.GetCurrent().Name:&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; Computer
Name\ASPNET&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;With &lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;authentication&lt;/span&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;mode&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;&lt;span style=""&gt;"&lt;span style="color: blue;"&gt;Windows&lt;/span&gt;"&lt;span style="color: blue;"&gt;/&amp;gt; &lt;/span&gt;&lt;span style="color: black;"&gt;and&lt;/span&gt;&lt;span style="color: blue;"&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;identity&lt;/span&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;impersonate&lt;/span&gt;&lt;span style="color: blue;"&gt; =&lt;/span&gt;"&lt;span style="color: blue;"&gt;true&lt;/span&gt;"&lt;span style="color: blue;"&gt;/&amp;gt; &lt;/span&gt;&lt;span style="color: black;"&gt;in
your application, and ‘Anonymous access’ disabled and only ‘Integrated Windows Authentication’
in IIS, you will see the following results:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;System.Environment.UserName:&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt; Windows
Account Name 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;Page.User.Identity.Name:&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt; Domain\
Windows Account Name 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;System.Security.Principal.WindowsIdentity.GetCurrent().Name:&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt; Domain\
Windows Account Name 
&lt;br&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
&lt;meta name="ProgId" content="Word.Document"&gt;
&lt;meta name="Generator" content="Microsoft Word 11"&gt;
&lt;meta name="Originator" content="Microsoft Word 11"&gt;
&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CGMURUG%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;With&lt;span style="color: blue;"&gt; &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;authentication&lt;/span&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;mode&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"Forms"&lt;span style="color: blue;"&gt;/&amp;gt;:&lt;/span&gt;&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;Request.ServerVariables["LOGON_USER"]:&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;Domain\
Windows Account Name &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/p&gt;
&lt;br&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;&lt;/span&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=f02845a0-12fa-481c-9bb0-a1216f658cd9" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,f02845a0-12fa-481c-9bb0-a1216f658cd9.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=fb1e8f5f-8c18-4798-a663-45c2dee66dc9</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,fb1e8f5f-8c18-4798-a663-45c2dee66dc9.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,fb1e8f5f-8c18-4798-a663-45c2dee66dc9.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=fb1e8f5f-8c18-4798-a663-45c2dee66dc9</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <font size="2" face="Tahoma">Some tools
and utilities that will surely save your precious time:<br />
1.  </font>
        <a href="http://www.hanselman.com/blog/ScottHanselmans2009UltimateDeveloperAndPowerUsersToolListForWindows.aspx">http://www.hanselman.com/blog/ScottHanselmans2009UltimateDeveloperAndPowerUsersToolListForWindows.aspx</a>
        <br />
2. <a href="http://geekswithblogs.net/michelotti/archive/2008/11/23/developer-tools-and-utilities.aspx">http://geekswithblogs.net/michelotti/archive/2008/11/23/developer-tools-and-utilities.aspx</a> (Above
site pretty much has most of the tools in this site)<br />
3. <a href="http://technet.microsoft.com/en-us/sysinternals/bb545046.aspx">http://technet.microsoft.com/en-us/sysinternals/bb545046.aspx</a> (microsoft
powertoys)<br />
4. Compare files - <a href="http://www.prestosoft.com/edp_examdiff.asp">http://www.prestosoft.com/edp_examdiff.asp</a><br />
5. File manager - <a href="http://www.freecommander.com/">http://www.freecommander.com/</a><br /><a href="http://technet.microsoft.com/en-us/sysinternals/bb545046.aspx"></a><p></p><img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=fb1e8f5f-8c18-4798-a663-45c2dee66dc9" /></body>
      <title>Developer Tools and Utilities</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,fb1e8f5f-8c18-4798-a663-45c2dee66dc9.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/11/05/DeveloperToolsAndUtilities.aspx</link>
      <pubDate>Thu, 05 Nov 2009 04:57:42 GMT</pubDate>
      <description>&lt;font size="2" face="Tahoma"&gt;Some tools and utilities that will surely save your precious
time:&lt;br&gt;
1.&amp;nbsp; &lt;/font&gt;&lt;a href="http://www.hanselman.com/blog/ScottHanselmans2009UltimateDeveloperAndPowerUsersToolListForWindows.aspx"&gt;http://www.hanselman.com/blog/ScottHanselmans2009UltimateDeveloperAndPowerUsersToolListForWindows.aspx&lt;/a&gt;
&lt;br&gt;
2. &lt;a href="http://geekswithblogs.net/michelotti/archive/2008/11/23/developer-tools-and-utilities.aspx"&gt;http://geekswithblogs.net/michelotti/archive/2008/11/23/developer-tools-and-utilities.aspx&lt;/a&gt; (Above
site pretty much has most of the tools in this site)&lt;br&gt;
3. &lt;a href="http://technet.microsoft.com/en-us/sysinternals/bb545046.aspx"&gt;http://technet.microsoft.com/en-us/sysinternals/bb545046.aspx&lt;/a&gt; (microsoft
powertoys)&lt;br&gt;
4. Compare files - &lt;a href="http://www.prestosoft.com/edp_examdiff.asp"&gt;http://www.prestosoft.com/edp_examdiff.asp&lt;/a&gt;
&lt;br&gt;
5. File manager - &lt;a href="http://www.freecommander.com/"&gt;http://www.freecommander.com/&lt;/a&gt;
&lt;br&gt;
&lt;a href="http://technet.microsoft.com/en-us/sysinternals/bb545046.aspx"&gt;&lt;/a&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=fb1e8f5f-8c18-4798-a663-45c2dee66dc9" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,fb1e8f5f-8c18-4798-a663-45c2dee66dc9.aspx</comments>
      <category>Softwares</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=1ca2d7fb-919f-4db9-aa2c-f2f351ee293a</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,1ca2d7fb-919f-4db9-aa2c-f2f351ee293a.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,1ca2d7fb-919f-4db9-aa2c-f2f351ee293a.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=1ca2d7fb-919f-4db9-aa2c-f2f351ee293a</wfw:commentRss>
      <title>Postback problem on a modal popup or Session transfer to a popup or a page opened from another popup</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,1ca2d7fb-919f-4db9-aa2c-f2f351ee293a.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/10/23/PostbackProblemOnAModalPopupOrSessionTransferToAPopupOrAPageOpenedFromAnotherPopup.aspx</link>
      <pubDate>Fri, 23 Oct 2009 11:07:04 GMT</pubDate>
      <description>&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CADMINI%7E1.WHI%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"&gt;&lt;/o:smarttagtype&gt;
&lt;o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"&gt;&lt;/o:smarttagtype&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if !mso]&gt;&lt;object
 classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui&gt;&lt;/object&gt;
&lt;style&gt;
st1\:*{behavior:url(#ieooui) }
&lt;/style&gt;
&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
span.apple-style-span
	{mso-style-name:apple-style-span;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal"&gt;
&lt;span class="apple-style-span"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;Solutions
for postback problem:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;
&lt;br&gt;
&lt;span class="apple-style-span"&gt;1. Add "&amp;lt;base target = “_self” /&amp;gt;" inside &amp;lt;head&amp;gt;
tag of the popup.&lt;/span&gt;
&lt;br&gt;
&lt;span class="apple-style-span"&gt;2. You can use window.open instead of window.showModalDialog.&lt;/span&gt;
&lt;br&gt;
&lt;br&gt;
&lt;span class="apple-style-span"&gt;Solutions for session transfer problem:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;1.&amp;nbsp;You can
use window.open instead of window.showModalDialog.&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;2. You can use 
&lt;st1:city w:st="on"&gt;
&lt;st1:place w:st="on"&gt;AJAX&lt;/st1:place&gt;
&lt;/st1:city&gt;
modal popup.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;This seems to be
a IE bug (working fine in firefox and chrome), I have this problem if I open the .NET
application after opening an instance of IE (say google.com) whereas if I open the
former before the latter, things are fine. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;br&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;Please let me know if anybody has any good solution for this.&lt;br&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=1ca2d7fb-919f-4db9-aa2c-f2f351ee293a" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,1ca2d7fb-919f-4db9-aa2c-f2f351ee293a.aspx</comments>
      <category>.NET</category>
      <category>Solutions</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=c2616f9f-72ed-4a39-946e-3c44a78c9687</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,c2616f9f-72ed-4a39-946e-3c44a78c9687.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,c2616f9f-72ed-4a39-946e-3c44a78c9687.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=c2616f9f-72ed-4a39-946e-3c44a78c9687</wfw:commentRss>
      <title>Session expiration Notification &amp; Redirection using AJAX Modal Popup</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,c2616f9f-72ed-4a39-946e-3c44a78c9687.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/09/30/SessionExpirationNotificationRedirectionUsingAJAXModalPopup.aspx</link>
      <pubDate>Wed, 30 Sep 2009 18:55:52 GMT</pubDate>
      <description>&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CGMURUG%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;
&lt;o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"&gt;&lt;/o:smarttagtype&gt;
&lt;o:smarttagtype namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"&gt;&lt;/o:smarttagtype&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;!--[if !mso]&gt;&lt;object
 classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id=ieooui&gt;&lt;/object&gt;
&lt;style&gt;
st1\:*{behavior:url(#ieooui) }
&lt;/style&gt;
&lt;![endif]--&gt;&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:11.0in 8.5in;
	mso-page-orientation:landscape;
	margin:.25in .25in .25in .25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;This article describes how to
notify users about session expiration and allow them to renew the session. 
&lt;br style=""&gt;
&lt;br style=""&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Controls that need to be added:&lt;br&gt;
1. A Panel with an OK button.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;2. A label with session expiration
notification message.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;3. An 
&lt;st1:city w:st="on"&gt;
&lt;st1:place w:st="on"&gt;AJAX&lt;/st1:place&gt;
&lt;/st1:city&gt;
ModalPopupExtender. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;4. A dummy button and set ModalPopupExtender’s
TargetControlId as this button.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;This is how it looks:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;cc1&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;:&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;ModalPopupExtender&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; &lt;span style="color: red;"&gt;ID&lt;/span&gt;&lt;span style="color: blue;"&gt;="modext_promptmessage"&lt;/span&gt; &lt;span style="color: red;"&gt;runat&lt;/span&gt;&lt;span style="color: blue;"&gt;="server"&lt;/span&gt; &lt;span style="color: red;"&gt;BehaviorID&lt;/span&gt;&lt;span style="color: blue;"&gt;="popup_promptmessage"&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: red;"&gt;PopupControlID&lt;/span&gt;&lt;span style="color: blue;"&gt;="pnl_popup"&lt;/span&gt; &lt;span style="color: red;"&gt;TargetControlID&lt;/span&gt;&lt;span style="color: blue;"&gt;="btn_dummy"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;cc1&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;:&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;ModalPopupExtender&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;asp&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;:&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;Panel&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; &lt;span style="color: red;"&gt;ID&lt;/span&gt;&lt;span style="color: blue;"&gt;="pnl_popup"&lt;/span&gt; &lt;span style="color: red;"&gt;runat&lt;/span&gt;&lt;span style="color: blue;"&gt;="server"&lt;/span&gt; &lt;span style="color: red;"&gt;Style&lt;/span&gt;&lt;span style="color: blue;"&gt;="&lt;/span&gt;&lt;span style="color: red;"&gt;display&lt;/span&gt;: &lt;span style="color: blue;"&gt;none"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;table&lt;/span&gt; &lt;span style="color: red;"&gt;cellpadding&lt;/span&gt;&lt;span style="color: blue;"&gt;="0"&lt;/span&gt; &lt;span style="color: red;"&gt;cellspacing&lt;/span&gt;&lt;span style="color: blue;"&gt;="0"&lt;/span&gt; &lt;span style="color: red;"&gt;border&lt;/span&gt;&lt;span style="color: blue;"&gt;="0"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;tr&lt;/span&gt; &lt;span style="color: red;"&gt;valign&lt;/span&gt;&lt;span style="color: blue;"&gt;="top"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;th&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Prompt
Message&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;th&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;label&amp;gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;Your
session is going to expire in 2 minutes. Please click OK to renew it."&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;label&amp;gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left: 1in; text-indent: 0.5in;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;asp&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;:&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;Button&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; &lt;span style="color: red;"&gt;ID&lt;/span&gt;&lt;span style="color: blue;"&gt;="btn_ok"&lt;/span&gt; &lt;span style="color: red;"&gt;runat&lt;/span&gt;&lt;span style="color: blue;"&gt;="server"&lt;/span&gt; &lt;span style="color: red;"&gt;OnClientClick&lt;/span&gt;&lt;span style="color: blue;"&gt;="ResetSession()"&lt;/span&gt; &lt;span style="color: red;"&gt;Text&lt;/span&gt;&lt;span style="color: blue;"&gt;="OK"&lt;/span&gt; &lt;span style="color: blue;"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;table&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;asp&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;:&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;Panel&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;My code
behind class looks like this:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Protected&lt;/span&gt; &lt;span style="color: blue;"&gt;Sub&lt;/span&gt; Page_Load(&lt;span style="color: blue;"&gt;ByVal&lt;/span&gt; sender &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;Object&lt;/span&gt;, &lt;span style="color: blue;"&gt;ByVal&lt;/span&gt; e &lt;span style="color: blue;"&gt;As&lt;/span&gt; System.EventArgs) &lt;span style="color: blue;"&gt;Handles&lt;/span&gt; &lt;span style="color: blue;"&gt;Me&lt;/span&gt;.Load&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;'
checks whether session expired &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;If&lt;/span&gt; Current.Session.Keys.Count
= 0 &lt;span style="color: blue;"&gt;Then&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Response.Redirect(&lt;span style="color: rgb(163, 21, 21);"&gt;"sessionexpired.aspx"&lt;/span&gt;, &lt;span style="color: blue;"&gt;True&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Exit&lt;/span&gt; &lt;span style="color: blue;"&gt;Sub&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;End&lt;/span&gt; &lt;span style="color: blue;"&gt;If&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;' Javascript function
PromptSessionExpiration() will be called 2 minutes before session expiration (120000
milliseconds)&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Dim&lt;/span&gt; strExpireSessionScript &lt;span style="color: blue;"&gt;As&lt;/span&gt; &lt;span style="color: blue;"&gt;String&lt;/span&gt; = &lt;span style="color: blue;"&gt;String&lt;/span&gt;.Format(&lt;span style="color: rgb(163, 21, 21);"&gt;"setTimeout('PromptSessionExpiration()',
{0}); "&lt;/span&gt;, (&lt;span style="color: blue;"&gt;Me&lt;/span&gt;.Session.Timeout * 60000) - 120000)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Me&lt;/span&gt;.Page.ClientScript.RegisterClientScriptBlock(&lt;span style="color: blue;"&gt;Me&lt;/span&gt;.GetType(), &lt;span style="color: rgb(163, 21, 21);"&gt;"expirescript"&lt;/span&gt;,
strExpireSessionScript, &lt;span style="color: blue;"&gt;True&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;End&lt;/span&gt; &lt;span style="color: blue;"&gt;Sub&lt;/span&gt;&lt;span style="color: black;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;'''
This click event will renew the session, need not add any code inside it&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: gray;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;Protected&lt;/span&gt; &lt;span style="color: blue;"&gt;Sub&lt;/span&gt; btn_ok_Click(&lt;span style="color: blue;"&gt;ByVal&lt;/span&gt; sender &lt;span style="color: blue;"&gt;As&lt;/span&gt; System.Object, &lt;span style="color: blue;"&gt;ByVal&lt;/span&gt; e &lt;span style="color: blue;"&gt;As&lt;/span&gt; System.EventArgs) &lt;span style="color: blue;"&gt;Handles&lt;/span&gt; btn_ok.Click&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;End&lt;/span&gt; &lt;span style="color: blue;"&gt;Sub&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;My javascript:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;script&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; &lt;span style="color: red;"&gt;language&lt;/span&gt;&lt;span style="color: blue;"&gt;="javascript"&lt;/span&gt; &lt;span style="color: red;"&gt;type&lt;/span&gt;&lt;span style="color: blue;"&gt;="text/javascript"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; PromptSessionExpiration()
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
the function below will be triggered at the 125&lt;sup&gt;th&lt;/sup&gt; second &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;setTimeout(&lt;span style="color: rgb(163, 21, 21);"&gt;'CheckSessionStatus()'&lt;/span&gt;,
125000);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
show popup&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$find(&lt;span style="color: rgb(163, 21, 21);"&gt;'popup_promptmessage'&lt;/span&gt;).show();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
handles closing popup&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; ResetSession()
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$find(&lt;span style="color: rgb(163, 21, 21);"&gt;'popup_promptmessage'&lt;/span&gt;).hide();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
this function will be called if user doesn’t respond to the prompt message 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;//
which will redirect to sessionexpired page&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; CheckSessionStatus()
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;window.location
= “sessionexpired.aspx”;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;script&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;Thanks.&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=c2616f9f-72ed-4a39-946e-3c44a78c9687" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,c2616f9f-72ed-4a39-946e-3c44a78c9687.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=a9e89db4-39c2-440a-96c1-231f8078aa62</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,a9e89db4-39c2-440a-96c1-231f8078aa62.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,a9e89db4-39c2-440a-96c1-231f8078aa62.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=a9e89db4-39c2-440a-96c1-231f8078aa62</wfw:commentRss>
      <title>Why Lehman Brothers collapsed?</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,a9e89db4-39c2-440a-96c1-231f8078aa62.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/09/28/WhyLehmanBrothersCollapsed.aspx</link>
      <pubDate>Mon, 28 Sep 2009 03:01:40 GMT</pubDate>
      <description>&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;I came across this article on
The Hindu magazine, this article clearly tells why Lehman Brothers collapsed? ...and
the reason for the eventual economic crisis, a video is also added under resources/videos
tab 'The Crisis of Credit Visualized'. 
&lt;br&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;The
bursting of the speculative bubble in the 
&lt;st1:country-region w:st="on"&gt;U.S.&lt;/st1:country-region&gt;
housing market has destroyed billions of dollars in investor wealth across the world,
crippled the banking system, expunged close to a million jobs…and 
&lt;st1:place w:st="on"&gt;
&lt;st1:country-region w:st="on"&gt;India&lt;/st1:country-region&gt;
&lt;/st1:place&gt;
has not been spared either. With banks failing by the day, definitely, these are uncertain
times for the financial services industry. While many people who have lost their jobs
are faced with permanent shrinkage of their lifestyle, others in the industry are
going through the trauma of not knowing if and when their turn would come. Who is
to blame?&lt;br&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Flashback to year
2003: 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt; (name
changed to protect identity), a good friend of mine and someone who was officially
considered to be a genius with an IQ of 150+, graduated from one of the leading &lt;span class="SpellE"&gt;IIMs&lt;/span&gt;. &lt;span class="SpellE"&gt;Rohit&lt;/span&gt; managed
to make it into the New York Headquarters of the most sought after firm that had arrived
on campus for the first time — Lehman Brothers — a top U.S. Investment Bank (then).
On joining, he was assigned to Lehman’s mortgage securities desk that dealt with &lt;span class="SpellE"&gt;Collateralised&lt;/span&gt; Debt
obligations (or &lt;span class="SpellE"&gt;CDOs&lt;/span&gt;). 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Following is an extracted transcript
of a chat session I had with &lt;span class="SpellE"&gt;Rohit&lt;/span&gt; back in 2004:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: So man, you must feel like
you are on top of the world.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;:
Yes dude, the job here is amazing, I get to interact with people around the world,
investment managers who want to invest millions of dollars&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: Great…so tell me something
interesting. What’s your job all about?&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;:
You know there is a great demand for American home loans, which we buy from the 
&lt;st1:country-region w:st="on"&gt;
&lt;st1:place w:st="on"&gt;U.S.&lt;/st1:place&gt;
&lt;/st1:country-region&gt;
banks. We then convert these into what is called as &lt;span class="SpellE"&gt;CDOs&lt;/span&gt; (&lt;span class="SpellE"&gt;Collateralised&lt;/span&gt; Debt
Obligations). In plain English, this refers to buying home loans that banks had already
issued to customers, cutting them into smaller pieces, packaging the pieces based
on return (interest rate), value, tenure (duration of the loans) and selling them
to investors across the world after giving it a fancy name, such as “High Grade Structured
Credit Enhanced Leverage Fund”.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: Wow! I would’ve never guessed
that boring home loans could transform into something that sounds so cool!&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;: &lt;span class="SpellE"&gt;Hahaha&lt;/span&gt;…actually
we create multiple funds &lt;span class="SpellE"&gt;categorised&lt;/span&gt; based on the nature
of the CDO packages they contain and investors can buy shares in any of these funds
(almost like mutual funds…but called Structured Investment Vehicles or &lt;span class="SpellE"&gt;SIVs&lt;/span&gt;) 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: Dude, you make your job sound
like a meat shop…chopping and packaging. So, in effect when an investor purchases
the &lt;span class="SpellE"&gt;CDOs&lt;/span&gt; (or the fund containing the &lt;span class="SpellE"&gt;CDOs&lt;/span&gt;),
he is expected to receive a share of the monthly EMI paid by the actual guys who have
taken the underlying home loans?&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;:
Exactly, the banks from whom we purchased these home loans send us a monthly &lt;span class="SpellE"&gt;cheque&lt;/span&gt;,
which we in turn distribute to the investors in our funds&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: Why do the banks sell these
home loans to you guys?&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;:
Because we allow them to keep a significant portion of the interest rate charged on
the home loans and we pay them upfront cash, which they can use to issue more home
loans. Otherwise home loans go on for 20-30 years and it would take a long time for
the bank to recover its money.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: And, why does Lehman buy these
loans?&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;:
Because we get a fat commission when we convert the loans into &lt;span class="SpellE"&gt;CDOs&lt;/span&gt; and
sell it to investors.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: Who are these investors?&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;:
They include everyone from pension funds in 
&lt;st1:country-region w:st="on"&gt;Japan&lt;/st1:country-region&gt;
to Life Insurance companies in 
&lt;st1:country-region w:st="on"&gt;
&lt;st1:place w:st="on"&gt;Finland&lt;/st1:place&gt;
&lt;/st1:country-region&gt;
.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: But tell me, why are these
funds so interested in purchasing American home loans?&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;:
Well, these guys are typically interested in U.S. Govt. bonds (considered to be the
safest in the world). But unfortunately, Mr. Alan Greenspan (head of Federal Reserve
Bank, similar to RBI in 
&lt;st1:country-region w:st="on"&gt;
&lt;st1:place w:st="on"&gt;India&lt;/st1:place&gt;
&lt;/st1:country-region&gt;
) has reduced the interest rate to nearly 1 per cent to perk up the economy after
the dotcom crash 9/11attacks. This has left many funds looking for alternative investments
that can give them higher returns. Home loans are ideal because they offer 4-6 per
cent interest rate.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: Wait, aren’t home loans more
risky than U.S Bonds? 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;Rohit&lt;/span&gt;: We have made home loans less risky now. In fact
they have become as safe as U.S Govt. bonds.
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: What are you saying, man?
What if the people who have taken these underlying home loans default? Then the investors
would stop getting the &lt;span class="SpellE"&gt;EMIs&lt;/span&gt;, and their returns would take
a hit. Wouldn’t it?&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;:
Boss, may be some will default, but not definitely more than 2-3 per cent. Moreover,
we have convinced AIG (a leading insurance company) to insure our &lt;span class="SpellE"&gt;CDOs&lt;/span&gt;.
This means that even if there were big &lt;span class="SpellE"&gt;defaults&lt;span class="GramE"&gt;,the&lt;/span&gt;&lt;/span&gt; insurance
company would compensate the investors.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: that’s amazing. What are these
insurances called?&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;:
Credit Default Swaps.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: Definitely you guys are the
most creative when it comes to naming.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;:
Thanks.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: And why has this AIG guy insured
millions of home loans?&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Rohit&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;:
See man, the logic is simple. Home prices in the U.S always go up. In fact over the
last three years alone they have doubled. So even if someone defaults paying the EMI,
the home can be seized and sold for a much higher price. So there is no risk. Insurance
companies are actually competing to insure this, because they can earn risk-free premiums. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Me: No wonder investment managers
from all over the world want to put money in your &lt;span class="SpellE"&gt;CDOs&lt;/span&gt;. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;*A global financial cobweb started
getting built around the American dream of purchasing a home and it rested on the
assumption that “home prices will keep rising”. As demand for the &lt;span class="SpellE"&gt;CDOs&lt;/span&gt; started
growing across the global investment community, the investment bankers (like Lehman)
who were meant to sell these instruments also started investing a significant portion
of their own capital in these. I guess after selling the story to the whole world,
they themselves got sold on the seemingly foolproof concept. Gradually the markets
for &lt;span class="SpellE"&gt;CDOs&lt;/span&gt; and Credit Default Swaps started expanding with
traders and investors buying and selling these as if they were shares of a company,
happily forgetting the underlying people behind these products who took the home loans
in the first place and on whose capacity to repay the loans, the safety of these products
depended. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;As Wall Street firms like Lehman
were churning more and more home loans into &lt;span class="SpellE"&gt;CDOs&lt;/span&gt; and selling
them or investing their own money, there was a pressure on the banks to issue more
loans so that they can be sold to the Wall Street firms in return for a commission.
Slowly banks started lowering the credit quality (qualification criteria) for availing
a home loan and aggressively used agents to source new loans. This slippery slope
went to such an extent that in 2005, almost anyone in the U.S could buy a home worth
$100,000 (45 &lt;span class="SpellE"&gt;lakhs&lt;/span&gt; INR) or more without income proof,
without other assets, without credit history, sometimes even without a proper job.
These loans were called NINA — “no income no assets”.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;The 
&lt;st1:country-region w:st="on"&gt;
&lt;st1:place w:st="on"&gt;U.S.&lt;/st1:place&gt;
&lt;/st1:country-region&gt;
housing market went into a classic speculative bubble. Home loans were easy to get,
so more and more people were buying houses. The increased demand for houses caused
the price to increase. The rising prices created even more demand, as people started
to look at homes as investments — investments that never went down in value. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;When I touched base with my friend &lt;span class="SpellE"&gt;Rohit&lt;/span&gt; in
late 2005, he was on cloud nine. During the previous one year, he managed to buy a
home in Long Island (a posh area near 
&lt;st1:city w:st="on"&gt;
&lt;st1:place w:st="on"&gt;New York City&lt;/st1:place&gt;
&lt;/st1:city&gt;
) worth almost a million dollars, and got himself a Mercedes. All this was interesting
to hear, but what shocked me was that although he was earning close to $20,000 a month
(that is what CEOs in 
&lt;st1:country-region w:st="on"&gt;
&lt;st1:place w:st="on"&gt;India&lt;/st1:place&gt;
&lt;/st1:country-region&gt;
make) he was not able to save anything because his lifestyle expenses where growing
faster than his salary. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Unheeded signals 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;In late 2006, Mortgage lenders
noticed something that they’d almost never seen before. People would choose a house,
sign all the mortgage papers, and then default on their very first payment. Although
no one could really hear it, that was probably the moment when one of the biggest
speculative bubbles in American history popped. Another factor that &lt;span class="GramE"&gt;lead&lt;/span&gt; to
the burst of the housing bubble was the rise in interest rates from 2004-2006. Many
people had taken variable rate home loans that started getting reset to higher rates,
which in turn meant higher &lt;span class="SpellE"&gt;EMIs&lt;/span&gt; that borrowers had not
planned for. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;The problem was that once property
values starting going down, it set off a reverse chain reaction, the opposite of what
had been happening in the bubble. As more people defaulted, more houses came on the
market. With no buyers, prices went even further down.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;In early 2007, as prices began
their plunge, alarm bells started going off across mortgage-backed securities desks
all over Wall Street. The people on Wall Street, like &lt;span class="SpellE"&gt;Rohit&lt;/span&gt;,
started getting calls from investors about not getting their interest payments that
were due. Wall Street firms stopped buying home loans from the local banks. This had
a devastating effect on particularly the small banks and finance companies, which
had borrowed money from larger banks to issue more home loans thinking they could
sell these loans to Wall Street firms like Lehman and make money. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Everyone got into a mad scramble
to seize and sell the homes in order to get back at least some of the money. But there
were just not enough buyers. The guys who had insured these loans thinking they had
near zero risk (e.g. AIG) could not &lt;span class="SpellE"&gt;fulfil&lt;/span&gt; the unexpectedly
huge number of claims. The best part was that since these insurance policies (credit
default swaps) could themselves be traded, multiple people had bought and sold them,
and it became so tough to even trace who was supposed to compensate for the loss.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;The global financial cobweb built
around mortgages is on the brink of collapse. Firms, large and small, some young some
as old as a 100 years have crumbled as a result of suing each other over the dwindling
asset values. Lehman’s 
&lt;st1:place w:st="on"&gt;
&lt;st1:country-region w:st="on"&gt;India&lt;/st1:country-region&gt;
&lt;/st1:place&gt;
operations, that employed over a thousand staff, &lt;span class="GramE"&gt;is&lt;/span&gt; up
for sale and many of the employees have been asked to leave. The Indian stock market
has crashed almost 50 per cent from its high (and so have markets around the world)
as the Wall Street giants sold their investments in the country in an effort to salvage
whatever is good in order to make up for the mortgage related loss. Hedge funds, pension
funds, insurance companies all over the world have lost billions in investor’s money.
Many Indian B-School graduates with &lt;span class="SpellE"&gt;PPOs&lt;/span&gt; (pre-placement
offers) in the financial sector (&lt;st1:country-region w:st="on"&gt;
&lt;st1:place w:st="on"&gt;India&lt;/st1:place&gt;
&lt;/st1:country-region&gt;
and abroad) have either received an annulment or indefinite postponement of joining
dates. IT firms that built and maintained software for the 
&lt;st1:country-region w:st="on"&gt;
&lt;st1:place w:st="on"&gt;U.S.&lt;/st1:place&gt;
&lt;/st1:country-region&gt;
mortgage industry or the related Investment Banks, have shut down their business units,
laid-off people or transferred them to other verticals. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Fragile system 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;For all the hoopla over the sharp
and sophisticated people on Wall Street, the current financial crisis has exposed
the fragility of the system. Wall Street is blaming the entire episode on people who
could not repay their home loans. But the reality seems to point towards the stupidity
of people who lent all this money, financial institutions that built fancy derivative
packages and in effect facilitated billions in trading and investments in these fragile
low quality loans. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;The U.S. &lt;span class="SpellE"&gt;Govt&lt;/span&gt; is
planning to grant 700 billion dollars to the Wall Street firms to compensate the financial
speculators for the money that they have lost. Isn’t this like rewarding greed and
stupidity? The head of a leading Investment Bank has stated, “This is necessary to
sustain financial ingenuity. We don’t want to spend this money on ourselves. We just
want this money to go into the market so that we can carry on trading complex securities,
borrowing and lending money.” (Yeah…right, so that one can act as if nothing had happened
without &lt;span class="SpellE"&gt;analysing&lt;/span&gt; too much into it). The real question
is: Who is going to compensate the common investors across the world &lt;span class="GramE"&gt;who&lt;/span&gt; have
lost their wealth in the resultant market meltdown? (&lt;span class="GramE"&gt;either&lt;/span&gt; directly
or through pension funds). 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;After being unreachable for a
month now, finally I heard back from my pal, &lt;span class="SpellE"&gt;Rohit&lt;/span&gt;, saying
he is back in 
&lt;st1:country-region w:st="on"&gt;
&lt;st1:place w:st="on"&gt;India&lt;/st1:place&gt;
&lt;/st1:country-region&gt;
to take a break from the roller coaster ride that he had lived through. After Lehman’s
collapse he has lost his job and probably the house that he had bought by taking a
hefty loan. I really don’t know whether to feel happy for him, for getting an opportunity
to learn a lesson or two from the experience or to feel sad for him for losing his
job. May be I’ll get a better sense of things once I meet him next week. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=a9e89db4-39c2-440a-96c1-231f8078aa62" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,a9e89db4-39c2-440a-96c1-231f8078aa62.aspx</comments>
      <category>Business</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=697f8858-fd02-4b9f-a568-d160483d8721</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,697f8858-fd02-4b9f-a568-d160483d8721.aspx</pingback:target>
      <dc:creator>Gokulnath</dc:creator>
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,697f8858-fd02-4b9f-a568-d160483d8721.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=697f8858-fd02-4b9f-a568-d160483d8721</wfw:commentRss>
      <slash:comments>3</slash:comments>
      <title>Populating HTML tables using PageMethods/AJAX</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,697f8858-fd02-4b9f-a568-d160483d8721.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/09/15/PopulatingHTMLTablesUsingPageMethodsAJAX.aspx</link>
      <pubDate>Tue, 15 Sep 2009 19:24:25 GMT</pubDate>
      <description>&lt;font size="2" face="Tahoma"&gt;
&lt;br&gt;
&lt;/font&gt;&lt;style&gt;v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:DocumentProperties&gt;
  &lt;o:Author&gt;OIG&lt;/o:Author&gt;
  &lt;o:LastAuthor&gt;OIG&lt;/o:LastAuthor&gt;
  &lt;o:Revision&gt;9&lt;/o:Revision&gt;
  &lt;o:TotalTime&gt;78&lt;/o:TotalTime&gt;
  &lt;o:Created&gt;2009-09-28T19:11:00Z&lt;/o:Created&gt;
  &lt;o:LastSaved&gt;2009-09-28T19:14:00Z&lt;/o:LastSaved&gt;
  &lt;o:Pages&gt;1&lt;/o:Pages&gt;
  &lt;o:Words&gt;1971&lt;/o:Words&gt;
  &lt;o:Characters&gt;11235&lt;/o:Characters&gt;
  &lt;o:Company&gt;OIG&lt;/o:Company&gt;
  &lt;o:Lines&gt;93&lt;/o:Lines&gt;
  &lt;o:Paragraphs&gt;26&lt;/o:Paragraphs&gt;
  &lt;o:CharactersWithSpaces&gt;13180&lt;/o:CharactersWithSpaces&gt;
  &lt;o:Version&gt;11.9999&lt;/o:Version&gt;
 &lt;/o:DocumentProperties&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" LatentStyleCount="156"&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;style&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;
	mso-font-charset:0;
	mso-generic-font-family:swiss;
	mso-font-pitch:variable;
	mso-font-signature:536871559 0 0 0 415 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{mso-style-parent:"";
	margin:0in;
	margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
h6
	{margin-top:22.5pt;
	margin-right:0in;
	margin-bottom:3.75pt;
	margin-left:0in;
	mso-pagination:widow-orphan;
	mso-outline-level:6;
	font-size:11.0pt;
	font-family:"Times New Roman";
	color:#9900CC;
	font-weight:bold;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	mso-pagination:widow-orphan;
	font-size:12.0pt;
	font-family:"Times New Roman";
	mso-fareast-font-family:"Times New Roman";}
@page Section1
	{size:11.0in 8.5in;
	mso-page-orientation:landscape;
	margin:.25in .25in .25in .25in;
	mso-header-margin:.5in;
	mso-footer-margin:.5in;
	mso-paper-source:0;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:1692299012;
	mso-list-type:hybrid;
	mso-list-template-ids:-56855730 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:.5in;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l1
	{mso-list-id:1936548310;
	mso-list-template-ids:992002070;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--&gt;
&lt;/style&gt;
&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
	{mso-style-name:"Table Normal";
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:"";
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:"Times New Roman";
	mso-ansi-language:#0400;
	mso-fareast-language:#0400;
	mso-bidi-language:#0400;}
&lt;/style&gt;
&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext="edit" spidmax="2050"/&gt;
&lt;/xml&gt;&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext="edit"&gt;
  &lt;o:idmap v:ext="edit" data="1"/&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;div class="Section1"&gt;
&lt;p class="MsoNormal"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;This
article shows you how to use ASP.NET AJAX PageMethods to perform Create, Read, Update
and Delete (CRUD) operations with an HTML table. Here HTML table acts as a light-weight
DataGrid.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Inorder
to make PageMethods work, following things need to be done:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;ol style="margin-top: 0in;" start="1" type="1"&gt;
&lt;li class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;ScriptManager&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; should
be added to your ASPX page.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/li&gt;
&lt;li class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;EnablePageMethods&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; property
of the ScriptManager should be set to &lt;b style=""&gt;true&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/li&gt;
&lt;li class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;b style=""&gt;&lt;span style=""&gt;System.Web.Services&lt;/span&gt;&lt;/b&gt;&lt;span style=""&gt; namespace
should be added as reference on your codebehind class.&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/li&gt;
&lt;li class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Page
Methods on your code-behind should be decorated with &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;[&lt;span style="color: rgb(43, 145, 175);"&gt;WebMethod&lt;/span&gt;]
attribute&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;.&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="MsoNormal"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;font size="2" face="Tahoma"&gt;First let us start with &lt;b&gt;Read&lt;/b&gt;. 
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;font size="2" face="Tahoma"&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;font size="2" face="Tahoma"&gt;As mentioned above, add a ScriptManager and set its 'EnablePageMethods'
property to true. Add an HTML button and an onclick handler to it, and then add an
HTML table with thead, tbody and tfoot. Since the HTML table will be referenced from
javascript, add id to the table and its body. Here, only HTML tags/controls are used
because, server side controls cannot be referenced in PageMethods. 
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;
&lt;br&gt;
&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Your
ASPX page should look something like this.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;body&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt; 
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;form&lt;/span&gt; &lt;span style="color: red;"&gt;id&lt;/span&gt;&lt;span style="color: blue;"&gt;="form1"&lt;/span&gt; &lt;span style="color: red;"&gt;runat&lt;/span&gt;&lt;span style="color: blue;"&gt;="server"&amp;gt;&lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;asp&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ScriptManager&lt;/span&gt; &lt;span style="color: red;"&gt;ID&lt;/span&gt;&lt;span style="color: blue;"&gt;="ScriptManager1"&lt;/span&gt; &lt;span style="color: red;"&gt;runat&lt;/span&gt;&lt;span style="color: blue;"&gt;="server"&lt;/span&gt; &lt;span style="color: red;"&gt;EnablePageMethods&lt;/span&gt; &lt;span style="color: blue;"&gt;="true"&lt;/span&gt; &lt;span style="color: blue;"&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;asp&lt;/span&gt;&lt;span style="color: blue;"&gt;:&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;ScriptManager&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="color: green;"&gt;--This
click event handles loading data from the database--&lt;/span&gt;&lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;%&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;input&lt;/span&gt; &lt;span style="color: red;"&gt;id&lt;/span&gt;&lt;span style="color: blue;"&gt;="btn_load"&lt;/span&gt; &lt;span style="color: red;"&gt;type&lt;/span&gt;&lt;span style="color: blue;"&gt;="button"&lt;/span&gt; &lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;="Load"&lt;/span&gt; &lt;span style="color: red;"&gt;onclick&lt;/span&gt; &lt;span style="color: blue;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;"LoadData()"&lt;/span&gt; &lt;span style="color: blue;"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;br&lt;/span&gt; &lt;span style="color: blue;"&gt;/&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;br&lt;/span&gt; &lt;span style="color: blue;"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;div&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;table&lt;/span&gt; &lt;span style="color: red;"&gt;style&lt;/span&gt;&lt;span style="color: blue;"&gt;="&lt;/span&gt; &lt;span style="color: red;"&gt;height&lt;/span&gt;: &lt;span style="color: blue;"&gt;100%&lt;/span&gt;; &lt;span style="color: red;"&gt;border&lt;/span&gt;: &lt;span style="color: blue;"&gt;solid&lt;/span&gt; &lt;span style="color: blue;"&gt;1px&lt;/span&gt; &lt;span style="color: blue;"&gt;#000"&lt;/span&gt; &lt;span style="color: red;"&gt;cellpadding&lt;/span&gt;&lt;span style="color: blue;"&gt;="0"&lt;/span&gt; &lt;span style="color: red;"&gt;cellspacing&lt;/span&gt;&lt;span style="color: blue;"&gt;="1"&lt;/span&gt; &lt;span style="color: red;"&gt;id&lt;/span&gt;&lt;span style="color: blue;"&gt;="tbl_grid"&lt;/span&gt; &lt;span style="color: red;"&gt;border&lt;/span&gt; &lt;span style="color: blue;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;"1"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;thead&lt;/span&gt; &lt;span style="color: red;"&gt;style&lt;/span&gt; &lt;span style="color: blue;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;"&lt;/span&gt;&lt;span style="color: red;"&gt;background-color&lt;/span&gt;: &lt;span style="color: blue;"&gt;#666&lt;/span&gt;; &lt;span style="color: red;"&gt;color&lt;/span&gt;: &lt;span style="color: blue;"&gt;#fff"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt; &lt;span style="color: red;"&gt;style&lt;/span&gt;&lt;span style="color: blue;"&gt;="&lt;/span&gt;&lt;span style="color: red;"&gt;width&lt;/span&gt;: &lt;span style="color: blue;"&gt;100px&lt;/span&gt;;&lt;span style="color: blue;"&gt;"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Column1&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt; &lt;span style="color: red;"&gt;style&lt;/span&gt;&lt;span style="color: blue;"&gt;="&lt;/span&gt;&lt;span style="color: red;"&gt;width&lt;/span&gt;: &lt;span style="color: blue;"&gt;500px&lt;/span&gt;;&lt;span style="color: blue;"&gt;"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Column2&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt; &lt;span style="color: red;"&gt;style&lt;/span&gt;&lt;span style="color: blue;"&gt;="&lt;/span&gt;&lt;span style="color: red;"&gt;width&lt;/span&gt;: &lt;span style="color: blue;"&gt;150px&lt;/span&gt;;&lt;span style="color: blue;"&gt;"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Edit&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;thead&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;tbody&lt;/span&gt; &lt;span style="color: red;"&gt;id&lt;/span&gt;&lt;span style="color: blue;"&gt;="tbody_grid"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;tbody&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;tfoot&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt; &lt;span style="color: red;"&gt;style&lt;/span&gt;&lt;span style="color: blue;"&gt;="&lt;/span&gt;&lt;span style="color: red;"&gt;width&lt;/span&gt;: &lt;span style="color: blue;"&gt;100px&lt;/span&gt;;&lt;span style="color: blue;"&gt;"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;input&lt;/span&gt; &lt;span style="color: red;"&gt;id&lt;/span&gt;&lt;span style="color: blue;"&gt;="txt_addcol1"&lt;/span&gt; &lt;span style="color: red;"&gt;style&lt;/span&gt; &lt;span style="color: blue;"&gt;="&lt;/span&gt;&lt;span style="color: red;"&gt;width&lt;/span&gt;: &lt;span style="color: blue;"&gt;30px"&lt;/span&gt; &lt;span style="color: red;"&gt;type&lt;/span&gt;&lt;span style="color: blue;"&gt;="text"&lt;/span&gt; &lt;span style="color: blue;"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt; &lt;span style="color: red;"&gt;style&lt;/span&gt;&lt;span style="color: blue;"&gt;="&lt;/span&gt;&lt;span style="color: red;"&gt;width&lt;/span&gt;: &lt;span style="color: blue;"&gt;500px&lt;/span&gt;;&lt;span style="color: blue;"&gt;"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;input&lt;/span&gt; &lt;span style="color: red;"&gt;id&lt;/span&gt;&lt;span style="color: blue;"&gt;="txt_addcol2"&lt;/span&gt; &lt;span style="color: red;"&gt;type&lt;/span&gt;&lt;span style="color: blue;"&gt;="text"&lt;/span&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="color: red;"&gt;style&lt;/span&gt; &lt;span style="color: blue;"&gt;="&lt;/span&gt;&lt;span style="color: red;"&gt;width&lt;/span&gt;: &lt;span style="color: blue;"&gt;300px"&lt;/span&gt; &lt;span style="color: blue;"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt; &lt;span style="color: red;"&gt;style&lt;/span&gt;&lt;span style="color: blue;"&gt;="&lt;/span&gt;&lt;span style="color: red;"&gt;width&lt;/span&gt;: &lt;span style="color: blue;"&gt;150px&lt;/span&gt;;&lt;span style="color: blue;"&gt;"&amp;gt;&lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;&amp;lt;%&lt;/span&gt;&lt;span style="color: green;"&gt;--This
click event handles adding data to the database--&lt;/span&gt;&lt;span style="background: yellow none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"&gt;%&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;input&lt;/span&gt; &lt;span style="color: red;"&gt;id&lt;/span&gt;&lt;span style="color: blue;"&gt;="btn_add"&lt;/span&gt; &lt;span style="color: red;"&gt;type&lt;/span&gt;&lt;span style="color: blue;"&gt;="button"&lt;/span&gt; &lt;span style="color: red;"&gt;onclick&lt;/span&gt; &lt;span style="color: blue;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;"Add()"&lt;/span&gt; &lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;="Add"&lt;/span&gt; &lt;span style="color: blue;"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;td&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;tr&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;tfoot&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;table&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;div&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21);"&gt;form&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;body&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;&lt;font size="2" face="Tahoma"&gt;Now add your JavaScript function to load
data from the database using PageMethods. PageMethod call should always have a success
handler (this will be executed if the page method is executed successfully) and an
exception handler (this will be executed if an exception is thrown). Say suppose we
added 'GetData()' as the page method on the code behind, our javascript will be &lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;PageMethods.GetData(SuccessHandler,
ExceptionHandler). Just for understanding, I have named the success and exception
handler appropriately, you can name them as you wish. &lt;/span&gt;In case, the page methods
takes parameters, you can add like PageMethods.GetData(param1, param2, &lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;SuccessHandler,
ExceptionHandler). &lt;/span&gt;
&lt;br&gt;
&lt;br&gt;
Page methods should be decorated with [WebMethod] attribute and should be declared
as static. Its signature shoul look something like this:&lt;br&gt;
&lt;br&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&lt;/span&gt;[&lt;span style="color: rgb(43, 145, 175);"&gt;WebMethod&lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt; 
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;static&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;string&lt;/span&gt; GetData()&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;
&lt;br&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Page
method to return data to javascript.&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;br&gt;
&lt;/p&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;/span&gt;&lt;/font&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;br&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;public&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; &lt;span style="color: blue;"&gt;partial&lt;/span&gt; &lt;span style="color: blue;"&gt;class&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;AJAXGrid&lt;/span&gt; :
System.Web.UI.&lt;span style="color: rgb(43, 145, 175);"&gt;Page&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;protected&lt;/span&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; Page_Load(&lt;span style="color: blue;"&gt;object&lt;/span&gt; sender, &lt;span style="color: rgb(43, 145, 175);"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;
&lt;br&gt;
&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[&lt;span style="color: rgb(43, 145, 175);"&gt;WebMethod&lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;static&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;IEnumerable&lt;/span&gt;&amp;lt;&lt;span style="color: rgb(43, 145, 175);"&gt;MyEntity&lt;/span&gt;&amp;gt;
GetData()&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;try 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left: 0.5in; text-indent: 0.5in;"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Data
fetch part should go here&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
used List, as collections are serializable. See below for MyEntity class&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;List&lt;/span&gt;&amp;lt;&lt;span style="color: rgb(43, 145, 175);"&gt;MyEntity&lt;/span&gt;&amp;gt;
MyEntities = &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;List&lt;/span&gt;&amp;lt;&lt;span style="color: rgb(43, 145, 175);"&gt;MyEntity&lt;/span&gt;&amp;gt;();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
MyEntities.Add(&lt;span style="color: blue;"&gt;"1", "abc"&lt;/span&gt;);&lt;span style=""&gt;&lt;/span&gt;
&lt;br&gt;
&lt;/span&gt;&lt;/font&gt; 
&lt;/p&gt;
&lt;p class="MsoNormal" style="text-indent: 0.5in;"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;MyEntities.Add(&lt;span style="color: blue;"&gt;"2",
"xyz"&lt;/span&gt;);&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="text-indent: 0.5in;"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&lt;/span&gt;MyEntities.Add(&lt;span style="color: blue;"&gt;"3",
"pqr"&lt;/span&gt;);&lt;span style=""&gt;&lt;/span&gt;
&lt;br&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="text-indent: 0.5in;"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;MyEntities.Add(&lt;span style="color: blue;"&gt;"4",
"mno"&lt;/span&gt;);&lt;/span&gt;
&lt;br&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;span style=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="text-indent: 0.5in;"&gt;
&lt;font size="2" face="Tahoma"&gt;
&lt;br&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="text-indent: 0.5in;"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;return&lt;/span&gt; MyEntities;&lt;o:p&gt;&lt;/o:p&gt;
&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;
&lt;br&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="text-indent: 0.5in;"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;catch&lt;/span&gt;(&lt;span style="color: rgb(43, 145, 175);"&gt;Exception&lt;/span&gt; ex)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;throw&lt;/span&gt; ex;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;
&lt;br&gt;}&lt;/o:p&gt;
&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;
&lt;br&gt;
&lt;/o:p&gt;
&lt;/span&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;br&gt;
MyEntity class&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt; 
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;public&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; &lt;span style="color: blue;"&gt;class&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;MyEntity&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;private&lt;/span&gt; &lt;span style="color: blue;"&gt;string&lt;/span&gt; _Column1;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;string&lt;/span&gt; Column1&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;get&lt;/span&gt; { &lt;span style="color: blue;"&gt;return&lt;/span&gt; _Column1;
}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;set&lt;/span&gt; {
_Column1 = &lt;span style="color: blue;"&gt;value&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;private&lt;/span&gt; &lt;span style="color: blue;"&gt;string&lt;/span&gt; _Column2;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;string&lt;/span&gt; Column2&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;get&lt;/span&gt; { &lt;span style="color: blue;"&gt;return&lt;/span&gt; _Column2;
}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;set&lt;/span&gt; {
_Column2 = &lt;span style="color: blue;"&gt;value&lt;/span&gt;; }&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;public&lt;/span&gt; MyEntity(&lt;span style="color: blue;"&gt;string&lt;/span&gt; sCol1, &lt;span style="color: blue;"&gt;string&lt;/span&gt; sCol2)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;_Column1
= sCol1;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;_Column2
= sCol2;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;Javascript
function that calls page method and populates the HTML table&lt;/span&gt;&lt;/b&gt;
&lt;br&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt; 
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;script&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; &lt;span style="color: red;"&gt;type&lt;/span&gt; &lt;span style="color: blue;"&gt;="text/javascript"&lt;/span&gt; &lt;span style="color: red;"&gt;language&lt;/span&gt; &lt;span style="color: blue;"&gt;=&lt;/span&gt; &lt;span style="color: blue;"&gt;"javascript
"&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;//Loading
Data&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
Handles btn_load click event&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; LoadData()
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: green;"&gt;//
If data was fetched successfully, SuccessHandler will be called; else, ExceptionHandler 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PageMethods.GetData(SuccessHandler,
ExceptionHandler);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-left: 0.5in;"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
Incase parameters need to be passed to PageMethods, you can do like this PageMethods.GetData(param1,
param2, SuccessHandler, ExceptionHandler)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
After fetching the data successfully&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; SuccessHandler(result)
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; tbody
= $get(&lt;span style="color: rgb(163, 21, 21);"&gt;"tbody_grid"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
clear the table 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;for&lt;/span&gt; (&lt;span style="color: blue;"&gt;var&lt;/span&gt; j
= tbody.rows.length; j &amp;gt; 0; j--) {&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;tbody.deleteRow(j
- 1);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
populate the table&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;for&lt;/span&gt; (&lt;span style="color: blue;"&gt;var&lt;/span&gt; i
= 0; i &amp;lt; result.length; i++) {&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//two
columns fetched from database are sent as parameters&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;AddRow(result[i].Column1,
result[i].Column2); &lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;return&lt;/span&gt; &lt;span style="color: blue;"&gt;true&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
Edit and Delete buttons are added to the rows&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; AddRow(col1,
col2) {&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; tbody
= $get(&lt;span style="color: rgb(163, 21, 21);"&gt;"tbody_grid"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; row
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"tr"&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; td1
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"td"&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td1.innerText
= col1;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; td2
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"td"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td2.innerText
= col2;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; td3
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"td"&lt;/span&gt;);&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;// add
buttons&lt;/span&gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; btnEdit
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;'input'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnEdit.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'type'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'button'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnEdit.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'name'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Edit'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnEdit.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'value'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Edit'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=""&gt;&lt;/span&gt;&lt;span style="color: green;"&gt;//
first parentNode represents &amp;lt;td&amp;gt; and the second represents &amp;lt;tr&amp;gt;&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnEdit.onclick
= &lt;span style="color: blue;"&gt;function&lt;/span&gt;() { Edit(&lt;span style="color: blue;"&gt;this&lt;/span&gt;.parentNode.parentNode);
};&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; btnDelete
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;'input'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnDelete.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'type'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'button'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnDelete.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'name'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Delete'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnDelete.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'value'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Delete'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnDelete.onclick
= &lt;span style="color: blue;"&gt;function&lt;/span&gt;() { DeleteRow(&lt;span style="color: blue;"&gt;this&lt;/span&gt;.parentNode.parentNode);
};&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td3.appendChild(btnEdit);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td3.appendChild(btnDelete);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;row.appendChild(td1);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;row.appendChild(td2);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;row.appendChild(td3);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;tbody.appendChild(row);&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
Handles exception&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; ExceptionHandler(result)
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b&gt;After populating the HTML table&amp;nbsp;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;img src="http://blogs.gokulnath.com//content/binary/afterload1.jpg" border="0"&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;Javascript
functions to handle Edit, Update, Delete and Insert:&lt;br&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;
&lt;br&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;Editing
Data&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//&amp;nbsp;
this function handles edit button click&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; Edit(row)
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; col1
= row.childNodes[0].innerText;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; col2
= row.childNodes[1].innerText;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
populates values in textboxes and displays Update and Cancel buttons&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; editableRow
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"tr"&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; td1
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"td"&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; txtBox1
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;'input'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;txtBox1.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'type'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'text'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;txtBox1.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'name'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'col1'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;txtBox1.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'value'&lt;/span&gt;,
col1);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;txtBox1.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'width'&lt;/span&gt;,
30);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td1.appendChild(txtBox1);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; td2
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"td"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; txtBox2
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;'input'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;txtBox2.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'width'&lt;/span&gt;,
300);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;txtBox2.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'type'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'text'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;txtBox2.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'name'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'col1'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;txtBox2.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'value'&lt;/span&gt;,
col2);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td2.appendChild(txtBox2);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; td3
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"td"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; btnUpdate
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;'input'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnUpdate.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'type'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'button'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnUpdate.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'name'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Update'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnUpdate.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'value'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Update'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnUpdate.onclick
= &lt;span style="color: blue;"&gt;function&lt;/span&gt;() { Update(&lt;span style="color: blue;"&gt;this&lt;/span&gt;.parentNode.parentNode);
};&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; btnCancel
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;'input'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnCancel.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'type'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'button'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnCancel.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'name'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Cancel'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnCancel.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'value'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Cancel'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnCancel.onclick
= &lt;span style="color: blue;"&gt;function&lt;/span&gt;() { Cancel(&lt;span style="color: blue;"&gt;this&lt;/span&gt;.parentNode.parentNode);
};&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td3.appendChild(btnUpdate);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td3.appendChild(btnCancel);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;editableRow.appendChild(td1);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;editableRow.appendChild(td2);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;editableRow.appendChild(td3);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;row.parentNode.replaceChild(editableRow,
row);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;After edit button click&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;img src="http://blogs.gokulnath.com//content/binary/afteredit1.jpg" border="0"&gt;
&lt;br&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;Updating
Data&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//&amp;nbsp;
this function handles update button click&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; Update(row)
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
fetches values entered in the textboxes&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: green;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=""&gt;&lt;/span&gt;//
first childNode represent &amp;lt;td&amp;gt; inside &amp;lt;tr&amp;gt; and second childNode represents
textbox&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; col1
= row.childNodes[0].childNodes[0].value;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; col2
= row.childNodes[1].childNodes[0].value;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
values sent to server&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PageMethods.UpdateData(col1,
col2, UpdateSuccess(row), ExceptionHandler);&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
After updating the values successfully&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; UpdateSuccess(row)
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; col1
= row.childNodes[0].childNodes[0].value;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; col2
= row.childNodes[1].childNodes[0].value;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; editableRow
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"tr"&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; td1
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"td"&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td1.innerText
= col1;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; td2
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"td"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td2.innerText
= col2;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; td3
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"td"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; btnEdit
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;'input'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnEdit.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'type'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'button'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnEdit.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'name'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Edit'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnEdit.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'value'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Edit'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnEdit.onclick
= &lt;span style="color: blue;"&gt;function&lt;/span&gt;() { Edit(&lt;span style="color: blue;"&gt;this&lt;/span&gt;.parentNode.parentNode);
};&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; btnDelete
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;'input'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnDelete.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'type'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'button'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnDelete.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'name'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Delete'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnDelete.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'value'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Delete'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnDelete.onclick
= &lt;span style="color: blue;"&gt;function&lt;/span&gt;() { DeleteRow(&lt;span style="color: blue;"&gt;this&lt;/span&gt;.parentNode.parentNode);
};&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td3.appendChild(btnEdit);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td3.appendChild(btnDelete);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;editableRow.appendChild(td1);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;editableRow.appendChild(td2);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;editableRow.appendChild(td3);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;row.parentNode.replaceChild(editableRow,
row);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
this function handles cancel button click&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; Cancel(row)
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
values are again populated in labels instead of textboxes&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; col1
= row.childNodes[0].childNodes[0].value;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; col2
= row.childNodes[1].childNodes[0].value;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; editableRow
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"tr"&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; td1
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"td"&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td1.innerText
= col1;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; td2
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"td"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td2.innerText
= col2;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; td3
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;"td"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; btnEdit
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;'input'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnEdit.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'type'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'button'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnEdit.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'name'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Edit'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnEdit.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'value'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Edit'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnEdit.onclick
= &lt;span style="color: blue;"&gt;function&lt;/span&gt;() { Edit(&lt;span style="color: blue;"&gt;this&lt;/span&gt;.parentNode.parentNode);
};&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; btnDelete
= document.createElement(&lt;span style="color: rgb(163, 21, 21);"&gt;'input'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnDelete.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'type'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'button'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnDelete.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'name'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Delete'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;btnDelete.setAttribute(&lt;span style="color: rgb(163, 21, 21);"&gt;'value'&lt;/span&gt;, &lt;span style="color: rgb(163, 21, 21);"&gt;'Delete'&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&lt;/span&gt;btnDelete.onclick
= &lt;span style="color: blue;"&gt;function&lt;/span&gt;() { DeleteRow(&lt;span style="color: blue;"&gt;this&lt;/span&gt;.parentNode.parentNode);
};&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td3.appendChild(btnEdit);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;td3.appendChild(btnDelete);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;editableRow.appendChild(td1);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;editableRow.appendChild(td2);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;editableRow.appendChild(td3);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;row.parentNode.replaceChild(editableRow,
row);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;this
function handles 'add' button click&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; Add()
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; col1
= $get(&lt;span style="color: rgb(163, 21, 21);"&gt;"txt_addcol1"&lt;/span&gt;).value;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; col2
= $get(&lt;span style="color: rgb(163, 21, 21);"&gt;"txt_addcol2"&lt;/span&gt;).value;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
data sent to the database&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PageMethods.InsertData(col1,
col2, AddSuccess(col1, col2), ExceptionHandler);&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
After adding the data successfully&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; AddSuccess(col1,
col2) {&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
add the values to the table&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;AddRow(col1,
col2);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
clear the textboxes in the footer&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$get(&lt;span style="color: rgb(163, 21, 21);"&gt;"txt_addcol1"&lt;/span&gt;).value
= &lt;span style="color: rgb(163, 21, 21);"&gt;""&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$get(&lt;span style="color: rgb(163, 21, 21);"&gt;"txt_addcol2"&lt;/span&gt;).value
= &lt;span style="color: rgb(163, 21, 21);"&gt;""&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;Deleting
Data&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
this function handles delete button click&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; DeleteRow(row)
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; col1
= row.childNodes[0].innerText;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
delete from the database&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PageMethods.DeleteData(col1,
DeleteSuccess(row), ExceptionHandler);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;function&lt;/span&gt; DeleteSuccess(row)
{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
delete the row from the table&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;var&lt;/span&gt; tbody
= $get(&lt;span style="color: rgb(163, 21, 21);"&gt;"tbody_grid"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;tbody.removeChild(row);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: rgb(163, 21, 21);"&gt;script&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt;Page
methods to handle &lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: black;"&gt; Edit,
Update, Delete and Insert:&lt;br&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt; 
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[&lt;span style="color: rgb(43, 145, 175);"&gt;WebMethod&lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;static&lt;/span&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; UpdateData(&lt;span style="color: blue;"&gt;string&lt;/span&gt; sCol1, &lt;span style="color: blue;"&gt;string&lt;/span&gt; sCol2)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="text-indent: 0.5in;"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma; color: blue;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;try 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="text-indent: 0.5in;"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Data
update part should go here&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;catch&lt;/span&gt;(&lt;span style="color: rgb(43, 145, 175);"&gt;Exception&lt;/span&gt; ex)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;throw&lt;/span&gt; ex;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[&lt;span style="color: rgb(43, 145, 175);"&gt;WebMethod&lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;static&lt;/span&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; InsertData(&lt;span style="color: blue;"&gt;string&lt;/span&gt; sCol1, &lt;span style="color: blue;"&gt;string&lt;/span&gt; sCol2)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;try&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;Data
insert part should go here&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;catch&lt;/span&gt;(&lt;span style="color: rgb(43, 145, 175);"&gt;Exception&lt;/span&gt; ex)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;throw&lt;/span&gt; ex;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;[&lt;span style="color: rgb(43, 145, 175);"&gt;WebMethod&lt;/span&gt;]&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;public&lt;/span&gt; &lt;span style="color: blue;"&gt;static&lt;/span&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; DeleteData(&lt;span style="color: blue;"&gt;string&lt;/span&gt; sCol1)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;try&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;b style=""&gt;Data
delete part should go here&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;catch&lt;/span&gt; (&lt;span style="color: rgb(43, 145, 175);"&gt;Exception&lt;/span&gt; ex)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: blue;"&gt;throw&lt;/span&gt; ex;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;}&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;
&lt;br&gt;
&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;We can add paging and sorting too.&lt;br&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;br&gt;
&lt;!--[endif]--&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/font&gt; 
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;This
code has been tested in IE7+, Firefox, Chrome and Safari.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style=""&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Some
of the &lt;b style=""&gt;limitations&lt;/b&gt; in using ASP.NET AJAX PageMethods:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt; 
&lt;p style="margin-left: 0.5in; text-align: justify; text-indent: -0.25in;"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;1.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;We
can't access asp.net server controls (like TextBox control) in the WebMethod directly
as we normally access in the server side methods.&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p style="margin-left: 0.5in; text-align: justify; text-indent: -0.25in;"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;2.&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;We
can't access any variable declared in the code behind.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;font face="Tahoma"&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;Advantage: &lt;/span&gt;&lt;/b&gt;&lt;/font&gt;&lt;span style="font-size: 10pt; font-family: Verdana;"&gt;&lt;font face="Tahoma"&gt;PageMethods
is a simple lightweight way to submit/fetch data to the server using ASP.NET AJAX.
This doesn't submit whole page data to the server and also as opposed to the ASP.NET
AJAX call back this doesn't even fire the Page_Load and other Page events of the code
behind page.&lt;/font&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;font size="2" face="Tahoma"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt; 
&lt;br&gt;
&lt;/div&gt;
&lt;font size="2" face="Tahoma"&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=697f8858-fd02-4b9f-a568-d160483d8721" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,697f8858-fd02-4b9f-a568-d160483d8721.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=9b1dfb76-389c-4a2f-bf50-c087fcebc6a2</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,9b1dfb76-389c-4a2f-bf50-c087fcebc6a2.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,9b1dfb76-389c-4a2f-bf50-c087fcebc6a2.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=9b1dfb76-389c-4a2f-bf50-c087fcebc6a2</wfw:commentRss>
      <title>Free ASP.NET CAPTCHA control</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,9b1dfb76-389c-4a2f-bf50-c087fcebc6a2.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/08/01/FreeASPNETCAPTCHAControl.aspx</link>
      <pubDate>Sat, 01 Aug 2009 17:45:44 GMT</pubDate>
      <description>&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;font color="#000000"&gt;&lt;span style="font-family: tahoma; font-size: 10pt;"&gt;As I started
getting too many spams because of bots, I implemented &lt;/span&gt;&lt;b&gt;&lt;span style="font-family: tahoma; font-size: 10pt;" lang="EN"&gt;C&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: tahoma; font-size: 10pt;" lang="EN"&gt;ompletely &lt;b&gt;A&lt;/b&gt;utomated &lt;b&gt;P&lt;/b&gt;ublic &lt;b&gt;T&lt;/b&gt;uring
test to tell &lt;b&gt;C&lt;/b&gt;omputers and &lt;b&gt;H&lt;/b&gt;umans &lt;b&gt;A&lt;/b&gt;part (&lt;/span&gt;&lt;span style="font-family: tahoma; font-size: 10pt;"&gt;CAPTCHA)
in all the interactive pages of my site. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: tahoma; font-size: 10pt;"&gt; 
&lt;o:p&gt;
&lt;font color="#000000"&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-family: tahoma; font-size: 10pt;"&gt;&lt;font color="#000000"&gt;Took the
control from here &lt;/font&gt;&lt;a href="http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx"&gt;http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx&lt;/a&gt;&lt;font color="#000000"&gt;,
and customized according to my needs. The code was easy to understand and customize. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=9b1dfb76-389c-4a2f-bf50-c087fcebc6a2" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,9b1dfb76-389c-4a2f-bf50-c087fcebc6a2.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=b25a37e8-eeff-42da-a156-fe7290c4fe10</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,b25a37e8-eeff-42da-a156-fe7290c4fe10.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,b25a37e8-eeff-42da-a156-fe7290c4fe10.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=b25a37e8-eeff-42da-a156-fe7290c4fe10</wfw:commentRss>
      <title>OpenSource Database &amp; .NET documentation softwares</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,b25a37e8-eeff-42da-a156-fe7290c4fe10.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/06/16/OpenSourceDatabaseNETDocumentationSoftwares.aspx</link>
      <pubDate>Tue, 16 Jun 2009 17:44:48 GMT</pubDate>
      <description>&lt;div class="Section1"&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;I got a chance to work on the
below documentation &lt;span class="SpellE"&gt;softwares&lt;/span&gt; recently, were pretty good.
There might be some other &lt;span class="SpellE"&gt;softwares&lt;/span&gt; better than these,
if so, let me know.&lt;o:p&gt;
&lt;br&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;ol style="margin-top: 0in;" start="1" type="1"&gt;
&lt;li class="MsoNormal" style=""&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;SQLSpec&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; –
For database documentation, it supports various databases like MS SQL Server, Oracle,
Access, DB2, Sybase etc. It is very easy to use, however, customizations like excluding
objects and xml commenting took me sometime. It creates MSDN help file style documents.
Download link - &lt;a href="http://www.elsasoft.org/"&gt;http://www.elsasoft.org/&lt;/a&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/li&gt;
&lt;li class="MsoNormal" style=""&gt;
&lt;span class="SpellE"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;SandCastle&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; –
Free software, for .NET project documentation. Supports .NET 1.1, 2.0, 3.0 and 3.5. &lt;span style=""&gt;&amp;nbsp;&lt;/span&gt;It
is also very easy to use and creates MSDN help file style documents. &lt;span style=""&gt;&amp;nbsp;&lt;/span&gt;Download
it from here &lt;a href="http://www.codeplex.com/Sandcastle"&gt;http://www.codeplex.com/Sandcastle&lt;/a&gt;&lt;/span&gt; &lt;span class="GramE"&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;and&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; install
it, and then install &lt;span class="SpellE"&gt;SandCastle&lt;/span&gt; Help File Builder from
here &lt;a href="http://www.codeplex.com/SHFB"&gt;http://www.codeplex.com/SHFB&lt;/a&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-family: Tahoma;"&gt;&lt;/span&gt; 
&lt;/div&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=b25a37e8-eeff-42da-a156-fe7290c4fe10" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,b25a37e8-eeff-42da-a156-fe7290c4fe10.aspx</comments>
      <category>.NET</category>
      <category>Softwares</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=6a2eb105-6990-4ec8-b785-24e8398b0a73</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,6a2eb105-6990-4ec8-b785-24e8398b0a73.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,6a2eb105-6990-4ec8-b785-24e8398b0a73.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=6a2eb105-6990-4ec8-b785-24e8398b0a73</wfw:commentRss>
      <title>Adding custom configurations in Web.config or App.config</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,6a2eb105-6990-4ec8-b785-24e8398b0a73.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/06/01/AddingCustomConfigurationsInWebconfigOrAppconfig.aspx</link>
      <pubDate>Mon, 01 Jun 2009 17:43:34 GMT</pubDate>
      <description>&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;You can add your own configuration
sections in Web.config or App.config file. There might be some good way to do it,
if so, please let me know.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Step 1&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Add the follwing inside &amp;lt;&lt;span style="color: rgb(163, 21, 21);"&gt;configSections&lt;/span&gt;&amp;gt;
tag:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;configSections&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;section&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;name&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; =&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;customSection&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;type&lt;/span&gt;&lt;span style="color: blue;"&gt; =&lt;/span&gt;"&lt;span style="color: blue;"&gt;System.Configuration.NameValueSectionHandler&lt;/span&gt;"&lt;span style="color: blue;"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;configSections&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Step 2&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Add your custom section before
or after &amp;lt;appSettings&amp;gt; but after &amp;lt;configSections&amp;gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;customSection&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;add&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;key&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;key1&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;value1&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;add&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;key&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;key2&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;value2&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;customSection&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;/span&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Your app.config will be like this 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;---------------------------------------------------------------------------------------------------------------&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;xml&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;version&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;1.0&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;encoding&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;utf-8&lt;/span&gt;"&lt;span style="color: blue;"&gt;?&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;configuration&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;configSections&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;section&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;name&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; =&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;customSection&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;type&lt;/span&gt;&lt;span style="color: blue;"&gt; =&lt;/span&gt;"&lt;span style="color: blue;"&gt;System.Configuration.NameValueSectionHandler&lt;/span&gt;"&lt;span style="color: blue;"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;configSections&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="font-size: 10pt; color: green; font-family: Tahoma;"&gt;&amp;lt;Custom
Seciton&amp;gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;--&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;customSection&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;add&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;key&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;key1&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;value1&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;add&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;key&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;key2&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;value2&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;customSection&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;/span&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;appSettings&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;add&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;key&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;tesing&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;abc&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&lt;/span&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;appSettings&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;system.web&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt; 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;system.web&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;configuration&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;
&lt;font color="#000000"&gt;&amp;nbsp;--------------------------------------------------------------------------------------------------------------&lt;/font&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Step 3&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;How to access it?&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: rgb(43, 145, 175); font-family: Tahoma;"&gt;NameValueCollection&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; colCustomSection
= (&lt;span style="color: rgb(43, 145, 175);"&gt;NameValueCollection&lt;/span&gt;)&lt;span style="color: rgb(43, 145, 175);"&gt;ConfigurationManager&lt;/span&gt;.GetSection(&lt;span style="color: rgb(163, 21, 21);"&gt;"customSection"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;string&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; key&lt;span style="color: blue;"&gt;, &lt;/span&gt;value&lt;span style="color: blue;"&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;for&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; (&lt;span style="color: blue;"&gt;int&lt;/span&gt; count
= 0; count &amp;lt; colCustomSection.Count; count++)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
we can get the keys &lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;key
= colCustomSection.GetKey(count);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
we can get the values&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;value
= colCustomSection.Get(count);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;To add multiple sections&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;Add this inside &amp;lt;configSections&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;configSections&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;sectionGroup&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;name&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; =&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;customSectionGroup&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;section&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;name&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; =&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;customSection1&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;type&lt;/span&gt;&lt;span style="color: blue;"&gt; =&lt;/span&gt;"&lt;span style="color: blue;"&gt;System.Configuration.NameValueSectionHandler&lt;/span&gt;"&lt;span style="color: blue;"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;section&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;name&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; =&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;customSection2&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;type&lt;/span&gt;&lt;span style="color: blue;"&gt; =&lt;/span&gt;"&lt;span style="color: blue;"&gt;System.Configuration.NameValueSectionHandler&lt;/span&gt;"&lt;span style="color: blue;"&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;sectionGroup&amp;gt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;configSections&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
Add this around your custom section:
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;customSectionGroup&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;customSection1&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;add&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;key&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;key1&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;value1&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;add&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;key&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;key2&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;value2&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;customSection1&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;customSection2&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;add&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;key&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;key1&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;value1&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;add&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt; &lt;/span&gt;&lt;span style="font-size: 10pt; color: red; font-family: Tahoma;"&gt;key&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;=&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;"&lt;span style="color: blue;"&gt;key2&lt;/span&gt;"&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;value&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;value2&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;customSection2&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;/span&gt;&lt;b style=""&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;customSectionGroup&lt;/span&gt;&lt;span style="font-size: 10pt; color: blue; font-family: Tahoma;"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
To access it, just change the path:
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: rgb(43, 145, 175); font-family: Tahoma;"&gt;NameValueCollection&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt; colCustomSection
= (&lt;span style="color: rgb(43, 145, 175);"&gt;NameValueCollection&lt;/span&gt;)&lt;span style="color: rgb(43, 145, 175);"&gt;ConfigurationManager&lt;/span&gt;.GetSection(&lt;span style="color: rgb(163, 21, 21);"&gt;"customSectionGroup/customSection1"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 10pt; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;customSectionGroup/customSection1 &lt;/span&gt;&lt;span style="font-size: 10pt; font-family: Tahoma;"&gt;or&lt;span style="color: rgb(163, 21, 21);"&gt; customSectionGroup/customSection2&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=6a2eb105-6990-4ec8-b785-24e8398b0a73" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,6a2eb105-6990-4ec8-b785-24e8398b0a73.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=220c5ee1-b868-4a71-ad69-508757914b3d</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,220c5ee1-b868-4a71-ad69-508757914b3d.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,220c5ee1-b868-4a71-ad69-508757914b3d.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=220c5ee1-b868-4a71-ad69-508757914b3d</wfw:commentRss>
      <title>Some Cool Features in Picasa 3.0</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,220c5ee1-b868-4a71-ad69-508757914b3d.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/05/27/SomeCoolFeaturesInPicasa30.aspx</link>
      <pubDate>Wed, 27 May 2009 17:42:08 GMT</pubDate>
      <description>&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Feature 1 - Face recognition:
Though this feature was released on 9/02/2008, I noticed it only recently. Worth trying
it!&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;How to use it?&lt;/span&gt;
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Log
into Picasa Web Album, go to Settings (top right corner) page, you will be able to
find a section ‘Name Tags’, and right below it there should be a button ‘Turn name
tags ON’, click it. After few seconds Picasa will start auto face recognition, you
should be able to see the progress on the right side of your picasa home page. &lt;/span&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt; Once
it is done, you can click a photo (your photo or any of your friend’s photos) from
any of your albums, picasa will show a rectangle around the face of the person in
the photo, you can add a name tag. &lt;/span&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt; Now,
go to ‘People’ tab and add more name tags. See below video for more info.&lt;br&gt;
&lt;br&gt;
&lt;/span&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br&gt;
&lt;object width="640" height="505"&gt;
&lt;param name="movie" value="http://www.youtube.com/v/teeGF-w5Cpw&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x3a3a3a&amp;amp;color2=0x999999"&gt;
&lt;param name="allowFullScreen" value="true"&gt;
&lt;param name="allowscriptaccess" value="always"&gt;
&lt;embed src="http://www.youtube.com/v/teeGF-w5Cpw&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x3a3a3a&amp;amp;color2=0x999999" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"&gt;
&lt;/object&gt;
&lt;br&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Feature 2 – Email Upload: You
can upload photos to your album by forwarding emails addressed to your picasa emailid.
You will be able to add a picasa emailid on Settings page, under ‘Upload Photos by
Email’ section.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Feature 3 – 
&lt;st1:place w:st="on"&gt;Meta&lt;/st1:place&gt;
tag info: I think this was there since picasa was introduced, but I came to know this
only recently from one of my friends. I added few web albums and sent the links to
my friend; he was able to tell the camera that was used to take the photographs, apertures,
focal length etc. Picasa reads the meta tag info of the photo and displays on the
right hand side of the photo under ‘Photo Information’, click link more info.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=220c5ee1-b868-4a71-ad69-508757914b3d" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,220c5ee1-b868-4a71-ad69-508757914b3d.aspx</comments>
      <category>Miscellaneous</category>
      <category>Softwares</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=d9ce5380-3f93-4e1f-95a1-e1e655c7aa30</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,d9ce5380-3f93-4e1f-95a1-e1e655c7aa30.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,d9ce5380-3f93-4e1f-95a1-e1e655c7aa30.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=d9ce5380-3f93-4e1f-95a1-e1e655c7aa30</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I'll usually set my font-sizes in units of 'pt', but this gave me weird results when
I increased my monitor's DPI from 96 to 120 (as all the fonts were too small
in my HD wide-screen monitor, I increased it). I was doing some research on this
and I came across this article, this article clearly explains the right unit
to use while developing websites. Though this article says percent (%) is the best,
I have used 'px', as it gave me consistent results in IE, Mozilla and Chrome. 
</p>
        <p>
          <a href="http://www.thesug.org/Blogs/kyles/archive/2009/04/17/CSS_FontSize_em_vs_px_vs_pt_vs_percent.aspx.aspx" target="“_blank”">Click
here</a> to see the article.
</p>
        <p>
You can use the below chart for conversion:
</p>
        <p>
          <span class="Apple-style-span" style="word-spacing: 0px; font-family: Verdana; font-style: normal; font-variant: normal; font-weight: normal; font-size: 16px; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; text-align: left; orphans: 2; widows: 2;">
            <table class="pts" style="width: 65%; font-family: verdana,arial,sans-serif; border-collapse: collapse;" cellspacing="0">
              <tbody>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <th style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; color: white; background-color: rgb(102, 102, 102); text-align: right;">
Points</th>
                  <th style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; color: white; background-color: rgb(102, 102, 102); text-align: right;">
Pixels</th>
                  <th style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; color: white; background-color: rgb(102, 102, 102); text-align: right;">
Ems</th>
                  <th style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; color: white; background-color: rgb(102, 102, 102); text-align: right;">
Percent</th>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
6pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
8px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
0.5em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
50%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
7pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
9px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
0.55em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
55%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
7.5pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
10px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
0.625em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
62.5%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
8pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
11px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
0.7em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
70%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
9pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
12px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
0.75em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
75%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
10pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
13px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
0.8em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
80%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
10.5pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
14px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
0.875em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
87.5%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
11pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
15px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
0.95em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
95%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
12pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
16px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
1em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
100%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
13pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
17px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
1.05em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
105%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
13.5pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
18px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
1.125em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
112.5%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
14pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
19px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
1.2em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
120%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
14.5pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
20px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
1.25em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
125%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
15pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
21px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
1.3em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
130%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
16pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
22px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
1.4em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
140%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
17pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
23px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
1.45em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
145%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
18pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
24px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
1.5em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
150%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
20pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
26px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
1.6em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
160%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
22pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
29px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
1.8em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
180%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
24pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
32px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
2em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
200%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
26pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
35px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
2.2em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
220%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
27pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
36px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
2.25em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
225%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
28pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
37px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
2.3em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
230%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
29pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
38px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
2.35em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
235%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
30pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
40px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
2.45em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
245%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
32pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
42px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
2.55em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
255%</td>
                </tr>
                <tr class="on" style="background-color: rgb(255, 255, 255);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
34pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
45px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
2.75em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
275%</td>
                </tr>
                <tr class="off" style="background-color: rgb(238, 238, 238);">
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
36pt</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
48px</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
3em</td>
                  <td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;">
300%</td>
                </tr>
              </tbody>
            </table>
          </span>
          <br class="Apple-interchange-newline" />
        </p>
        <p>
        </p>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=d9ce5380-3f93-4e1f-95a1-e1e655c7aa30" />
      </body>
      <title>CSS Font-Size: em vs. px vs. pt vs. percent</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,d9ce5380-3f93-4e1f-95a1-e1e655c7aa30.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/05/12/CSSFontSizeEmVsPxVsPtVsPercent.aspx</link>
      <pubDate>Tue, 12 May 2009 17:40:36 GMT</pubDate>
      <description>&lt;p&gt;
I'll usually set my font-sizes in units of 'pt', but this gave me weird results when
I increased my monitor's&amp;nbsp;DPI from 96 to 120 (as all the fonts were too small
in my HD wide-screen monitor, I increased it). I was doing some research on&amp;nbsp;this
and I came across this article, this article&amp;nbsp;clearly explains the right unit
to use while developing websites. Though this article says percent (%) is the best,
I have used 'px', as it gave me consistent results in IE, Mozilla and Chrome. 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.thesug.org/Blogs/kyles/archive/2009/04/17/CSS_FontSize_em_vs_px_vs_pt_vs_percent.aspx.aspx" target="“_blank”"&gt;Click
here&lt;/a&gt; to see the article.
&lt;/p&gt;
&lt;p&gt;
You can use the below chart for conversion:
&lt;/p&gt;
&lt;p&gt;
&lt;span class="Apple-style-span" style="word-spacing: 0px; font-family: Verdana; font-style: normal; font-variant: normal; font-weight: normal; font-size: 16px; line-height: normal; font-size-adjust: none; font-stretch: normal; text-transform: none; color: rgb(0, 0, 0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; text-align: left; orphans: 2; widows: 2;"&gt; 
&lt;table class="pts" style="width: 65%; font-family: verdana,arial,sans-serif; border-collapse: collapse;" cellspacing="0"&gt;
&lt;tbody&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;th style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; color: white; background-color: rgb(102, 102, 102); text-align: right;"&gt;
Points&lt;/th&gt;
&lt;th style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; color: white; background-color: rgb(102, 102, 102); text-align: right;"&gt;
Pixels&lt;/th&gt;
&lt;th style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; color: white; background-color: rgb(102, 102, 102); text-align: right;"&gt;
Ems&lt;/th&gt;
&lt;th style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; color: white; background-color: rgb(102, 102, 102); text-align: right;"&gt;
Percent&lt;/th&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
6pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
8px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
0.5em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
50%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
7pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
9px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
0.55em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
55%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
7.5pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
10px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
0.625em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
62.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
8pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
11px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
0.7em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
70%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
9pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
12px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
0.75em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
75%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
10pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
13px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
0.8em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
80%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
10.5pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
14px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
0.875em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
87.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
11pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
15px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
0.95em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
95%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
12pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
16px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
1em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
100%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
13pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
17px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
1.05em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
105%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
13.5pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
18px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
1.125em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
112.5%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
14pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
19px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
1.2em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
120%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
14.5pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
20px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
1.25em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
125%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
15pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
21px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
1.3em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
130%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
16pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
22px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
1.4em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
140%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
17pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
23px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
1.45em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
145%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
18pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
24px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
1.5em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
150%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
20pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
26px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
1.6em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
160%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
22pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
29px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
1.8em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
180%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
24pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
32px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
2em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
200%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
26pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
35px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
2.2em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
220%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
27pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
36px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
2.25em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
225%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
28pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
37px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
2.3em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
230%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
29pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
38px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
2.35em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
235%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
30pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
40px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
2.45em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
245%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
32pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
42px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
2.55em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
255%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="on" style="background-color: rgb(255, 255, 255);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
34pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
45px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
2.75em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
275%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="off" style="background-color: rgb(238, 238, 238);"&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
36pt&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
48px&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
3em&lt;/td&gt;
&lt;td style="border: 1px solid rgb(0, 0, 0); padding: 2px 5px; font-size: 0.7em; width: 25%; text-align: right;"&gt;
300%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/span&gt;
&lt;br class="Apple-interchange-newline"&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=d9ce5380-3f93-4e1f-95a1-e1e655c7aa30" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,d9ce5380-3f93-4e1f-95a1-e1e655c7aa30.aspx</comments>
      <category>HTML</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=8a619a67-6ca5-45a9-984a-59fa7bdd0f7a</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,8a619a67-6ca5-45a9-984a-59fa7bdd0f7a.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,8a619a67-6ca5-45a9-984a-59fa7bdd0f7a.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=8a619a67-6ca5-45a9-984a-59fa7bdd0f7a</wfw:commentRss>
      <title>The 90/10 Principle. It will change your life (at least the way you react to situations)</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,8a619a67-6ca5-45a9-984a-59fa7bdd0f7a.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/05/05/The9010PrincipleItWillChangeYourLifeAtLeastTheWayYouReactToSituations.aspx</link>
      <pubDate>Tue, 05 May 2009 17:38:40 GMT</pubDate>
      <description>&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;One of my friends forwarded this
article to me sometime in 2007, as it was too lengthy, I didn’t read at that time,
and few months back I got a chance to read this; only then I realized I should have
read this in 2007 itself, because this article had changed my life in many ways since
I read this … hope it will change yours too! 
&lt;br&gt;
&lt;br&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Author: Stephen Covey 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Discover the 90/10 Principle.
It will change your life (at least the way you react to situations). 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;What is this principle? 10% of
life is made up of what happens to you. 90% of life is decided by how you react.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;What does this mean? We really
have no control over 10% of what happens to us. We cannot stop the car from breaking
down. The plane will be late arriving, which throws our whole schedule off. A driver
may cut us off in traffic. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;We have no control over this 10%.
The other 90% is different. You determine the other 90%. How? ……….By your reaction.
You cannot control a red light. but you can control your reaction. Don't let people
fool you; YOU can control how you react. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Let's use an example. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;You are eating breakfast with
your family. Your daughter knocks over a cup of coffee onto your business shirt. You
have no control over what just happened. What happens next will be determined by how
you react. You curse. You harshly scold your daughter for knocking the cup over. She
breaks down in tears. After scolding her, you turn to your spouse and criticize her
for placing the cup too close to the edge of the table. A short verbal battle follows.
You storm upstairs and change your shirt. Back downstairs, you find your daughter
has been too busy crying to finish breakfast and get ready for school. She misses
the bus. Your spouse must leave immediately for work. You rush to the car and drive
your daughter to school. Because you are late, you drive 40 miles an hour in a 30
mph speed limit. After a 15-minute delay and throwing $60 traffic fine away, you arrive
at school. Your daughter runs into the building without saying goodbye. After arriving
at the office 20 minutes late, you find you forgot your briefcase. Your day has started
terrible. As it continues, it seems to get worse and worse. You look forward to coming
home. When you arrive home, you find small wedge in your relationship with your spouse
and daughter. Why? …. Because of how you reacted in the morning. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Why did you have a bad day? 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;A) Did the coffee cause it? 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;B) Did your daughter cause it? 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;C) Did the policeman cause it? 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;D) Did you cause it? 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;The answer is “D". 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;You had no control over what happened
with the coffee. How you reacted in those 5 seconds is what caused your bad day. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Here is what could have and should
have happened. Coffee splashes over you. Your daughter is about to cry. You gently
say, "Its ok honey, you just need to be more careful next time". Grabbing a towel
you rush upstairs. After grabbing a new shirt and your briefcase, you come back down
in time to look through the window and see your child getting on the bus. She turns
and waves. You arrive 5 minutes early and cheerfully greet the staff. Your boss comments
on how good the day you are having. Notice the difference? Two different scenarios.
Both started the same. Both ended different. Why? Because of how you REACTED. You
really do not have any control over 10% of what happens. The other 90% was determined
by your reaction. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Here are some ways to apply the
90/10 principle. If someone says something negative about you, don't be a sponge.
Let the attack roll off like water on glass. You don't have to let the negative comment
affect you! React properly and it will not ruin your day. A wrong reaction could result
in losing a friend, being fired, getting stressed out etc. How do you react if someone
cuts you off in traffic? Do you lose your temper? Pound on the steering wheel? A friend
of mine had the steering wheel fall off) Do you curse? Does your blood pressure skyrocket?
Do you try and bump them? WHO CARES if you arrive ten seconds later at work? Why let
the cars ruin your drive? Remember the 90/10 principle, and do not worry about it.
You are told you lost your job. Why lose sleep and get irritated? It will work out.
Use your worrying energy and time into finding another job. The plane is late; it
is going to mangle your schedule for the day. Why take outpour frustration on the
flight attendant? She has no control over what is going on. Use your time to study,
get to know the other passenger. Why get stressed out? It will just make things worse. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Now you know the 90-10 principle.
Apply it and you will be amazed at the results. You will lose nothing if you try it.
The 90-10 principle is incredible. Very few know and apply this principle. The result?
Millions of people are suffering from undeserved stress, trials, problems and heartache.
We all must understand and apply the 90/10 principle. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;It CAN change your life!!! 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Enjoy….&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=8a619a67-6ca5-45a9-984a-59fa7bdd0f7a" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,8a619a67-6ca5-45a9-984a-59fa7bdd0f7a.aspx</comments>
      <category>Miscellaneous</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=c45a19e6-dc7b-4137-a2af-1624beb30cf6</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,c45a19e6-dc7b-4137-a2af-1624beb30cf6.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,c45a19e6-dc7b-4137-a2af-1624beb30cf6.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=c45a19e6-dc7b-4137-a2af-1624beb30cf6</wfw:commentRss>
      <title>Oracle - How to use a parameter in a Select query with ‘IN’ condition</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,c45a19e6-dc7b-4137-a2af-1624beb30cf6.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/05/01/OracleHowToUseAParameterInASelectQueryWithINCondition.aspx</link>
      <pubDate>Fri, 01 May 2009 17:33:29 GMT</pubDate>
      <description>&lt;p&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;This works in Oracle, hope there
is something similar to this in Sql Server too! There might be some other good way
to do this, if so, please let me know.&lt;!-- SPAN--&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;SELECT * FROM TABLE1 WHERE COLUMN1
IN (‘ABC’,’XYZ’,’PQR’)&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Say suppose the strings ‘ABC’,’XYZ’
and ’PQR’ need to be grouped as a single string in the frontend and to be passed as
a parameter. &amp;nbsp;How can we do it? We cannot write like this – &lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;SELECT * FROM TABLE1 WHERE COLUMN1
IN (IN_PARAMTER)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;There are many ways to do it:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;ol style="margin-top: 0in;" type="1"&gt;
&lt;li class="MsoNormal" style=""&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;We can write an inline query.&lt;/span&gt; &lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt; 
&lt;/li&gt;
&lt;li class="MsoNormal" style=""&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;We can split the strings and group
it as a table type.&lt;/span&gt; &lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt; 
&lt;/li&gt;
&lt;li class="MsoNormal" style=""&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;We can write dynamic &lt;span class="SpellE"&gt;sql&lt;/span&gt;.&lt;/span&gt; &lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;There is one more way to do it
and found it to be easy, so thought of sharing.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Here it is:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;SELECT * FROM TABLE1 WHERE COLUMN1 IN &lt;br&gt;
(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;SELECT&amp;nbsp; REGEXP_SUBSTR(In_Parameter ,'[^,]+',1,LEVEL)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;br&gt;
&amp;nbsp;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp; DUAL 
&lt;br&gt;
&amp;nbsp;CONNECT BY LEVEL &amp;lt;= LENGTH (REGEXP_REPLACE (In_Parameter, '[^,]')) + 1 
&lt;br&gt;
)&lt;br&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;It is enough if we pass
the parameter as ‘ABC&lt;span class="GramE"&gt;,XYZ,PQR’&lt;/span&gt; instead of “‘ABC’,’XYZ’,’PQR’”.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;More about Oracle Regular Expressions
- &lt;a title="blocked::http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10759/functions116.htm" href="http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10759/functions116.htm"&gt;http://download-west.oracle.com/docs/cd/B13789_01/server.101/b10759/functions116.htm&lt;/a&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=c45a19e6-dc7b-4137-a2af-1624beb30cf6" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,c45a19e6-dc7b-4137-a2af-1624beb30cf6.aspx</comments>
      <category>Oracle</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=55f0ccaa-e208-416e-8f96-218dccc033a5</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,55f0ccaa-e208-416e-8f96-218dccc033a5.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,55f0ccaa-e208-416e-8f96-218dccc033a5.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=55f0ccaa-e208-416e-8f96-218dccc033a5</wfw:commentRss>
      <title>Working with Excel sheet in .NET i.e., Create Read Update Delete</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,55f0ccaa-e208-416e-8f96-218dccc033a5.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/04/16/WorkingWithExcelSheetInNETIeCreateReadUpdateDelete.aspx</link>
      <pubDate>Thu, 16 Apr 2009 17:10:39 GMT</pubDate>
      <description>&lt;span style="font-size: 13px; font-family: Tahoma;"&gt; 
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Select or Insert or Update or
Delete rows in Excel using .NET. i.e., CRUD operations in EXCEL using .NET. We can
literally use the excel sheet as a database, just the connection string matters. Note:
1. This code cannot be used for password protected excel sheets. 2. Delete does not
work. See below for explanations. &lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;There
might be some other good way to do this, if so, let me know. 
&lt;br&gt;
&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;/span&gt; 
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Insert a row in an
excel sheet 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: blue; font-family: Tahoma;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; btn_create_Click(&lt;span style="color: blue;"&gt;object&lt;/span&gt; sender, &lt;span style="color: rgb(43, 145, 175);"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;OleDbConnection&lt;/span&gt; objConnection;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;OleDbCommand&lt;/span&gt; objCommand;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;OleDbParameter&lt;/span&gt; objParameter;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
Here HDR= YES represents that header is present 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
If the excelsheet you are dealing with does not have header, you can mention HDR =
NO, 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
and while fetching columns you have to mention F1, F2 rather than the column names&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objConnection
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbConnection&lt;/span&gt;(&lt;span style="color: rgb(163, 21, 21);"&gt;@"Provider=Microsoft.Jet.OLEDB.4.0;
Data Source=D:\Excel\CRUD_EXCEL.xls;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Extended
Properties=""Excel 8.0;HDR=YES;"""&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbCommand&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&amp;nbsp; 
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.Connection
= objConnection;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.CommandType
= &lt;span style="color: rgb(43, 145, 175);"&gt;CommandType&lt;/span&gt;.Text;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
The sheet name should be followed by $ sign&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.CommandText
= &lt;span style="color: rgb(163, 21, 21);"&gt;"INSERT INTO [SHEETNAME$](COLUMN_INT, COLUMN_VARCHAR)
VALUES(@COLUMN_INT, @COLUMN_VARCHAR)"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objParameter
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbParameter&lt;/span&gt;(&lt;span style="color: rgb(163, 21, 21);"&gt;"@COLUMN_INT"&lt;/span&gt;, &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbType&lt;/span&gt;.Integer);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objParameter.Value
= 3;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.Parameters.Add(objParameter);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objParameter
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbParameter&lt;/span&gt;(&lt;span style="color: rgb(163, 21, 21);"&gt;"@COLUMN_VARCHAR"&lt;/span&gt;, &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbType&lt;/span&gt;.VarChar);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objParameter.Value
= &lt;span style="color: rgb(163, 21, 21);"&gt;"testing"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.Parameters.Add(objParameter);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objConnection.Open();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.ExecuteNonQuery();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objConnection.Close();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Select rows in an
Excel sheet&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: blue; font-family: Tahoma;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; btn_read_Click(&lt;span style="color: blue;"&gt;object&lt;/span&gt; sender, &lt;span style="color: rgb(43, 145, 175);"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;OleDbConnection&lt;/span&gt; objConnection;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;OleDbCommand&lt;/span&gt; objCommand;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;OleDbParameter&lt;/span&gt; objParameter;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
Here HDR= YES represents that header is present 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
If the excelsheet you are dealing with does not have header, you can mention HDR =
NO, 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//and
while fetching columns you have to mention F1, F2 rather than the column names&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objConnection
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbConnection&lt;/span&gt;(&lt;span style="color: rgb(163, 21, 21);"&gt;@"Provider=Microsoft.Jet.OLEDB.4.0;
Data Source=D:\Excel\CRUD_EXCEL.xls;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Extended
Properties=""Excel 8.0;HDR=YES;"""&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbCommand&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.Connection
= objConnection;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.CommandType
= &lt;span style="color: rgb(43, 145, 175);"&gt;CommandType&lt;/span&gt;.Text;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
If the excel sheet you are dealing with does not have header, your query will be SELECT
F1, F2 FROM [SHEETNAME$]&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.CommandText
= &lt;span style="color: rgb(163, 21, 21);"&gt;"SELECT COLUMN_INT as COLUMN1, COLUMN_VARCHAR
AS COLUMN2 FROM [SHEETNAME$]"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objDataAdapter
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbDataAdapter&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objDataSet
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;DataSet&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objDataAdapter.SelectCommand
= objCommand;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objConnection.Open();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objDataAdapter.Fill(objDataSet);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objConnection.Close();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Update a row in an
excel sheet&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: blue; font-family: Tahoma;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; btn_update_Click(&lt;span style="color: blue;"&gt;object&lt;/span&gt; sender, &lt;span style="color: rgb(43, 145, 175);"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;OleDbConnection&lt;/span&gt; objConnection;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;OleDbCommand&lt;/span&gt; objCommand;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;OleDbParameter&lt;/span&gt; objParameter;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
Here HDR= YES represents that header is present 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
If the excelsheet you are dealing with does not have header, you can mention HDR =
NO, 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color: green;"&gt;//
and while fetching columns you have to mention F1, F2 rather than the column names&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objConnection
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbConnection&lt;/span&gt;(&lt;span style="color: rgb(163, 21, 21);"&gt;@"Provider=Microsoft.Jet.OLEDB.4.0;
Data Source=D:\Excel\CRUD_EXCEL.xls;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: rgb(163, 21, 21); font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Extended
Properties=""Excel 8.0;HDR=YES;"""&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbCommand&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.Connection
= objConnection;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.CommandType
= &lt;span style="color: rgb(43, 145, 175);"&gt;CommandType&lt;/span&gt;.Text;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.CommandText
= &lt;span style="color: rgb(163, 21, 21);"&gt;"UPDATE [SHEETNAME$] SET COLUMN_VARCHAR =&lt;span style=""&gt;&amp;nbsp; &lt;/span&gt;@COLUMN_VARCHAR
WHERE COLUMN_INT = @COLUMN_INT"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objParameter
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbParameter&lt;/span&gt;(&lt;span style="color: rgb(163, 21, 21);"&gt;"@COLUMN_VARCHAR"&lt;/span&gt;, &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbType&lt;/span&gt;.VarChar);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objParameter.Value
= &lt;span style="color: rgb(163, 21, 21);"&gt;"PQR"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.Parameters.Add(objParameter);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objParameter
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbParameter&lt;/span&gt;(&lt;span style="color: rgb(163, 21, 21);"&gt;"@COLUMN_INT"&lt;/span&gt;, &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbType&lt;/span&gt;.Integer);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objParameter.Value
= 3;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.Parameters.Add(objParameter);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objConnection.Open();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objCommand.ExecuteNonQuery();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;objConnection.Close();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b style=""&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;Delete 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: blue; font-family: Tahoma;"&gt;protected&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt; &lt;span style="color: blue;"&gt;void&lt;/span&gt; btn_delete_Click(&lt;span style="color: blue;"&gt;object&lt;/span&gt; sender, &lt;span style="color: rgb(43, 145, 175);"&gt;EventArgs&lt;/span&gt; e)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: green; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;As
far as I know 
&lt;st1:city w:st="on"&gt;
&lt;st1:place w:st="on"&gt;ADO&lt;/st1:place&gt;
&lt;/st1:city&gt;
does not support Excel row delete&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;You
are more restricted in deleting Excel data than data from a relational data source.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;In
a relational database, "row" has no meaning or existence apart from "record"; 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;in
an Excel worksheet, this is not true. You can delete values in fields (cells). However,
you cannot: 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1.&lt;span style=""&gt; &lt;/span&gt;Delete
an entire record at once or you receive the following error message: 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Deleting
data in a linked table is not supported by this ISAM. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;You
can only delete a record by blanking out the contents of each individual field. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;2.&lt;span style=""&gt; &lt;/span&gt;Delete
the value in a cell containing an Excel formula or you receive the following error
message: 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Operation
is not allowed in this context. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3.&lt;span style=""&gt; &lt;/span&gt;You
cannot delete the empty spreadsheet row(s) in which the deleted data was located, 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;&lt;span style=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;and
your recordset will continue to display empty records corresponding to these empty
rows.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Tahoma;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=55f0ccaa-e208-416e-8f96-218dccc033a5" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,55f0ccaa-e208-416e-8f96-218dccc033a5.aspx</comments>
      <category>.NET</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=6fc455c3-e98f-4dac-907e-14592f6e3968</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,6fc455c3-e98f-4dac-907e-14592f6e3968.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,6fc455c3-e98f-4dac-907e-14592f6e3968.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=6fc455c3-e98f-4dac-907e-14592f6e3968</wfw:commentRss>
      <title>Importing XML data to Oracle database</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,6fc455c3-e98f-4dac-907e-14592f6e3968.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/04/16/ImportingXMLDataToOracleDatabase.aspx</link>
      <pubDate>Thu, 16 Apr 2009 17:08:18 GMT</pubDate>
      <description>&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Arial;"&gt;Here is a method to import/send
XML to Oracle and thus we need not call the database repeatedly for mass insert, update
etc. DBMS_XMLSTORE has been used here. There might be some other good way to do this,
if so, please let me know.&amp;nbsp;&lt;br&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Arial;"&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Arial;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;br&gt;
&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Arial;"&gt;Here you go:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Arial;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Arial;"&gt;1. Importing Excel from .NET interface
to Oracle. &lt;b style=""&gt;Just to get some xml, I have used an excel sheet here, you
can replace it with your xml data.&lt;/b&gt;&amp;nbsp; 
&lt;br&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Arial;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;table class="MsoNormalTable" style="margin: auto auto auto 4.65pt; width: 181.6pt; border-collapse: collapse;" width="242" border="0" cellpadding="0" cellspacing="0"&gt;
&lt;tbody&gt;
&lt;tr style="height: 15pt;"&gt;
&lt;td style="border: 1pt solid windowtext; padding: 0in 5.4pt; background: silver none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 46.9pt; height: 15pt;" valign="bottom" width="63" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;COL1&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext rgb(255, 255, 255); border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; background: silver none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 46.45pt; height: 15pt;" valign="bottom" width="62" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;COL2&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext rgb(255, 255, 255); border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; background: silver none repeat scroll 0% 0%; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous; width: 88.25pt; height: 15pt;" valign="bottom" width="118" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;COL3&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="height: 15pt;"&gt;
&lt;td style="border-style: none solid; border-color: rgb(255, 255, 255) windowtext; border-width: medium 1pt; padding: 0in 5.4pt; width: 46.9pt; height: 15pt; background-color: transparent;" valign="bottom" width="63" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt; text-align: right;" align="right"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;1&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-style: none solid none none; border-color: rgb(255, 255, 255) windowtext rgb(255, 255, 255) rgb(255, 255, 255); border-width: medium 1pt medium medium; padding: 0in 5.4pt; width: 46.45pt; height: 15pt; background-color: transparent;" valign="bottom" width="62" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;Aaa&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-style: none solid none none; border-color: rgb(255, 255, 255) windowtext rgb(255, 255, 255) rgb(255, 255, 255); border-width: medium 1pt medium medium; padding: 0in 5.4pt; width: 88.25pt; height: 15pt; background-color: transparent;" valign="bottom" width="118" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;abc&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="height: 15pt;"&gt;
&lt;td style="border-style: none solid; border-color: rgb(255, 255, 255) windowtext; border-width: medium 1pt; padding: 0in 5.4pt; width: 46.9pt; height: 15pt; background-color: transparent;" valign="bottom" width="63" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt; text-align: right;" align="right"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;2&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-style: none solid none none; border-color: rgb(255, 255, 255) windowtext rgb(255, 255, 255) rgb(255, 255, 255); border-width: medium 1pt medium medium; padding: 0in 5.4pt; width: 46.45pt; height: 15pt; background-color: transparent;" valign="bottom" width="62" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;Bbb&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-style: none solid none none; border-color: rgb(255, 255, 255) windowtext rgb(255, 255, 255) rgb(255, 255, 255); border-width: medium 1pt medium medium; padding: 0in 5.4pt; width: 88.25pt; height: 15pt; background-color: transparent;" valign="bottom" width="118" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;pqr&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="height: 15pt;"&gt;
&lt;td style="border-style: none solid; border-color: rgb(255, 255, 255) windowtext; border-width: medium 1pt; padding: 0in 5.4pt; width: 46.9pt; height: 15pt; background-color: transparent;" valign="bottom" width="63" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt; text-align: right;" align="right"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;3&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-style: none solid none none; border-color: rgb(255, 255, 255) windowtext rgb(255, 255, 255) rgb(255, 255, 255); border-width: medium 1pt medium medium; padding: 0in 5.4pt; width: 46.45pt; height: 15pt; background-color: transparent;" valign="bottom" width="62" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;Aaa&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-style: none solid none none; border-color: rgb(255, 255, 255) windowtext rgb(255, 255, 255) rgb(255, 255, 255); border-width: medium 1pt medium medium; padding: 0in 5.4pt; width: 88.25pt; height: 15pt; background-color: transparent;" valign="bottom" width="118" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;Abcdef&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr style="height: 15pt;"&gt;
&lt;td style="border-style: none solid; border-color: rgb(255, 255, 255) windowtext; border-width: medium 1pt; padding: 0in 5.4pt; width: 46.9pt; height: 15pt; background-color: transparent;" valign="bottom" width="63" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt; text-align: right;" align="right"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;4&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-style: none solid none none; border-color: rgb(255, 255, 255) windowtext rgb(255, 255, 255) rgb(255, 255, 255); border-width: medium 1pt medium medium; padding: 0in 5.4pt; width: 46.45pt; height: 15pt; background-color: transparent;" valign="bottom" width="62" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;ddd&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;td style="border-style: none solid none none; border-color: rgb(255, 255, 255) windowtext rgb(255, 255, 255) rgb(255, 255, 255); border-width: medium 1pt medium medium; padding: 0in 5.4pt; width: 88.25pt; height: 15pt; background-color: transparent;" valign="bottom" width="118" nowrap="nowrap"&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: black; font-family: Arial;"&gt;pqrst&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Arial;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Arial;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b&gt;&lt;span style="font-size: 13px; font-family: Arial;"&gt;.NET Code&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Arial;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;string&lt;/span&gt; strConn
= &lt;span style="color: rgb(163, 21, 21);"&gt;"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\\Excel\\excel.xls;Extended
Properties=Excel 8.0;"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&lt;span style="color: rgb(43, 145, 175);"&gt;OleDbDataAdapter&lt;/span&gt; daImportExcel
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OleDbDataAdapter&lt;/span&gt;(&lt;span style="color: rgb(163, 21, 21);"&gt;"SELECT
* FROM [Sheet1$]"&lt;/span&gt;, strConn);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&lt;span style="color: rgb(43, 145, 175);"&gt;DataSet&lt;/span&gt; dsExcelData
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;DataSet&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;daImportExcel.Fill(dsExcelData, &lt;span style="color: rgb(163, 21, 21);"&gt;"TABLE_NAME"&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: rgb(43, 145, 175); font-family: Verdana;"&gt;OracleParameter&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Verdana;"&gt; parameter
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OracleParameter&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;parameter = &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OracleParameter&lt;/span&gt;(&lt;span style="color: rgb(163, 21, 21);"&gt;"XML_CLOB"&lt;/span&gt;, &lt;span style="color: rgb(43, 145, 175);"&gt;OracleDbType&lt;/span&gt;.Clob);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;parameter.Direction = &lt;span style="color: rgb(43, 145, 175);"&gt;ParameterDirection&lt;/span&gt;.Input;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;parameter.Value = dsExcelData.GetXml();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; color: rgb(43, 145, 175); font-family: Verdana;"&gt;OracleCommand&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Verdana;"&gt; objCommandImport
= &lt;span style="color: blue;"&gt;new&lt;/span&gt; &lt;span style="color: rgb(43, 145, 175);"&gt;OracleCommand&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;objCommandImport.Connection =
objConnection;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;objCommandImport.CommandType
= &lt;span style="color: rgb(43, 145, 175);"&gt;CommandType&lt;/span&gt;.StoredProcedure;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;objCommandImport.CommandText
= &lt;span style="color: rgb(163, 21, 21);"&gt;"BIMS.XML_PARSER"&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;objCommandImport.Parameters.Add(parameter);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;objCommandImport.ExecuteNonQuery();&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b&gt;&lt;span style="font-size: 13px; font-family: Verdana;"&gt;Note:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 13px; font-family: Verdana;"&gt; I
am passing XML as CLOB. 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b&gt;&lt;span style="font-size: 13px; font-family: Verdana;"&gt;Oracle Procedure&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;I am inserting the dataset, I
mean the XML into table XML_TESTING. Here COL1 is integer and other 2 columns are
varchar.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;CREATE OR REPLACE PROCEDURE XML_PARSER&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;(&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XML_CLOB&amp;nbsp;&amp;nbsp;&amp;nbsp;
IN CLOB&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;AS&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;INSERT_CONTEXT&amp;nbsp; DBMS_XMLSTORE.CTXTYPE;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;ROW_COUNT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
NUMBER;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;BEGIN&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; INSERT_CONTEXT
:= DBMS_XMLSTORE.NEWCONTEXT('XML_TESTING');&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS_XMLSTORE.SETROWTAG(INSERT_CONTEXT,
'TABLE_NAME'); 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS_XMLSTORE.CLEARUPDATECOLUMNLIST(INSERT_CONTEXT);&amp;nbsp; 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS_XMLSTORE.SETUPDATECOLUMN(INSERT_CONTEXT,'COL1'); 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS_XMLSTORE.SETUPDATECOLUMN(INSERT_CONTEXT,'COL2');&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS_XMLSTORE.SETUPDATECOLUMN(INSERT_CONTEXT,'COL3');&amp;nbsp; 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ROW_COUNT
:= DBMS_XMLSTORE.INSERTXML(INSERT_CONTEXT, XML_CLOB);&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS_XMLSTORE.CLOSECONTEXT(INSERT_CONTEXT);&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;END XML_PARSER;&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b&gt;&lt;span style="font-size: 13px; font-family: Verdana;"&gt;Note:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;Names of the columns that are
inserted and of the underlying database table should be same. &lt;/span&gt;&lt;span style="font-size: 13px; font-family: Verdana;" lang="EN"&gt;By
default, XML documents are expected to identify rows with the &amp;lt;ROW&amp;gt; tag. This
is the same default used by &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 13px; font-family: Verdana;" lang="EN"&gt;DBMS_XMLGEN&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 13px; font-family: Verdana;" lang="EN"&gt; when
generating XML. This may be overridden by calling the setRowTag function. Here ‘&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Verdana;"&gt;TABLE_NAME'&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Verdana;" lang="EN"&gt;’
has been set as rowtag as it is our table name.&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;b&gt;&lt;span style="font-size: 13px; font-family: Verdana;"&gt;Drawback:&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;.NET is not allowing to use GetXml
in huge datasets. If somebody has a solution for it, please let me know.&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0in 0in 0pt;"&gt;
&lt;span style="font-size: 13px; font-family: Verdana;"&gt;You can understand better about
DBMS_XMLSTORE from this article - &lt;a href="http://www.stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10790/xdb_dbmstore.htm#CACEJGEH"&gt;http://www.stanford.edu/dept/itss/docs/oracle/10g/appdev.101/b10790/xdb_dbmstore.htm#CACEJGEH&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size: 13px; font-family: Arial;"&gt;
&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=6fc455c3-e98f-4dac-907e-14592f6e3968" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,6fc455c3-e98f-4dac-907e-14592f6e3968.aspx</comments>
      <category>.NET</category>
      <category>Oracle</category>
    </item>
    <item>
      <trackback:ping>http://blogs.gokulnath.com//Trackback.aspx?guid=b705c37b-b47f-4e8d-8f8b-091efc4cb684</trackback:ping>
      <pingback:server>http://blogs.gokulnath.com//pingback.aspx</pingback:server>
      <pingback:target>http://blogs.gokulnath.com//PermaLink,guid,b705c37b-b47f-4e8d-8f8b-091efc4cb684.aspx</pingback:target>
      <dc:creator />
      <wfw:comment>http://blogs.gokulnath.com//CommentView,guid,b705c37b-b47f-4e8d-8f8b-091efc4cb684.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.gokulnath.com//SyndicationService.asmx/GetEntryCommentsRss?guid=b705c37b-b47f-4e8d-8f8b-091efc4cb684</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
After <a href="Login.aspx">logging in</a>, be sure to visit all the options under <a href="EditConfig.aspx">Configuration</a> in
the Admin Menu Bar above. There are <a href="http://dasblog.info/ThemeScreenShots.aspx">26
themes to choose from</a>, and you can also <a href="http://dasblog.info/ThemesAndMacros.aspx">create
your own</a>.
</p>
        <p>
 
</p>
        <img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=b705c37b-b47f-4e8d-8f8b-091efc4cb684" />
      </body>
      <title>Congratulations, you've installed dasBlog with Web Deploy!</title>
      <guid isPermaLink="false">http://blogs.gokulnath.com//PermaLink,guid,b705c37b-b47f-4e8d-8f8b-091efc4cb684.aspx</guid>
      <link>http://blogs.gokulnath.com//2009/03/11/CongratulationsYouveInstalledDasBlogWithWebDeploy.aspx</link>
      <pubDate>Wed, 11 Mar 2009 07:00:00 GMT</pubDate>
      <description>		&lt;p&gt;
After &lt;a href="Login.aspx"&gt;logging in&lt;/a&gt;, be sure to visit all the options under &lt;a href="EditConfig.aspx"&gt;Configuration&lt;/a&gt; in
the Admin Menu Bar above. There are &lt;a href="http://dasblog.info/ThemeScreenShots.aspx"&gt;26
themes to choose from&lt;/a&gt;, and you can also &lt;a href="http://dasblog.info/ThemesAndMacros.aspx"&gt;create
your own&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.gokulnath.com//aggbug.ashx?id=b705c37b-b47f-4e8d-8f8b-091efc4cb684" /&gt;</description>
      <comments>http://blogs.gokulnath.com//CommentView,guid,b705c37b-b47f-4e8d-8f8b-091efc4cb684.aspx</comments>
    </item>
  </channel>
</rss>