<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5707225505184344345</id><updated>2024-11-05T18:55:48.958-08:00</updated><category term="ASP.NET"/><category term="VB.NET"/><category term="JQuery"/><category term=".NET"/><category term="Interview Questions"/><category term="State Management"/><category term="C#"/><category term="Javascript"/><category term="OOPS"/><category term="Windows Forms"/><category term="Authentication"/><category term="JSON"/><category term="HTML"/><category term="Interesting"/><category term="Master Pages in .NET"/><category term="Visual Studio Shortcut Keys"/><category term="WCF interview Questions"/><category term="WPF"/><category term="Web Services"/><title type='text'>.Net Technology</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>108</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-8589047272114579072</id><published>2012-10-03T22:26:00.001-07:00</published><updated>2012-10-03T22:26:54.210-07:00</updated><title type='text'>Contact Us</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Georgia, Utopia, &#39;Palatino Linotype&#39;, Palatino, serif; font-size: 14px; line-height: 19px;&quot;&gt;If you want to contact me then please comment in the commnet Box.&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/8589047272114579072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/10/contact-us.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/8589047272114579072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/8589047272114579072'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/10/contact-us.html' title='Contact Us'/><author><name>Kishore</name><uri>http://www.blogger.com/profile/14419080585613916760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9UYH-9LjQH5qWwrKOuBokhekfZZOFjCaznyLO5tUBXxdJX6MjXxZ5Cf8nePyJsWnCE5O-WdOtjGomodsMwlujaHrvYS9ey8AvAzuCWx5s2HGkfgkxWPmcdm2Ndn1nvfw/s220/wpf.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-775809736082394558</id><published>2012-06-29T03:24:00.001-07:00</published><updated>2012-06-29T03:27:10.095-07:00</updated><title type='text'>Contact Us</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you want to contact me then please comment in the commnet Box.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/775809736082394558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/06/contact-us.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/775809736082394558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/775809736082394558'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/06/contact-us.html' title='Contact Us'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-1943105432004460185</id><published>2012-05-01T22:56:00.000-07:00</published><updated>2012-05-01T22:58:05.840-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WCF interview Questions"/><title type='text'>WCF Interview Questions and Answer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15.0pt; margin-bottom: 12.0pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Q1. What is WCF?&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
WCF stands for Windows Communication Foundation. It is a Software development
kit for developing services on Windows. WCF is introduced in .NET 3.0. in the
System.ServiceModel namespace. WCF is based on basic concepts of Service
oriented architecture (SOA)&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q2. What is endpoint in WCF service?&lt;/b&gt;&lt;br /&gt;
The endpoint is an Interface which defines how a client will communicate with
the service. It consists of three main points: Address,Binding and Contract.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q3. Explain Address,Binding and contract for a WCF Service?&lt;/b&gt;&lt;br /&gt;
Address:Address defines where the service resides.&lt;br /&gt;
Binding:Binding defines how to communicate with the service.&lt;br /&gt;
Contract:Contract defines what is done by the service.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q4. What are the various address format in WCF?&lt;/b&gt;&lt;br /&gt;
a)HTTP Address Format:--&amp;gt; http://localhost:&lt;br /&gt;
b)TCP Address Format:--&amp;gt; net.tcp://localhost:&lt;br /&gt;
c)MSMQ Address Format:--&amp;gt; net.msmq://localhost:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q5. What are the types of binding available in WCF?&lt;/b&gt;&lt;br /&gt;
A binding is identified by the transport it supports and the encoding it uses.
Transport may be HTTP,TCP etc and encoding may be text,binary etc. The popular
types of binding may be as below:&lt;br /&gt;
a)BasicHttpBinding&lt;br /&gt;
b)NetTcpBinding&lt;br /&gt;
c)WSHttpBinding&lt;br /&gt;
d)NetMsmqBinding&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Q6. What are the types of contract available in WCF?&lt;/b&gt;&lt;br /&gt;
The main contracts are:&lt;br /&gt;
a)Service Contract:Describes what operations the client can perform.&lt;br /&gt;
b)Operation Contract : defines the method inside Interface of Service.&lt;br /&gt;
c)Data Contract:Defines what data types are passed&lt;br /&gt;
d)Message Contract:Defines wheather a service can interact directly with
messages&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q7. What are the various ways of hosting a WCF Service?&lt;/b&gt;&lt;br /&gt;
a)IIS b)Self Hosting c)WAS (Windows Activation Service)&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Q8. WWhat is the proxy for WCF Service?&lt;/b&gt;&lt;br /&gt;
A proxy is a class by which a service client can Interact with the service.&lt;br /&gt;
By the use of proxy in the client application we are able to call the different
methods exposed by the service&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;br /&gt;
Q9. How can we create Proxy for the WCF Service?&lt;/b&gt;&lt;br /&gt;
We can create proxy using the tool svcutil.exe after creating the service.&lt;br /&gt;
We can use the following command at command line.&lt;br /&gt;
svcutil.exe *.wsdl *.xsd /language:C# /out:SampleProxy.cs /config:app.config&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q10.What is the difference between WCF Service and Web Service?&lt;/b&gt;&lt;br /&gt;
a)WCF Service supports both http and tcp protocol while webservice supports
only http protocol.&lt;br /&gt;
b)WCF Service is more flexible than web service.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q11.What is DataContract and ServiceContract?Explain&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;
Data represented by creating DataContract which expose the&lt;br /&gt;
data which will be transefered /consumend from the serive&lt;br /&gt;
to its clients.&lt;br /&gt;
&lt;br /&gt;
**Operations which is the functions provided by this&lt;br /&gt;
service.&lt;br /&gt;
&lt;br /&gt;
To write an operation on WCF,you have to write it as an&lt;br /&gt;
interface,This interface contains the &quot;Signature&quot; of the&lt;br /&gt;
methods tagged by ServiceContract attribute,and all methods&lt;br /&gt;
signature will be impelemtned on this interface tagged with&lt;br /&gt;
OperationContract attribute.&lt;br /&gt;
&lt;br /&gt;
and to implement these serivce contract you have to create&lt;br /&gt;
a class which implement the interface and the actual&lt;br /&gt;
implementation will be on that class.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Code Below show How to create a Service Contract:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.0pt; margin-bottom: 3.0pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 15.0pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;[ServiceContract]&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;Public Interface IEmpOperations&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;[OperationContract]&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;Decimal Get EmpSal(int EmpId);&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;Class MyEmp: IEmpOperations&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;Decimal Get EmpSal()&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;// Implementation of this method.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Consolas; font-size: 10pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/1943105432004460185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/05/wcf-interview-questions-and-answer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/1943105432004460185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/1943105432004460185'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/05/wcf-interview-questions-and-answer.html' title='WCF Interview Questions and Answer'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-2665438920372403531</id><published>2012-04-27T20:05:00.001-07:00</published><updated>2012-06-26T01:46:08.487-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><title type='text'>What is Substring? || Substring Function || Sql Server Substring Function || Sql Server Substring Function example</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; line-height: 20px;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif;&quot;&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;Hi Friends ,in this article i will explain about&amp;nbsp;&lt;b&gt;SUBSTRING&amp;nbsp;&lt;/b&gt;&amp;nbsp;in sql server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; line-height: 20px;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif;&quot;&gt;Substring:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; line-height: 20px;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Substring&amp;nbsp;&lt;/b&gt;is function. It has 3 parameters.It will returns the part of a character,binary,image or text.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; line-height: 20px;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif;&quot;&gt;Syntax:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; line-height: 20px;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif;&quot;&gt;SUBSTRING&amp;nbsp;&lt;b&gt;(&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;i&gt;expression&lt;/i&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;b&gt;,&lt;/b&gt;&amp;nbsp;&lt;i&gt;start&lt;/i&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;b&gt;,&lt;/b&gt;&amp;nbsp;&lt;i&gt;length&lt;/i&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;b&gt;)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=5707225505184344345&quot; name=&quot;more&quot; style=&quot;background-color: white; color: #3b3b3b; line-height: 20px;&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For more inforamation please click on the below link.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://aspdotnet-roja.blogspot.in/2012/04/what-is-substring-substring-function.html&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;http://aspdotnet-roja.blogspot.in/2012/04/what-is-substring-substring-function.html&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/2665438920372403531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/what-is-substring-substring-function_27.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/2665438920372403531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/2665438920372403531'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/what-is-substring-substring-function_27.html' title='What is Substring? || Substring Function || Sql Server Substring Function || Sql Server Substring Function example'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-8908553860580440590</id><published>2012-04-26T02:33:00.003-07:00</published><updated>2012-04-26T02:33:32.201-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Interview Questions"/><category scheme="http://www.blogger.com/atom/ns#" term="VB.NET"/><title type='text'>What is an application object in ASP.NET | where we use application object in asp.net | application object sample example using asp.net | What is an application object in .NET</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Hi Friends, in this article i will explain about the application object in .NET.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Application Object:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;The Application object is used to store and access variables from any page in an application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; line-height: 18px;&quot;&gt;The Application object holds information that will be used by many pages in the application&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;If you want more the details please click on the below link.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://aspdotnet-roja.blogspot.in/2012/04/what-is-application-object-in-aspnet.html&quot;&gt;http://aspdotnet-roja.blogspot.in/2012/04/what-is-application-object-in-aspnet.html&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/8908553860580440590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/what-is-application-object-in-aspnet.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/8908553860580440590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/8908553860580440590'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/what-is-application-object-in-aspnet.html' title='What is an application object in ASP.NET | where we use application object in asp.net | application object sample example using asp.net | What is an application object in .NET'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-7154704541889955729</id><published>2012-04-25T03:03:00.003-07:00</published><updated>2012-04-27T20:06:02.815-07:00</updated><title type='text'>What is Substring? || Substring Function || Sql Server Substring Function || Sql Server Substring Function example</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hi Friends ,in this article i will explain about&amp;nbsp;&lt;b&gt;SUBSTRING&amp;nbsp;&lt;/b&gt;&amp;nbsp;in sql server.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Substring:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Substring&amp;nbsp;&lt;/b&gt;is function. It has 3 parameters.It will returns the part of a character,binary,image or text.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Syntax:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;SUBSTRING&amp;nbsp;&lt;b&gt;(&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;i&gt;expression&lt;/i&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;b&gt;,&lt;/b&gt;&amp;nbsp;&lt;i&gt;start&lt;/i&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;b&gt;,&lt;/b&gt;&amp;nbsp;&lt;i&gt;length&lt;/i&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;b&gt;)&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=5707225505184344345&quot; name=&quot;more&quot; style=&quot;background-color: white; color: #3b3b3b; font-size: 15px; line-height: 20px;&quot;&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For more inforamation please click on the below link.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://aspdotnet-roja.blogspot.in/2012/04/what-is-substring-substring-function.html&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;http://aspdotnet-roja.blogspot.in/2012/04/what-is-substring-substring-function.html&lt;/span&gt;&lt;/a&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/7154704541889955729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/what-is-substring-substring-function.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/7154704541889955729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/7154704541889955729'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/what-is-substring-substring-function.html' title='What is Substring? || Substring Function || Sql Server Substring Function || Sql Server Substring Function example'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-6262654307431226769</id><published>2012-04-23T21:10:00.003-07:00</published><updated>2012-04-23T21:10:27.799-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term=".NET"/><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="VB.NET"/><title type='text'>Is it possible to set the session out time manually in ASP.NET? || How to set session timeout more than 20 min.? || How to set session timeout in web.config file?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial;&quot;&gt;Yes we can set the session out time manually in web.config.&lt;/span&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In ASP.NET we can set the session timeout in the web.config
file.The code below set the session timeout to 30 minutes.&lt;/span&gt;&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;If you want more information please click on the below link.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;http://aspdotnet-roja.blogspot.in/2012/04/is-it-possible-to-set-session-out-time.html&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;http://aspdotnet-roja.blogspot.in/2012/04/is-it-possible-to-set-session-out-time.html&lt;/span&gt;&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/6262654307431226769/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/is-it-possible-to-set-session-out-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/6262654307431226769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/6262654307431226769'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/is-it-possible-to-set-session-out-time.html' title='Is it possible to set the session out time manually in ASP.NET? || How to set session timeout more than 20 min.? || How to set session timeout in web.config file?'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-4470148420136042161</id><published>2012-04-23T03:04:00.000-07:00</published><updated>2012-04-23T03:04:16.178-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="VB.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Services"/><title type='text'>How too create web services in asp.net || What is web service || How webservice is Work || How to consume Webserices || How to create simple webservice..</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Hi Friends, In this article i will explain about how to create simple webservice in .NET.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;What is webService?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Webservice is used to convert your applications into web applications.&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Webservices are&amp;nbsp; integrate web based application using XML,SOAP,SWDL and UDDI .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;XML is used to tag the data like &amp;lt;webservice &amp;gt;hi&amp;lt;/webservice&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;For more information click on the below link.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;line-height: 17px;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;a href=&quot;http://aspdotnet-roja.blogspot.in/2012/04/how-too-create-web-services-in-aspnet.html&quot;&gt;http://aspdotnet-roja.blogspot.in/2012/04/how-too-create-web-services-in-aspnet.html&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/4470148420136042161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/how-too-create-web-services-in-aspnet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/4470148420136042161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/4470148420136042161'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/how-too-create-web-services-in-aspnet.html' title='How too create web services in asp.net || What is web service || How webservice is Work || How to consume Webserices || How to create simple webservice..'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-1246327659494112601</id><published>2012-04-23T00:03:00.004-07:00</published><updated>2012-04-23T00:04:08.000-07:00</updated><title type='text'>Difference between Abstract class and interface. || what is abstract class || what is interface || Features of Abstract Classes and interfaces</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0cm; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;What is an Abstract class?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; margin-bottom: 0cm; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #3b3b3b; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 15px; line-height: 20px;&quot;&gt;Abstract class is a class that cannot be instantiated, it exists extensively for inheritance and it must be inherited. There are scenarios in which it is useful to define classes that is not intended to instantiate; because such classes normally are used as base-classes in inheritance hierarchies, we call such classes abstract classes.&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #3b3b3b; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: 15px; line-height: 20px;&quot;&gt;For more information please click on the below link.&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://aspdotnet-roja.blogspot.in/2012/04/difference-between-abstract-class-and.html&quot;&gt;http://aspdotnet-roja.blogspot.in/2012/04/difference-between-abstract-class-and.html&lt;/a&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/1246327659494112601/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/difference-between-abstract-class-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/1246327659494112601'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/1246327659494112601'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/difference-between-abstract-class-and.html' title='Difference between Abstract class and interface. || what is abstract class || what is interface || Features of Abstract Classes and interfaces'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-4486121249359353017</id><published>2012-04-22T20:53:00.003-07:00</published><updated>2012-04-22T20:54:54.447-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><title type='text'>How to add Google Talk Popup to your blog || how to chat with friends using Google Talk || Code for Google Talk || Know about Google Talk || How to add Google Talk Gadget to your blog</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Hi friends, in this article i will explain about how to add Google Talk pop up to your website.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Take one new .ASPX page and add the following code to .aspx page .&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For more information click on the below link.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoPlainText&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;
&lt;a href=&quot;http://aspdotnet-roja.blogspot.in/2012/04/how-to-add-google-talk-popup-to-your.html&quot;&gt;http://aspdotnet-roja.blogspot.in/2012/04/how-to-add-google-talk-popup-to-your.html&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/4486121249359353017/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/how-to-add-google-talk-popup-to-your.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/4486121249359353017'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/4486121249359353017'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/how-to-add-google-talk-popup-to-your.html' title='How to add Google Talk Popup to your blog || how to chat with friends using Google Talk || Code for Google Talk || Know about Google Talk || How to add Google Talk Gadget to your blog'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-541325266501707772</id><published>2012-04-22T20:52:00.002-07:00</published><updated>2012-04-22T20:55:57.721-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Master Pages in .NET"/><title type='text'>How to create Mater pages in ASP.NET || What is the use of Master Pages in ASP.NET || How to add Master page to .ASPX page</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red;&quot;&gt;Master Page in ASP.NET:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Hi friends,in this article i will explain about how to create the master pages in ASP.NET.&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: red;&quot;&gt;What is the use of master pages?&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;1.It is mainly used to reusability like function. If we write the code in&amp;nbsp; the master page then we can use this page in many pages.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;For more information click on the below link.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #3b3b3b; font-family: Verdana, sans-serif; font-size: 15px;&quot;&gt;
&lt;a href=&quot;http://aspdotnet-roja.blogspot.in/2012/04/how-to-create-mater-pages-in-aspnet.html&quot;&gt;http://aspdotnet-roja.blogspot.in/2012/04/how-to-create-mater-pages-in-aspnet.html&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/541325266501707772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/how-to-create-mater-pages-in-aspnet.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/541325266501707772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/541325266501707772'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/how-to-create-mater-pages-in-aspnet.html' title='How to create Mater pages in ASP.NET || What is the use of Master Pages in ASP.NET || How to add Master page to .ASPX page'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-3852237940840201994</id><published>2012-04-22T20:51:00.000-07:00</published><updated>2012-04-22T20:55:31.114-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows Forms"/><title type='text'>How to display image in windows forms || How to add image in windows form</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #3b3b3b; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small; line-height: 18px;&quot;&gt;Hi Friends ,in this article i will explain about how to display image in windows forms.&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #3b3b3b; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small; line-height: 18px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #3b3b3b; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small; line-height: 18px;&quot;&gt;For this click on the below link.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3b3b3b; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://aspdotnet-roja.blogspot.in/2012/04/how-to-display-image-in-windows-forms.html#more&quot;&gt;http://aspdotnet-roja.blogspot.in/2012/04/how-to-display-image-in-windows-forms.html#more&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #3b3b3b; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small; line-height: 18px;&quot;&gt;Happy Reading.........&lt;/span&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/3852237940840201994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/how-to-display-image-in-windows-forms.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/3852237940840201994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/3852237940840201994'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/how-to-display-image-in-windows-forms.html' title='How to display image in windows forms || How to add image in windows form'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-8703331290281738293</id><published>2012-04-18T20:31:00.001-07:00</published><updated>2012-04-23T01:31:21.248-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><title type='text'>What is Web Service? || History of Web Service or How Web Service comes into existence? || Example of Web Service || Terms which are frequently used with web services || Example of Creating Web Service in .Net</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;h3 class=&quot;post-title&quot; style=&quot;background-color: white; color: #005900; font-family: &#39;Lucida Grande&#39;, &#39;Trebuchet MS&#39;; font-size: 17px; letter-spacing: -1px; margin-top: 0px;&quot;&gt;


&lt;a href=&quot;http://dotnetguts.blogspot.in/2007/09/all-about-web-service-in-net.html&quot; style=&quot;color: #005900; text-decoration: none;&quot;&gt;All About Web Service in .Net&lt;/a&gt;&lt;/h3&gt;
&lt;div class=&quot;post-header-line-1&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;post-body&quot; style=&quot;background-color: white; color: #333333; font-family: Verdana, sans-serif; font-size: 13px; line-height: 19px;&quot;&gt;
This article will explain you everything about Web Services in .Net, so lets get started with Web Service&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;What is Web Service?&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Web Service is an application that is designed to interact directly with other applications over the internet. In simple sense, Web Services are means for interacting with objects over the Internet.&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Web Service is&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Language Independent&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Protocol Independent&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Platform Independent&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;It assumes a stateless service architecture.&lt;/li&gt;
&lt;/ul&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;We will discuss more on web service as the article proceed. Before that lets understand bit on how web service comes into picture.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;History of Web Service or How Web Service comes into existence?&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;As i have mention before that Web Service is nothing but means for Interacting with objects over the Internet.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;1. Initially Object - Oriented Language comes which allow us to interact with two object within same application.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;2. Than comes Component Object Model (COM) which allows to interact two objects on the same computer, but in different applications.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;3. Than comes Distributed Component Object Model (DCOM) which allows to interact two objects on different computers, but within same local network.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;4. And finally the web services, which allows two object to interact internet. That is it allows to interact between two object on different computers and even not within same local network.&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Example of Web Service&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Weather Reporting:&lt;/span&gt;&amp;nbsp;You can use Weather Reporting web service to display weather information in your personal website.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Stock Quote:&lt;/span&gt;&amp;nbsp;You can display latest update of Share market with Stock Quote on your web site.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;News Headline:&lt;/span&gt;&amp;nbsp;You can display latest news update by using News Headline Web Service in your website.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;In summary you can any use any web service which is available to use. You can make your own web service and let others use it. Example you can make Free SMS Sending Service with footer with your companies advertisement, so whosoever use this service indirectly advertise your company... You can apply your ideas in N no. of ways to take advantage of it.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Web Service Communication&lt;/span&gt;&lt;br /&gt;
Web Services communicate by using standard web protocols and data formats, such as&lt;br /&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;HTTP&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;XML&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;SOAP&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Advantages of Web Service Communication&lt;/span&gt;&lt;br /&gt;
Web Service messages are formatted as XML, a standard way for communication between two incompatible system. And this message is sent via HTTP, so that they can reach to any machine on the internet without being blocked by firewall.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Terms which are frequently used with web services&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What is SOAP?&lt;/span&gt;&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;SOAP are remote function calls that invokes method and execute them on Remote machine and translate the object communication into XML format. In short, SOAP are way by which method calls are translate into XML format and sent via HTTP.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; font-weight: bold; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;What is&amp;nbsp;&lt;span style=&quot;color: blue; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; position: static;&quot;&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; display: inline !important; float: none !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;WSDL&lt;/span&gt;&lt;/span&gt;?&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;WSDL stands for Web Service Description Language, a standard by which a web service can tell clients what messages it accepts and which results it will return.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;WSDL contains every details regarding using web service&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Method and Properties provided by web service&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;URLs from which those method can be accessed.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Data Types used.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Communication Protocol used.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; font-weight: bold; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;What is UDDI?&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;UDDI allows you to find web services by connecting to a directory.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What is Discovery or .Disco Files?&lt;/span&gt;&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Discovery files are used to group common services together on a web server.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Discovery files .Disco and .VsDisco are XML based files that contains link in the form of URLs to resources that provides discovery information for a web service.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; font-weight: bold; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;.Disco File (static)&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;.Disco File contains&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;URL for the WSDL&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;URL for the documentation&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;URL to which SOAP messages should be sent.&lt;/li&gt;
&lt;/ul&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;A static discovery file is an XML document that contains links to other resources that describe web services.&lt;/li&gt;
&lt;/ul&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; font-weight: bold; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;.VsDisco File (dynamic)&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;A dynamic discovery files are dynamic discovery document that are automatically generated by VS.Net during the development phase of a web service.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What is difference between Disco and UDDI?&lt;/span&gt;&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Disco is Microsoft&#39;s Standard format for discovery documents which contains information about Web Services, while UDDI is a multi-vendor standard for discovery documents which contains information about Web Services.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;What is Web Service Discovery Tool (disco.exe) ?&lt;/span&gt;&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;The Web Services Discovery Tool (disco.exe) can retrieve discovery information from a server that exposes a web service.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; font-weight: bold; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;What is Proxy Class?&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;A proxy class is code that looks exactly like the class it meant to represent; however the proxy class doesn&#39;t contain any of the application logic. Instead, the proxy class contains marshalling and transport logic.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;A proxy class object allows a client to access a web service as if it were a local COM object.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;The Proxy must be on the computer that has the web application.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; font-weight: bold; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;What is Web Service Description Language Tool (wsdl.exe)?&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;This tool can take a WSDL file and generate a corresponding proxy class that you can use to invoke the web service.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Alternate of generating Proxy class through WSDL.exe is you can use web reference.&amp;nbsp;&lt;span style=&quot;font-weight: bold;&quot;&gt;Web Reference&lt;/span&gt;&amp;nbsp;automatically generate a proxy classes for a web service by setting a web reference to point to the web service.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Advantage of using Web Reference as compare to using WSDL.exe Tool&lt;/span&gt;&amp;nbsp;is you can update changes done in web service class easily by updating web reference, which is more tedious task with WSDL.exe tool.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Testing a Web Service?&lt;/span&gt;&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;You can test web service without building an entire client application.&lt;/li&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;With Asp.net you can simply run the application and test the method by entering valid input paramters.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;You can also use .Net Web Service Studio Tool comes from Microsoft.&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;Example of Creating Web Service in .Net&lt;/span&gt;This Web Service will retrieve CustomerList Country Wise and return as dataset to client application for display.&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Step1:&lt;/span&gt;&amp;nbsp;Create a Web Service Application by File &amp;gt; New &amp;gt; Web Site &amp;gt; Asp.net Web Services&lt;br /&gt;
Named the web service, for example here i have choosen name &quot;WSGetCustomerCountryWise&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Step2:&lt;/span&gt;&amp;nbsp;Rename the default Service.&lt;span style=&quot;color: blue; font-family: inherit; font-size: inherit !important; position: static;&quot;&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; display: inline !important; float: none !important; font-family: inherit; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;asmx&lt;/span&gt;&lt;/span&gt;&amp;nbsp;file to proper name, you also need to switch design view and change the&amp;nbsp;&lt;span style=&quot;color: blue; font-family: inherit; font-size: inherit !important; position: static;&quot;&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; display: inline !important; float: none !important; font-family: inherit; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;class&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; display: inline !important; float: none !important; font-family: inherit; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;name&lt;/span&gt;&lt;/span&gt;&amp;nbsp;with the same name you use to rename the service.asmx.&lt;br /&gt;
For example, &quot;WSGetCustomerCountryWise.asmx&quot; and switch to design view and change the class=&quot;Service&quot; to class=&quot;WSGetCustomerCountryWise&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Step3:&lt;/span&gt;&amp;nbsp;Rename the Service.CS File to proper name, you need to change the class name and constructor name too.&lt;br /&gt;
For example, &quot;WSGetCustomerCountryWise.CS&quot; and switch to code view and change the class and constructor name to &quot;WSGetCustomerCountryWise&quot;&lt;br /&gt;
&lt;br /&gt;
After three steps your solution explorer looks as shown in figure&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhihm4Hbg0XvtPJsZdNCB2gyLHo6bLWHuFQOF1R289RPWZPuewovjV4sl8s8Ujxp4-Y-iPGoYSdVwfuhc-FheBmPAZN0k3wRAZ-KRSEMYhQ8ytyWa6sQsl5WxHHfWQaLgSshDvubp2rrxeK/s1600-h/WS1.bmp&quot; style=&quot;color: teal;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5113169997323131810&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhihm4Hbg0XvtPJsZdNCB2gyLHo6bLWHuFQOF1R289RPWZPuewovjV4sl8s8Ujxp4-Y-iPGoYSdVwfuhc-FheBmPAZN0k3wRAZ-KRSEMYhQ8ytyWa6sQsl5WxHHfWQaLgSshDvubp2rrxeK/s400/WS1.bmp&quot; style=&quot;border-bottom-color: rgb(192, 192, 192); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(192, 192, 192); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; border-width: initial; cursor: pointer; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Step4:&lt;/span&gt;&amp;nbsp;Create a Logic for Web Service&lt;br /&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Create a Method &quot;GetCustomerCountryWise&quot;&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Note: You need to specify&amp;nbsp;&lt;span style=&quot;font-weight: bold;&quot;&gt;[WebMethod]&amp;nbsp;&lt;/span&gt;before&amp;nbsp;&lt;span style=&quot;color: blue; font-family: inherit; font-size: inherit !important; position: static;&quot;&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; display: inline !important; float: none !important; font-family: inherit; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;method&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; display: inline !important; float: none !important; font-family: inherit; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;definition&lt;/span&gt;&lt;/span&gt;, if you want it to be accessible public, otherwise the method would not be accessible remotely.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Specify proper argument and return type for method in web service.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;It is also good practise to specify the use &quot;Description&quot; attribute to tell what method is meant for.&lt;/li&gt;
&lt;/ul&gt;
For example, here i need to access data of northwind customers and want to return customer list country wise, so add namespace for&lt;br /&gt;
&lt;br /&gt;
using System.Data;&lt;br /&gt;
using System.Data.SqlClient;&lt;br /&gt;
using System.Configuration;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;[WebMethod(Description=&quot;It will generate Customer List, Country Wise&quot;)]&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;font-weight: bold;&quot;&gt;public System.Xml.XmlElement GetCustomerCountryWise(string sCountry)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
{&lt;br /&gt;
string sConn = ConfigurationManager.ConnectionStrings[&quot;connStr&quot;].ToString();&lt;br /&gt;
&lt;br /&gt;
string sSQL = &quot;select CustomerId, CompanyName, ContactTitle, City &quot; +&lt;br /&gt;
&quot; from Customers where country = &#39;&quot; + sCountry + &quot;&#39;&quot;;&lt;br /&gt;
&lt;br /&gt;
SqlConnection connCustomer = new SqlConnection(sConn);&lt;br /&gt;
&lt;br /&gt;
DataSet dsCustomer = new DataSet();&lt;br /&gt;
&lt;br /&gt;
SqlDataAdapter daCustomer = new SqlDataAdapter(sSQL, sConn);&lt;br /&gt;
&lt;br /&gt;
daCustomer.Fill(dsCustomer,&quot;Customers&quot;);&lt;br /&gt;
&lt;br /&gt;
//Known bug while return &quot;DataSet&quot; is &quot;Data source is an invalid type.&lt;br /&gt;
It must be either an IListSource, IEnumerable, or IDataSource.&quot;&lt;br /&gt;
//For more details on Error: http://support.microsoft.com/kb/317340&lt;br /&gt;
&lt;br /&gt;
//So to access data we need to make use of XmlElement.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;// Return the DataSet as an XmlElement.&lt;/span&gt;&lt;br /&gt;
System.Xml.XmlDataDocument xdd = new System.Xml.XmlDataDocument(dsCustomer);&lt;br /&gt;
System.Xml.XmlElement docElem = xdd.DocumentElement;&lt;br /&gt;
return docElem;&lt;br /&gt;
}&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Step5:&lt;/span&gt;&amp;nbsp;Build Web Service and Run the Web Service for&amp;nbsp;&lt;span style=&quot;color: blue; font-family: inherit; font-size: inherit !important; position: static;&quot;&gt;&lt;span class=&quot;kLink&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: none; background-origin: initial; border-bottom-color: initial; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial !important; border-left-style: none !important; border-left-width: 0px !important; border-right-color: initial !important; border-right-style: none !important; border-right-width: 0px !important; border-top-color: initial !important; border-top-style: none !important; border-top-width: 0px !important; display: inline !important; float: none !important; font-family: inherit; font-size: inherit !important; padding-bottom: 1px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static; width: auto !important;&quot;&gt;testing&lt;/span&gt;&lt;/span&gt;&amp;nbsp;by pressing F5 function key.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcHyEhO0moMMMXddzj_JTharlZu1BbQu_SM7yU-c9Lv-_wVw89Qew5sjU_wwhLpt3HaMP9CQCQb9pwGiGg9nu6Ce98v72mNO0_a_bZnoFF5AV2ZRE54bXfs4FwsRkVTtr-GIFOurxcXL5e/s1600-h/WS2.bmp&quot; style=&quot;color: teal;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5113176650227473330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcHyEhO0moMMMXddzj_JTharlZu1BbQu_SM7yU-c9Lv-_wVw89Qew5sjU_wwhLpt3HaMP9CQCQb9pwGiGg9nu6Ce98v72mNO0_a_bZnoFF5AV2ZRE54bXfs4FwsRkVTtr-GIFOurxcXL5e/s400/WS2.bmp&quot; style=&quot;border-bottom-color: rgb(192, 192, 192); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(192, 192, 192); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; border-width: initial; cursor: pointer; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfLa0cwB3BktP67PlyFr6Fqtm_Exw8VJxVe7cIAr8cK6X0SFSwWv5LQOZpe9xqPF7OHNyoZd-MmnjDwn0Z8ri4FCCIMNCMC7t-uhhL_PAmGqGJO4rGEg7Cnifb1S_XJMPS7jroa7mkdsAA/s1600-h/WS3.bmp&quot; style=&quot;color: teal;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5113177251522894786&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfLa0cwB3BktP67PlyFr6Fqtm_Exw8VJxVe7cIAr8cK6X0SFSwWv5LQOZpe9xqPF7OHNyoZd-MmnjDwn0Z8ri4FCCIMNCMC7t-uhhL_PAmGqGJO4rGEg7Cnifb1S_XJMPS7jroa7mkdsAA/s400/WS3.bmp&quot; style=&quot;border-bottom-color: rgb(192, 192, 192); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(192, 192, 192); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; border-width: initial; cursor: pointer; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
By pressing &quot;Invoke&quot; button will generate XML File.&lt;br /&gt;
&lt;br /&gt;
So you are done creating web service application.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Example of Testing Web Service in .Net&lt;/span&gt;This Web Service will display the information which had been retrieved from Remote computer by accessing public method &quot;GetCustomerCountryWise&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Step1:&lt;/span&gt;&amp;nbsp;Create a Test Web Site by File &amp;gt; New &amp;gt; Web Site &amp;gt; Asp.net Web Site&lt;br /&gt;
Named the web site, for example here i have choosen name &quot;TestGetCustomerCountryWise&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Step2:&lt;/span&gt;&amp;nbsp;Displaying data in gridview, so drag the gridview on to the form.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Step3:&lt;/span&gt;&amp;nbsp;Right Click Solution Explorer and Choose &quot;Add Web Reference&quot;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzV597m_dsLABPTF7J0UHBKXaHz5YvOTlNFVqTVrkAMxB7ZGqUcCz9HsZdtQvuXmN2SKmKOmeIWHCMRJ8ETbABwr1GGYz0iHuZYl2Fy1wWnraf7UXR_yW40see1Hn0MzrAC96LuqAd7n9g/s1600-h/WS4.bmp&quot; style=&quot;color: teal;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5113180678906797010&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzV597m_dsLABPTF7J0UHBKXaHz5YvOTlNFVqTVrkAMxB7ZGqUcCz9HsZdtQvuXmN2SKmKOmeIWHCMRJ8ETbABwr1GGYz0iHuZYl2Fy1wWnraf7UXR_yW40see1Hn0MzrAC96LuqAd7n9g/s400/WS4.bmp&quot; style=&quot;border-bottom-color: rgb(192, 192, 192); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(192, 192, 192); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; border-width: initial; cursor: pointer; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Step4:&amp;nbsp;&lt;/span&gt;Choose the option Web Service on the local machine or you can enter the .WSDL File address directly in URL space and press Go button.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzCMN4Te4bK_AbAOXgkCGUzsAGVmBXsH0VIIQNse9PXQv_TQ5gfM0iVNMSL6JDrr0bXwrxe72fz8AK5gB65AGssp5QdHdloHID3FiPoM3J_Zp1SOIzl5-xSZem3_dYoNGv0tMrFttPGoDc/s1600-h/WS5.JPG&quot; style=&quot;color: teal;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5113181671044242402&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzCMN4Te4bK_AbAOXgkCGUzsAGVmBXsH0VIIQNse9PXQv_TQ5gfM0iVNMSL6JDrr0bXwrxe72fz8AK5gB65AGssp5QdHdloHID3FiPoM3J_Zp1SOIzl5-xSZem3_dYoNGv0tMrFttPGoDc/s400/WS5.JPG&quot; style=&quot;border-bottom-color: rgb(192, 192, 192); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(192, 192, 192); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; border-width: initial; cursor: pointer; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Step5:&lt;/span&gt;&amp;nbsp;Press &quot;Add Reference button&quot;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuKSvZM9pN4DaRp-w7nTZuBxKguW7nTRM96bdCw1JjRr7DKjCRCdPPZG1ygNYeakILGgyeBuKfrR6oesqyI0GuE95ayO9cY_Qs0KVP13i9Qq3OUiRkHurG7p840X1g6K79WWRlUQnE0OeI/s1600-h/WS6.JPG&quot; style=&quot;color: teal;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5113182401188682738&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuKSvZM9pN4DaRp-w7nTZuBxKguW7nTRM96bdCw1JjRr7DKjCRCdPPZG1ygNYeakILGgyeBuKfrR6oesqyI0GuE95ayO9cY_Qs0KVP13i9Qq3OUiRkHurG7p840X1g6K79WWRlUQnE0OeI/s400/WS6.JPG&quot; style=&quot;border-bottom-color: rgb(192, 192, 192); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(192, 192, 192); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; border-width: initial; cursor: pointer; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Step6:&lt;/span&gt;&amp;nbsp;Writing Code for Displaying data in GridView&lt;br /&gt;
Here note: I have Pass &quot;USA&quot; as parameter in Country Field.&lt;br /&gt;
&lt;br /&gt;
protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;
{&lt;br /&gt;
if (!Page.IsPostBack)&lt;br /&gt;
{&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;//Create object of WSGetCustomerCountryWise Object&lt;/span&gt;&lt;br /&gt;
localhost.WSGetCustomerCountryWise objGetCustomerCountryWise&lt;br /&gt;
= new localhost.WSGetCustomerCountryWise();&lt;br /&gt;
&lt;br /&gt;
DataSet dsCustomer = new DataSet();&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;// Get the data from Webservice.&lt;/span&gt;&lt;br /&gt;
XmlElement elem = objGetCustomerCountryWise.GetCustomerCountryWise(&lt;span style=&quot;font-weight: bold;&quot;&gt;&quot;USA&quot;&lt;/span&gt;);&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;// Load the XML to the Typed DataSet that you want.&lt;/span&gt;&lt;br /&gt;
XmlNodeReader nodeReader = new XmlNodeReader(elem);&lt;br /&gt;
dsCustomer.ReadXml(nodeReader, XmlReadMode.Auto);&lt;br /&gt;
&lt;br /&gt;
GridView1.DataSource = dsCustomer;&lt;br /&gt;
&lt;br /&gt;
GridView1.DataBind();&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Step7:&lt;/span&gt;&amp;nbsp;Output as data displayed in GridView.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi3-Faw7A1dKbEew9b1YBQfKZBVhS4ifFzHc-Qlcc1Di3ewodKr1jdFaDxs1YDBycgQgxg8JE4oCjXwqKNdtLXVX6F3NoOAhkZGrKrvTMqYG4hcHi_2XVyAogk1LASjDJDPSTyT_dfV8TE/s1600-h/WS7.JPG&quot; style=&quot;color: teal;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5113188010415971330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi3-Faw7A1dKbEew9b1YBQfKZBVhS4ifFzHc-Qlcc1Di3ewodKr1jdFaDxs1YDBycgQgxg8JE4oCjXwqKNdtLXVX6F3NoOAhkZGrKrvTMqYG4hcHi_2XVyAogk1LASjDJDPSTyT_dfV8TE/s400/WS7.JPG&quot; style=&quot;border-bottom-color: rgb(192, 192, 192); border-bottom-style: solid; border-bottom-width: 1px; border-color: initial; border-image: initial; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 1px; border-right-color: rgb(192, 192, 192); border-right-style: solid; border-right-width: 1px; border-top-color: rgb(221, 221, 221); border-top-style: solid; border-top-width: 1px; border-width: initial; cursor: pointer; padding-bottom: 6px; padding-left: 6px; padding-right: 6px; padding-top: 6px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;Few Facts about Web Service in .Net&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; list-style-type: none; margin-left: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Each Response from web service is a new object, with a new state.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Web Service are asynchronous because the request object from the client application and the response object from the web service are unique SOAP envelopes that do not require shared connection.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;This allow client application and the web service to continue processing while the interaction is ongoing.&lt;/li&gt;
&lt;li style=&quot;background-attachment: initial; background-clip: initial; background-color: initial; background-image: url(http://www.blogblog.com/tictac/tictac_orange.gif); background-origin: initial; background-position: 0px 6px; background-repeat: no-repeat no-repeat; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 3px; padding-left: 14px;&quot;&gt;Instead of a user interface, it provides a standard defined interface called a contract.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/8703331290281738293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/what-is-web-service-history-of-web.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/8703331290281738293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/8703331290281738293'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/what-is-web-service-history-of-web.html' title='What is Web Service? || History of Web Service or How Web Service comes into existence? || Example of Web Service || Terms which are frequently used with web services || Example of Creating Web Service in .Net'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhihm4Hbg0XvtPJsZdNCB2gyLHo6bLWHuFQOF1R289RPWZPuewovjV4sl8s8Ujxp4-Y-iPGoYSdVwfuhc-FheBmPAZN0k3wRAZ-KRSEMYhQ8ytyWa6sQsl5WxHHfWQaLgSshDvubp2rrxeK/s72-c/WS1.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-6527987370663551082</id><published>2012-04-11T03:17:00.000-07:00</published><updated>2012-04-22T20:56:33.025-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Interesting"/><title type='text'>Chat with your friends using Google Talk || Google chat || Connecting people through Google Talk</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hi Friends ,i am very happy to announce that i put Google
Talk in the my blog. Check it once and chat with your friends .&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&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;If you don’t find the Google chat in my blog. See the tabs
see the last one or press CTRL+ F and type &lt;b&gt;Google Chat&lt;/b&gt; and press &lt;b&gt;Enter &lt;/b&gt;then you
can find the &lt;b&gt;Google Chat&lt;/b&gt; Tab where i put this. Happy Chatting and keep reading
my blog.If you want to any more suggestions to me then please contact me through&amp;nbsp;putting&amp;nbsp; the comments.
&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/6527987370663551082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/chat-with-google-talk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/6527987370663551082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/6527987370663551082'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/chat-with-google-talk.html' title='Chat with your friends using Google Talk || Google chat || Connecting people through Google Talk'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-6997990749785119343</id><published>2012-04-05T03:31:00.002-07:00</published><updated>2012-06-26T01:41:44.307-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><title type='text'>Difference between cookies and session in ASP.NET || Cookie in ASP.NET || Session in ASP.NET</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;State Management in APS.NET is managed by two ways:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Client-Side or Server-Side&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Client-Side:Cookies,HiddenFields,ViewState and Query&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Strings.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Serve-Side:Application,Session and Database.&lt;/span&gt;&lt;/div&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;COOKIE:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;A cookie is a small amount of data
stored either in a text&amp;nbsp;file on the client&#39;s file system or in-memory in
the client&amp;nbsp;browser session. Cookies are mainly used for tracking
data&amp;nbsp;settings. Let’s take an example: say we want to customize
a&amp;nbsp;welcome web page, when the user request the default web&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;page, the application first to detect
if the user has&amp;nbsp;logined before, we can retrieve the user informatin
from&amp;nbsp;cookies:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;[c#]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt;
(Request.Cookies[&lt;span style=&quot;color: maroon;&quot;&gt;“username”&lt;/span&gt;]!=null)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;lbMessage.text=&lt;span style=&quot;color: maroon;&quot;&gt;”Dear “&lt;/span&gt;+Request.Cookies[&lt;span style=&quot;color: maroon;&quot;&gt;“username”&lt;/span&gt;].Value+&lt;span style=&quot;color: maroon;&quot;&gt;”,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Welcome shopping here!&lt;span style=&quot;color: maroon;&quot;&gt;”;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;lbMessage.text=&lt;span style=&quot;color: maroon;&quot;&gt;”Welcome shopping here!”&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;If you want to store client’s
information, you can use the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;following code:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;[c#]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Response.Cookies[&lt;span style=&quot;color: maroon;&quot;&gt;“username’].Value=username;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;So next time when the user request the
web page, you can&amp;nbsp;easily recongnize the user again.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;SESSION:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Session object can be used for storing
session-specific&amp;nbsp;information that needs to be maintained between
server&amp;nbsp;round trips and between requests for pages. Session object&amp;nbsp;is
per-client basis, which means different clients generate&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;different session object.The ideal data
to store in session-state variables is short-lived, sensitive data that
is&amp;nbsp;specific to an individual session.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Each active ASP.NET session is
identified and tracked using&amp;nbsp;a 120-bit SessionID string containing
URL-legal ASCII&amp;nbsp;characters. SessionID values are generated using
an&amp;nbsp;algorithm that guarantees uniqueness so that sessions do&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;not collide, and SessionID’s randomness
makes it harder to&amp;nbsp;guess the session ID of an existing
session.&amp;nbsp;SessionIDs are communicated across client-server
requests&amp;nbsp;either by an HTTP cookie or a modified URL, depending on&amp;nbsp;how
you set the application&#39;s configuration settings.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Every web application must have a
configuration file named&amp;nbsp;web.config, it is a XML-Based file, there is a
section&amp;nbsp;name ‘sessionState’, the following is an example:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;lt;sessionState mode=&lt;span style=&quot;color: maroon;&quot;&gt;&quot;InProc&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stateConnectionString = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;tcpip=127.0.0.1:42424&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqlConnectionString = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;data source=127.0.0.1;user&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;id=sa;password=&lt;span style=&quot;color: maroon;&quot;&gt;&quot; cookieless=&quot;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;&quot; timeout=&quot;&lt;/span&gt;20&lt;span style=&quot;color: maroon;&quot;&gt;&quot; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;‘cookieless’ option can be ‘true’ or
‘false’. When it&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;is ‘false’(default value), ASP.NET will
use HTTP cookie to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;identify users. When it is ‘true’,
ASP.NET will randomly&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;generate a unique number and put it
just right ahead of the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;requested file, this number is used to
identify users&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;[c#]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&amp;nbsp; //&lt;span style=&quot;color: blue;&quot;&gt;to&lt;/span&gt; store
information&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Session[&lt;span style=&quot;color: maroon;&quot;&gt;“myname”&lt;/span&gt;]=&lt;span style=&quot;color: maroon;&quot;&gt;”Mike”&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;//&lt;span style=&quot;color: blue;&quot;&gt;to&lt;/span&gt;
retrieve information&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;myname=Session[&lt;span style=&quot;color: maroon;&quot;&gt;“myname”&lt;/span&gt;];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;this is briefly about cookies and
sessions in ASP.NET&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;The main difference between cookies and sessions is
that cookies are stored in the user&#39;s browser, and sessions are not. This
difference determines what each is best used for.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;A cookie can keep information in the user&#39;s browser
until deleted. If a person has a login and password, this can be set as a
cookie in their browser so they do not have to re-login to your website every
time they visit. You can store almost anything in a browser cookie&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Sessions are not reliant on the user allowing a
cookie. They work instead like a token allowing access and passing information
while the user has their browser open. The problem with sessions is that when
you close your browser you also lose the session. So, if you had a site
requiring a login, this couldn&#39;t be saved as a session like it could as a
cookie, and the user would be forced to re-login every time they visit.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;A&amp;nbsp;cookie&amp;nbsp;can
keep information in the user&#39;s browser until deleted. If a person has a login
and password, this can be set as a cookie in their browser so they do not have
to re-login to your website every time they visit. You can store almost
anything in a browser cookie.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The
trouble is that a user can block cookies or delete them at any time. If, for
example, your websites shopping cart utilized cookies, and a person had their
browser set to block them, then they could not shop at your website.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt; text-indent: -18pt;&quot;&gt;
&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Sessions
are not reliant on the user allowing a cookie. They work instead like a token
allowing access and passing information while the user has their browser open.
The problem with sessions is that when you close your browser you also lose the
session. So, if you had a site requiring a login, this couldn&#39;t be saved as a
session like it could as a cookie, and the user would be forced to re-login
every time they visit.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/6997990749785119343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/difference-between-cookies-and-session.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/6997990749785119343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/6997990749785119343'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/difference-between-cookies-and-session.html' title='Difference between cookies and session in ASP.NET || Cookie in ASP.NET || Session in ASP.NET'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-6456450214616176316</id><published>2012-04-04T22:37:00.000-07:00</published><updated>2012-04-17T00:02:20.974-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio Shortcut Keys"/><title type='text'>Shortcut Keys for Visual Studio || ShortCut KEYS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;1&quot; class=&quot;MsoNormalTable&quot; style=&quot;background: #999999; mso-cellspacing: .7pt; mso-yfti-tbllook: 1184; width: 100.0%;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 41.1pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;background: beige; height: 41.1pt; padding: .75pt .75pt .75pt .75pt; width: 24.88%;&quot; valign=&quot;top&quot; width=&quot;24%&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shortcut Key&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background: beige; height: 41.1pt; padding: .75pt .75pt .75pt .75pt; width: 74.66%;&quot; valign=&quot;top&quot; width=&quot;74%&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&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;
  Description&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl+Shift+B&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Builds the solution&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-X&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;or&lt;br /&gt;
  Shift-Delete&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Cuts the
  currently selected item.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-C&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;or&lt;br /&gt;
  Ctrl-Insert&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Copies the
  currently selected item&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-V&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;or&lt;br /&gt;
  Shift-Insert&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Pastes the item w&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-Z&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;or&lt;br /&gt;
  Alt-Backspace&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Undo previous
  editing action&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-Y&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;or&lt;br /&gt;
  Ctrl-Shift-Z&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Redo the
  previous undo action&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-Shift-V or&lt;br /&gt;
  Ctrl-Shift-Insert&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Pastes an item
  from the clipboard ring tab of the Toolbox at the cursor in the file and
  automatically selects the pasted item. Cycle through the items on the
  clipboard by pressing the shortcut keys repeatedly&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Esc&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Closes a menu or
  dialog, cancels an operation in progress, or places focus in the current
  document window&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-S&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Saves the
  selected files in the current project (usually the file that is being edited)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-Shift-S&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Saves all
  documents and projects&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-P&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Displays the
  Print dialog&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;F7&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Switches from
  the design view to the code view in the editor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Shift-F7&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Switches from
  the code view to the design view in the editor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;F8&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Moves the cursor
  to the next item, for example in the TaskList window or Find Results window&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Shift-F8&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Moves the cursor
  to the previous item, for example in the TaskList window or Find Results
  window&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Shift-F12&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Finds a
  reference to the selected item or the item under the cursor&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-Shift-G&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Opens the file
  whose name is under the cursor or is currently selected&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-/&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Switches focus
  to the Find/Command box on the Standard toolbar&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-Shift-F12&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Moves to the
  next task in the TaskList window&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-Shift-8&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Moves backward
  in the browse history. Available in the object browser or Class View window&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Alt-Left Arrow&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Go back in the
  web browser history&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Alt-Right Arrow&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10pt;&quot;&gt;Go forward in
  the web browser history&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 12.1pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 8.5pt;&quot;&gt;Object
browser&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;1&quot; class=&quot;MsoNormalTable&quot; style=&quot;background: #999999; mso-cellspacing: .7pt; mso-yfti-tbllook: 1184; width: 100.0%;&quot;&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: beige; padding: .75pt .75pt .75pt .75pt; width: 25.0%;&quot; width=&quot;25%&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Shortcut key&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: beige; padding: .75pt .75pt .75pt .75pt; width: 75.0%;&quot; width=&quot;75%&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Description&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Alt-F12&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Displays the Find Symbol dialog&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-F12&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Displays the declaration of the selected symbol
  in the code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;F12&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Displays the definition for the selected symbol
  in code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-Alt-F12&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Displays the Find Symbol Results window&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Ctrl-Alt-J&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Displays the Object Browser to view the classes,
  properties, methods, events, and constants defined either in your project or
  by components and type libraries referenced by your project&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Alt-+&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Moves back to the previously selected object in
  the selection history of the object browser&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Shift-Alt-+&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;background: white; padding: .75pt .75pt .75pt .75pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 19.2pt; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Arial, sans-serif; font-size: 10pt;&quot;&gt;Moves forward to the next object in the selection
  history of the object browser&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;See more shortcut keys in&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;http://www.dofactory.com/ShortCutKeys/ShortCutKeys.aspx&quot;&gt;http://www.dofactory.com/ShortCutKeys/ShortCutKeys.aspx&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/6456450214616176316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/shortcut-keys-for-visual-studio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/6456450214616176316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/6456450214616176316'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/04/shortcut-keys-for-visual-studio.html' title='Shortcut Keys for Visual Studio || ShortCut KEYS'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-8854535917723285553</id><published>2012-03-06T23:01:00.002-08:00</published><updated>2012-04-17T00:03:02.421-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><title type='text'>Difference Between DLL and EXE in .NET || Dynamic Link Library in .NET || .EXE in .NET</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;a) In shortcut .exe is an executable file &amp;amp; DLL (Dynamic
Link Library) is not an executable file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;b) DLL is an in-process server while exe is a out-process
server it means DLL works within the thread of application, while exe works
after creating its own thread.&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;c) If DLL fails the application became fail if exe fails DLL
doesn&#39;t fail because it&#39;s not work within the thread of application but the
part of the exe could not work properly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;d) An EXE is visible to the system as a regular Win32
executable. Its entry point refers to a small loader, which initializes the
.NET runtime and tells it to load and execute the assembly contained in the
EXE. A DLL is visible to the system as a Win32 DLL but most likely without any
entry points. The .NET runtime stores information about the contained assembly
in its own header.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #c00000;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;DLL:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1) It has versioning&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2) It is not self executable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3) It runs in application process memory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4) It has no entry point&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;5) It is reusable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;6) Out Process Server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;color: #c00000;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Exe:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1) It is self executable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2) it has no versioning&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3) It runs in own memory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4) It has main function (Entry point)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;5) It is self executable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;6) In Process Server&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/8854535917723285553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/03/difference-between-dll-and-exe-in-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/8854535917723285553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/8854535917723285553'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/03/difference-between-dll-and-exe-in-net.html' title='Difference Between DLL and EXE in .NET || Dynamic Link Library in .NET || .EXE in .NET'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-3717767141934881988</id><published>2012-03-06T19:27:00.002-08:00</published><updated>2012-04-17T00:04:14.252-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="C#"/><category scheme="http://www.blogger.com/atom/ns#" term="VB.NET"/><title type='text'>URL Rewriting in .Net || How URL Rewriting works || HTTP Module in .NET || installing the HTTP Module</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #c00000; font-family: Verdana, sans-serif;&quot;&gt;What is URL Rewriting?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 17.25pt; margin-bottom: 18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10.5pt;&quot;&gt;Most dynamic sites include variables in their URLs that tell the site
what information to show the user. Typically, this gives URLs like the
following, telling the relevant script on a site to load product number 7.&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10.5pt;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: #c00000; font-family: Verdana, sans-serif; font-size: 12pt;&quot;&gt;http://www.roja-dotnet.com/show_a_product.aspx?product_id=7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 17.25pt; margin-bottom: 18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 10.5pt;&quot;&gt;The problems with this kind of URL structure are that the URL is not at
all memorable. It&#39;s difficult to read out over the phone (you&#39;d be surprised
how many people pass URLs this way). Search engines and users alike get no
useful information about the content of a page from that URL. You can&#39;t tell
from that URL that that page allows you to buy a Norwegian Blue Parrot (lovely
plumage). It&#39;s a fairly standard URL - the sort you&#39;d get by default from most
CMSes. Compare that to this URL:&lt;span style=&quot;color: #444444;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #c00000; font-size: 12pt;&quot;&gt;http://www.roja-dotnet.com/products/7/&lt;/span&gt;&lt;span style=&quot;color: #c00000; font-size: 12pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;For those who are unsure URL rewriting is the practice of
providing virtual URLs to hide or mask their real physical equivalent. This can
be done for SEO, security or aesthetic reasons but overall is a nice addition
to any website making &amp;nbsp;urls attractive
and readable (e.g
&quot;http://www.example.com/content.aspx?id=0125475&amp;amp;cont=twet&quot;
becomes &quot;http://www.example.com/articles/example-article&quot;).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #c00000; font-family: Verdana, sans-serif;&quot;&gt;How it Works&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;It works by having a &lt;span style=&quot;color: #c00000;&quot;&gt;HTTP module&lt;/span&gt;
which is called every time the web application receives a HTTP request and
transfers the server path to one designated in the code. It takes very little
time to install and is very easy to customise. It is initially set up to just
match requested virtual URLs in a switch case and transfer them the
corresponding physical URL. This way of working is highly manual but it could
easily be switched to work using URLs pulled from a database or text file
depending on the content you are serving.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #c00000; font-family: Verdana, sans-serif;&quot;&gt;The HTTP Module&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The HTTP module is just a class which inherits &lt;span style=&quot;color: #c00000;&quot;&gt;IHttpModule&lt;/span&gt; from the &lt;span style=&quot;color: #c00000;&quot;&gt;System.Web&lt;/span&gt;
library. Create a class in your &lt;span style=&quot;color: #c00000;&quot;&gt;App_Code&lt;/span&gt;
directory called &quot;&lt;span style=&quot;color: #c00000;&quot;&gt;URLRewriter.cs&lt;/span&gt;&quot;
or &quot;&lt;span style=&quot;color: #c00000;&quot;&gt;URLRewriter.vb&lt;/span&gt;&quot; and put in the
following code (depending on which language you are using).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #c00000; font-family: Verdana, sans-serif;&quot;&gt;C#.NET&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt; System; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt;&quot;&gt;using&lt;/span&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt;
System.Web; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;class&lt;/span&gt; URLRewriter : IHttpModule &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;{ &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; void
Init(HttpApplication inst) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp; { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inst.BeginRequest += &lt;span style=&quot;color: blue;&quot;&gt;new&lt;/span&gt; EventHandler(OnBeginRequest); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp; } &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; void
OnBeginRequest(&lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt; s, EventArgs e) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp; { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpApplication inst = s &lt;span style=&quot;color: blue;&quot;&gt;as&lt;/span&gt; HttpApplication; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt;
req_path = inst.Context.Request.Path; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;string&lt;/span&gt;
trans_path = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&quot;&lt;/span&gt;; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch (req_path.ToLower()) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;/virtual/path/to/page1&quot;&lt;/span&gt;: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans_path = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;/physical/path/to/page.aspx?page=1&quot;&lt;/span&gt;; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;case&lt;/span&gt; &lt;span style=&quot;color: maroon;&quot;&gt;&quot;/virtual/path/to/page2&quot;&lt;/span&gt;: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans_path = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;/physical/path/to/page.aspx?page=2&quot;&lt;/span&gt;; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;default&lt;/span&gt;:
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; trans_path = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;/&quot;&lt;/span&gt;; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inst.Context.Server.Transfer(trans_path);
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp; } &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;public&lt;/span&gt; void
Dispose() { } &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #c00000; font-family: Verdana, sans-serif;&quot;&gt;Visual Basic.NET&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt;&quot;&gt;Imports&lt;/span&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt;
Microsoft.VisualBasic&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt;&quot;&gt;Imports&lt;/span&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt; System&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt;&quot;&gt;Imports&lt;/span&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt; System.Web&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt;&quot;&gt;Public&lt;/span&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;Class&lt;/span&gt; URLRewriter&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Implements&lt;/span&gt;
IHttpModule&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; Init(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; inst &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; System.Web.HttpApplication) &lt;span style=&quot;color: blue;&quot;&gt;Implements&lt;/span&gt; System.Web.IHttpModule.Init&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;AddHandler&lt;/span&gt;
inst.BeginRequest, &lt;span style=&quot;color: blue;&quot;&gt;AddressOf&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Me&lt;/span&gt;.OnBeginRequest&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; OnBeginRequest(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;
app &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;, &lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; EventArgs)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
inst &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; HttpApplication = &lt;span style=&quot;color: blue;&quot;&gt;CType&lt;/span&gt;(app, HttpApplication)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
req_path &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;
= inst.Context.Request.Path&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
trans_path &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt;
= &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Select&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Case&lt;/span&gt; req_path.ToLower()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&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 style=&quot;color: blue;&quot;&gt;Case&lt;/span&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;&quot;/virtual/path/to/page1&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&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; trans_path = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;/physical/path/to/page.aspx?page=1&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&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 style=&quot;color: blue;&quot;&gt;Case&lt;/span&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;&quot;/virtual/path/to/page2&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&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; trans_path = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;/physical/path/to/page.aspx?page=2&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&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 style=&quot;color: blue;&quot;&gt;Case&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&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; trans_path = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;/&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Select&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; inst.Context.Server.Transfer(trans_path)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Public&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; Dispose() &lt;span style=&quot;color: blue;&quot;&gt;Implements&lt;/span&gt;
System.Web.IHttpModule.Dispose&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt;&quot;&gt;End&lt;/span&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;Class&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The above class named &lt;span style=&quot;color: #c00000;&quot;&gt;URLRewriter&lt;/span&gt;
will handle all HTTP requests made to the web application so edit the switch
case in the &lt;span style=&quot;color: #c00000;&quot;&gt;OnBeginRequest&lt;/span&gt; method to meet
the requirements of your own site.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #c00000; font-family: Verdana, sans-serif;&quot;&gt;Installing the HTTP Module&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Now the HTTP module is in place it’s time to configure your
web application to call it when it receives HTTP requests. This is done by
adding a line to the &lt;span style=&quot;color: #c00000;&quot;&gt;web.config&lt;/span&gt;. Insert the
line within the &lt;span style=&quot;color: #c00000;&quot;&gt;httpModules&lt;/span&gt; node which can
be found inside the system.web node.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;lt;system.web&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;lt;httpModules&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;add name=&lt;span style=&quot;color: maroon;&quot;&gt;&quot;URLRewriter&quot;&lt;/span&gt;
type=&lt;span style=&quot;color: maroon;&quot;&gt;&quot;URLRewriter&quot;&lt;/span&gt;/&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/httpModules&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: 13pt;&quot;&gt;&amp;lt;/system.web&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;With that setting added to the &lt;b&gt;&lt;span style=&quot;color: #c00000;&quot;&gt;web.config&lt;/span&gt;&lt;/b&gt; it should now be up
and running. Fire up the server and give it a go, if there are any compilation
problems &amp;nbsp;its a good chance you&#39;ve missed
something so check it all over.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/3717767141934881988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/03/url-rewriting-in-net.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/3717767141934881988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/3717767141934881988'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/03/url-rewriting-in-net.html' title='URL Rewriting in .Net || How URL Rewriting works || HTTP Module in .NET || installing the HTTP Module'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-8744173204063431884</id><published>2012-03-04T19:43:00.001-08:00</published><updated>2012-07-06T03:51:25.324-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Authentication"/><title type='text'>Windows Authentication to Access SQL Server Through a ASP.NET Web Application || Configuring SQL Server || Configuring IIS: || Configuring the ASP.NET Web Application || Creating Connection Strings</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 13.5pt;&quot;&gt;We
need to configure the following four different areas to access Windows
integrated security:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 24.0pt; margin-right: 12.0pt; margin-top: 0cm; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1.&lt;span style=&quot;line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;SQL
Server&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 24.0pt; margin-right: 12.0pt; margin-top: 0cm; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2.&lt;span style=&quot;line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;IIS
Web Server&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 24.0pt; margin-right: 12.0pt; margin-top: 0cm; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3.&lt;span style=&quot;line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;ASP.Net
web application&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 24.0pt; margin-right: 12.0pt; margin-top: 0cm; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4.&lt;span style=&quot;line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;ConnectionString&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 24.0pt; margin-right: 12.0pt; margin-top: 0cm; mso-list: l1 level1 lfo1; tab-stops: list 36.0pt; text-indent: -18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 13.5pt; margin-bottom: 18.0pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;SQL
Server be running on same IIS machine. If both are on different machines, we
should go for analternative security model such as Forms authentication, which
is not covered in this article. The access users must be in the same domain
where the Web server is running.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;If you want know about below then click on the below link.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; mso-outline-level: 3;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: white; color: #c00000;&quot;&gt;Configuring SQL Server&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 13.5pt; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: #c00000;&quot;&gt;Configuring IIS:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 13.5pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: #c00000;&quot;&gt;Configuring the ASP.NET Web Application&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, sans-serif; line-height: 13.5pt;&quot;&gt;&lt;span style=&quot;background-color: white; color: #c00000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 13.5pt; margin-bottom: 18.0pt;&quot;&gt;
&lt;a href=&quot;http://aspdotnet-roja.blogspot.in/2012/07/windows-authentication-to-access-sql.html&quot; style=&quot;background-color: white; line-height: 13.5pt;&quot;&gt;http://aspdotnet-roja.blogspot.in/2012/07/windows-authentication-to-access-sql.html&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/8744173204063431884/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/03/windows-authentication-to-access-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/8744173204063431884'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/8744173204063431884'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/03/windows-authentication-to-access-sql.html' title='Windows Authentication to Access SQL Server Through a ASP.NET Web Application || Configuring SQL Server || Configuring IIS: || Configuring the ASP.NET Web Application || Creating Connection Strings'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-5984879449053228197</id><published>2012-03-01T04:06:00.001-08:00</published><updated>2012-04-17T00:05:35.067-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><title type='text'>How do you apply Themes to an entire application? || To apply a theme to a Web site in .NET</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #c00000;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;To
apply a theme to a Web site&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ol start=&quot;1&quot; type=&quot;1&quot;&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;In the application&#39;s Web.config file, set the&amp;nbsp;&lt;span style=&quot;color: #960bb4;&quot;&gt;&amp;lt;pages&amp;gt;&lt;/span&gt;&amp;nbsp;element to the
     name of the theme, either a global theme or a page theme, as shown in the
     following example:&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Eg:
&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;configuration&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;system.web&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;pages&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;theme&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=”BlueMoon”&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;system.web&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;configuration&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2. To set a theme as a style sheet theme and be
subordinated to local control settings), set the&amp;nbsp;&lt;b&gt;&lt;span style=&quot;color: magenta;&quot;&gt;styleSheetTheme&lt;/span&gt;&lt;/b&gt;&amp;nbsp;attribute
instead:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;configuration&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;system.web&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;pages&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;styleSheetTheme&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;Themename&quot;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;system.web&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;configuration&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 9pt; word-break: break-all;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3.The
following examples show you how you can define a theme named
&quot;SmokeAndGlass&quot; in your application by different methods:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: yellow; background-image: initial; background-origin: initial; line-height: 115%;&quot;&gt;&amp;lt;%&lt;/span&gt;&lt;span style=&quot;color: blue; line-height: 115%;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt; &lt;span style=&quot;color: maroon;&quot;&gt;Page&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;Theme&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;SmokeAndGlass&quot;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;Language&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;C#&quot;&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: yellow; background-image: initial; background-origin: initial;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: yellow; background-image: initial; background-origin: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4.Themes can
be set programmatically under the Page_PreInit event handler. It is necessary
to define them in this event handler as all the looks are applied to the server
controls defined in a particular theme before the page loads. Here is how you
can set themes programmatically:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Protected&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; Page_PreInit(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;, &lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; System.EventArgs) &lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Me&lt;/span&gt;.PreInit&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Page.Theme = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;SmokeAndGlass&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif; font-size: small; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif; line-height: 115%;&quot;&gt;End&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 115%;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: Verdana, sans-serif; line-height: 115%;&quot;&gt;Sub&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/5984879449053228197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/03/how-do-you-apply-themes-to-entire.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/5984879449053228197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/5984879449053228197'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/03/how-do-you-apply-themes-to-entire.html' title='How do you apply Themes to an entire application? || To apply a theme to a Web site in .NET'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-4494158460588220466</id><published>2012-02-29T21:58:00.002-08:00</published><updated>2012-04-17T00:05:51.632-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><title type='text'>Improve Perfomance in ASP.net and make it fast your Page.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;h3 style=&quot;font-size: 0.95em; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px; padding-bottom: 5px; padding-left: 0px; padding-right: 0px; padding-top: 5px; text-align: -webkit-auto;&quot;&gt;






&lt;span style=&quot;color: #990000; font-family: Verdana, sans-serif;&quot;&gt;While developing any web site, we should keep some points in our mind.&lt;/span&gt;&lt;/h3&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1) Set debug=false under compilation as follows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;compilation default Language=&quot;c#&quot;
debug=&quot;false&quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2) Use Server.Transfer instead of Response.Redirect.&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;3) Always check Page.IsValid when using Validator Controls&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;4) Use Foreach loop instead of For loop for String
Iteration.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;5) Use Client-Side Validation. (but not all the time you
have to validate even on the server side)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;6) Check “Page.IsPostBack”. To avoid repetition code
execution.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;7) GIF and PNG are similar, but PNG typically produces a
lower file size. (True, but some browsers not supporting PNG format)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;8) Use the AppOffline.htm when updating binaries&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;9) Turn off Tracing unless until required. (by default it&#39;s
off, use on the pages where it&#39;s required)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;lt;trace enabled=&quot;false&quot;
requestLimit=&quot;10&quot; pageOutput=&quot;false&quot; traceMode=&quot;SortByTime&quot;
localOnly=&quot;true&quot;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Calibri, sans-serif; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;ASP.NET
Page is very slow. What will you do to make it fast&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1. Find out which is slow, is it the application or the
database : If the page is executing SQL queries or stored procedures, run those
on the database and check how long do they take to run. If the queries are
taking most of the time, then you know you have to tune the queries for better
performance. To tune the queries, there are several ways and I have listed some
of them below.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; a) Check if there
are indexes to help the query&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; b) Select only the
required columns, avoid &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #c00000;&quot;&gt;Select *&lt;/span&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; c) Check if there
is a possibility to reduce the number of joins&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; d) If possible use &lt;span style=&quot;color: #c00000;&quot;&gt;NO LOCK&lt;/span&gt; on your select statements&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; e) Check if there
are cursors and if you can replace them with joins&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;2. If the queries are running fast, then we know it is the
application code that is causing the slowness. Isolate the page event that is
causing the issue by turning tracing on. To turn tracing on, set &lt;span style=&quot;color: #c00000;&quot;&gt;Trace=&quot;true&quot;&lt;/span&gt; in the page directive. Once
you have tracing turned on you should see trace information at the bottom of
the page as shown in the image below. In this case Page Load event is taking
the maximum time. So we know, the code in &lt;span style=&quot;color: #c00000;&quot;&gt;Page_Load&lt;/span&gt;
event is causing the issue. Once you look at the code, you should be able to
nail down the issue.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN-O2iRRcFWuDvJ4FkXCq-rUrHxBS1yk4ddyMw3fCwnW7hVSSisexrhAfgRhLMDashdrepOupE_uzWPFE8A0exNqQW5i3CaTy42KW_Nk-2MzfGoPnX_J6ZG33myJr4kwaGx3UZTIrYLcYc/s1600/trace.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;204&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN-O2iRRcFWuDvJ4FkXCq-rUrHxBS1yk4ddyMw3fCwnW7hVSSisexrhAfgRhLMDashdrepOupE_uzWPFE8A0exNqQW5i3CaTy42KW_Nk-2MzfGoPnX_J6ZG33myJr4kwaGx3UZTIrYLcYc/s320/trace.png&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;

&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/4494158460588220466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/02/while-developing-any-web-site-we-should.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/4494158460588220466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/4494158460588220466'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/02/while-developing-any-web-site-we-should.html' title='Improve Perfomance in ASP.net and make it fast your Page.'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN-O2iRRcFWuDvJ4FkXCq-rUrHxBS1yk4ddyMw3fCwnW7hVSSisexrhAfgRhLMDashdrepOupE_uzWPFE8A0exNqQW5i3CaTy42KW_Nk-2MzfGoPnX_J6ZG33myJr4kwaGx3UZTIrYLcYc/s72-c/trace.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-4978470452456082216</id><published>2012-02-29T01:13:00.001-08:00</published><updated>2012-06-29T03:15:59.810-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="WPF"/><title type='text'>Introduction to WPF(Windows Presentation Foundation) in .NET</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Windows &lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Presentation&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt; Foundation&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt; (WPF) is a next-generation presentation system for building Windows
client applications with visually stunning user experiences. With WPF, you can
create a wide range of both standalone and browser-hosted applications.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 115%;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm; mso-line-height-alt: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;It is part of the .NET framework
3.0 and higher.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 7.5pt; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;WPF combines
application UIs, 2D graphics, 3D graphics, documents and multimedia into one
single framework.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm; mso-line-height-alt: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;As the name says all, WPF is actually a new framework
introduced with .NET framework 3.0 which actually puts forward a new set of
classes and assemblies which allows us to write programs more efficiently and
flexibly. It uses Direct3D rendering which employs graphics cards to render the
output on the screen. Thus the drawing in the form will be smooth and also
there is a chance to utilize the hardware capabilities installed in your
machine.&amp;nbsp; In case of traditional GDI
forms application,&amp;nbsp; it is not possible to
use advanced graphics capabilities and hence Windows Forms application will
always be inefficient in comparison to WPF.&amp;nbsp;
Another important thing that I must address in this regard, GDI Windows
forms application uses Operating system controls to build its application. Thus
it is basically very hard to customize them in your own application. WPF
controls are actually drawn over the screen, and hence you can customize
controls totally and modify its behavior when required.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-top: 22.5pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Separation of Appearance and Behavior&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; mso-line-height-alt: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;WPF separates the
appearance of an user interface from its behavior. The appearance is generally
specified in the&amp;nbsp;&lt;a href=&quot;http://www.wpftutorial.net/XAML.html&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;Extensible Application Markup Language&lt;/span&gt;&lt;/a&gt;&amp;nbsp;(XAML), the
behavior is implemented in a managed programming language like C# or Visual
Basic. The two parts are tied together by databinding, events and commands. The
separation of appearance and behavior brings the following benefits:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 18pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Appearance and
     behaviour are loosely coupled&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 18pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Designers and
     developers can work on separate models.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 18pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Graphical
     design tools can work on simple XML documents instead of parsing code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-top: 22.5pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Rich composition&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; mso-line-height-alt: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Controls in WPF
are extremely composable. You can define almost any type of controls as content
of another. Although these flexibility sounds horrible to designers, its a very
powerful feature if you use it appropriate. Put an image into a button to create
an image button, or put a list of videos into a combobox to choose a video
file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_iR0e_-WQAD7dc9dzisWzJM1xakyadseDfKj_FCx_KFOKx20lfxdNN7DNMYsWoiyBZ3qAq5xfuwTK9wikE4BZGFuENpnM874pjUsqoZG1CJa7SZHRBHd-perktwtZbMuRNB1rksdXSFki/s1600/play.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_iR0e_-WQAD7dc9dzisWzJM1xakyadseDfKj_FCx_KFOKx20lfxdNN7DNMYsWoiyBZ3qAq5xfuwTK9wikE4BZGFuENpnM874pjUsqoZG1CJa7SZHRBHd-perktwtZbMuRNB1rksdXSFki/s1600/play.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: maroon;&quot;&gt;Button&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;StackPanel&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;Orientation&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;Horizontal&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;Image&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;Source&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;speaker.png&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;Stretch&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;Uniform&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;TextBlock&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;Text&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;Play Sound&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;StackPanel&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 11.25pt; margin-right: 5.25pt; margin-top: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;Button&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-top: 22.5pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Highly customizable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; mso-line-height-alt: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Because of the
strict separation of appearance and behavior you can easily change the look of
a control. The concept of&lt;a href=&quot;http://www.wpftutorial.net/Styles.html&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;styles&lt;/span&gt;&lt;/a&gt;&amp;nbsp;let you skin controls almost like CSS in HTML.&amp;nbsp;&lt;a href=&quot;http://www.wpftutorial.net/Templates.html&quot;&gt;&lt;span style=&quot;color: black; text-decoration: none;&quot;&gt;Templates&lt;/span&gt;&lt;/a&gt;&amp;nbsp;let
you replace the entire appearance of a control.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; mso-line-height-alt: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The following
example shows an default WPF button and a customized button.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieEL0mWs-V9AK7UbSDp-EJqariXJdd5CKalZtsGVSVSs1HYa1kgXPArrv-aNu6nbwiXYVnobJyYVwCJegldYM4Z4jcLvxhy_GV4ouOowSqD8vvdt7irzg_VSW6_rCcGpbUtQwCx5d-171p/s1600/play.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieEL0mWs-V9AK7UbSDp-EJqariXJdd5CKalZtsGVSVSs1HYa1kgXPArrv-aNu6nbwiXYVnobJyYVwCJegldYM4Z4jcLvxhy_GV4ouOowSqD8vvdt7irzg_VSW6_rCcGpbUtQwCx5d-171p/s1600/play.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-top: 22.5pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Resolution independence&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; mso-line-height-alt: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;All measures in
WPF are logical units - not pixels. A logical unit is a 1/96 of an inch. If you
increase the resolution of your screen, the user interface stays the same size
- it just gets crispier. Since WPF builds on a vector based rendering engine it&#39;s
incredibly easy to build scaleable user interfaces.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyNP3klb6SgdgUkd3lFjpxJoBvM4Gtsz0ttrAuyArreS9phELnhWfkp7rzdGAGwPVpySgRSezUTxPvBNk71b8LeMvnVI04vh7S5xhvOMBF3K4vwW5IMS2Xq-gWtyJHAsCugY_0Ye55_eAy/s1600/play.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyNP3klb6SgdgUkd3lFjpxJoBvM4Gtsz0ttrAuyArreS9phELnhWfkp7rzdGAGwPVpySgRSezUTxPvBNk71b8LeMvnVI04vh7S5xhvOMBF3K4vwW5IMS2Xq-gWtyJHAsCugY_0Ye55_eAy/s1600/play.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;What is XAML ?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;XAML is an
XML-based markup language that is used to implement an application&#39;s appearance
declaratively.&amp;nbsp;It is typically used&amp;nbsp;to create windows, dialog boxes,
pages, and user controls, and to fill them with controls, shapes, and graphics.&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-top: 0cm;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The following
example uses XAML to implement the appearance of a window that contains a
single button.&lt;br /&gt;
&lt;b&gt;ExpressionBuilder&amp;nbsp;&lt;/b&gt;is the best tool to generate XAML.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-top: 22.5pt;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: red; font-family: Verdana, sans-serif;&quot;&gt;Advantages of XAML&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: white; margin-bottom: 7.5pt; mso-line-height-alt: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;All you can do in
XAML can also be done in code. XAML ist just another way to create and
initialize objects. You can use WPF without using XAML. It&#39;s up to you if you
want to declare it in XAML or write it in code. Declare your UI in XAML has
some advantages:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul type=&quot;disc&quot;&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 18pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;XAML code is
     short and clear to read&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 18pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Separation of
     designer code and logic&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 18pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Graphical
     design tools like Expression Blend require XAML as source.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; line-height: 18pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The separation
     of XAML and UI logic allows it to clearly separate the roles of designer
     and developer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;Window&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;http://roja-dotnet.blogspot.com&lt;/span&gt;&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;Title&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;Button&lt;/span&gt;&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;Width&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;250&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;Height&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;100&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--&lt;/span&gt;&lt;span style=&quot;color: green;&quot;&gt; Add button &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;--&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;Button&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;Name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;button&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;Click Me&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;Button&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;word-break: break-all;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;Window&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;word-break: break-all;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Then the output of the above code is like the below figure.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;word-break: break-all;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/pre&gt;
&lt;pre style=&quot;word-break: break-all;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKwjrjBcr_lvw2V9HdnFmLDRrDL2DQdlh8v_ygSQtibIC_MsKaFVFHhtMqT7tCum4Po9ENL5zPLTFzv-jtkuaxOtwWDLmaY1VvPJUV7ruf7ieZEePa2tFj9VZYssucGyIvVKAqHZf4M6mB/s1600/play.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKwjrjBcr_lvw2V9HdnFmLDRrDL2DQdlh8v_ygSQtibIC_MsKaFVFHhtMqT7tCum4Po9ENL5zPLTFzv-jtkuaxOtwWDLmaY1VvPJUV7ruf7ieZEePa2tFj9VZYssucGyIvVKAqHZf4M6mB/s1600/play.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;pre style=&quot;word-break: break-all;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/pre&gt;
&lt;h2 style=&quot;background: white; margin-top: 22.5pt;&quot;&gt;






&lt;span style=&quot;color: red; font-family: Verdana, sans-serif; font-size: small;&quot;&gt;XAML vs.
Code&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 7.5pt; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;As an example
we build a simple StackPanel with a textblock and a button in XAML and compare
it to the same code in C#.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: white; margin-right: -6.0pt; mso-line-height-alt: 13.5pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;StackPanel&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;TextBlock&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;Margin&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;20&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;Welcome to XAML&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;TextBlock&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;Button&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;Margin&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;10&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: red;&quot;&gt;HorizontalAlignment&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;Right&lt;/span&gt;&quot;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;OK&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;Button&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: white; line-height: 13.5pt; margin-right: -6.0pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;StackPanel&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; margin-right: -6.0pt; mso-line-height-alt: 13.5pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial initial; background-repeat: initial initial; margin-bottom: 7.5pt; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm; text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;The same
expressed in VB.NET code will look like this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;&#39; Create the
StackPanel&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
stackPanel &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;
StackPanel()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Me&lt;/span&gt;.Content
= stackPanel&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;&#39; Create the
TextBlock&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
textBlock &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;
TextBlock()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; textBlock.Margin = &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; Thickness(10)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; textBlock.Text = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;Welcome to the World of XAML&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stackPanel.Children.Add(textBlock)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;&#39; Create the
Button&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
button &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;
Button()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; button.Margin = &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; Thickness(20)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; button.Content = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;OK&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: white; line-height: 13.5pt; margin-right: -6.0pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;stackPanel.Children.Add(button)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background: white; margin-right: -6.0pt; mso-line-height-alt: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/pre&gt;
&lt;div style=&quot;background: white; margin-bottom: 7.5pt; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm; mso-line-height-alt: 13.5pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;As you can see is the XAML version much shorter and
clearer to read. And that&#39;s the power of XAMLs expressiveness.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/4978470452456082216/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/02/introduction-to-wpfwindows-presentation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/4978470452456082216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/4978470452456082216'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/02/introduction-to-wpfwindows-presentation.html' title='Introduction to WPF(Windows Presentation Foundation) in .NET'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_iR0e_-WQAD7dc9dzisWzJM1xakyadseDfKj_FCx_KFOKx20lfxdNN7DNMYsWoiyBZ3qAq5xfuwTK9wikE4BZGFuENpnM874pjUsqoZG1CJa7SZHRBHd-perktwtZbMuRNB1rksdXSFki/s72-c/play.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-9081602854651942782</id><published>2012-02-27T21:51:00.001-08:00</published><updated>2012-04-09T01:16:27.828-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASP.NET"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><title type='text'>Detect Click into Iframe using JavaScript</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: yellow; background-image: initial; background-origin: initial; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;%&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;@&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: maroon;&quot;&gt;Page&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;Language&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;VB&quot;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;AutoEventWireup&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;false&quot;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;CodeFile&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;Default.aspx.vb&quot;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;Inherits&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;_Default&quot;&lt;/span&gt;
&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: yellow; background-image: initial; background-origin: initial;&quot;&gt;%&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;DOCTYPE&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;html&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;PUBLIC&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;http://www.w3.org/1999/xhtml&quot;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;meta&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;http-equiv&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;Content-Type&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;text/html; charset=ISO-8859-1&quot;&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;/&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;Detect IFrame Clicks&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;text/javascript&quot;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;
isOverIFrame = &lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;
processMouseOut() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;log(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;IFrame
mouse &amp;gt;&amp;gt; OUT &amp;lt;&amp;lt; detected.&quot;&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;isOverIFrame = &lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;top.focus();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;
processMouseOver() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;log(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;IFrame
mouse &amp;gt;&amp;gt; OVER &amp;lt;&amp;lt; detected.&quot;&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;isOverIFrame = &lt;span style=&quot;color: blue;&quot;&gt;true&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;
processIFrameClick() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;(isOverIFrame)
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: green; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;// replace with
your function&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;log(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;IFrame
&amp;gt;&amp;gt; CLICK &amp;lt;&amp;lt; detected. &quot;&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;
log(message) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; console =
document.getElementById(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;console&quot;&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; text =
console.value;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;text = text + message + &lt;span style=&quot;color: maroon;&quot;&gt;&quot;\n&quot;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;console.value = text;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;
attachOnloadEvent(func, obj) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;(&lt;span style=&quot;color: blue;&quot;&gt;typeof&lt;/span&gt; window.addEventListener != &lt;span style=&quot;color: maroon;&quot;&gt;&#39;undefined&#39;&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;window.addEventListener(&lt;span style=&quot;color: maroon;&quot;&gt;&#39;load&#39;&lt;/span&gt;, func, &lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;} &lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: blue;&quot;&gt;typeof&lt;/span&gt;
document.addEventListener != &lt;span style=&quot;color: maroon;&quot;&gt;&#39;undefined&#39;&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;document.addEventListener(&lt;span style=&quot;color: maroon;&quot;&gt;&#39;load&#39;&lt;/span&gt;, func, &lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;} &lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: blue;&quot;&gt;typeof&lt;/span&gt;
window.attachEvent != &lt;span style=&quot;color: maroon;&quot;&gt;&#39;undefined&#39;&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;window.attachEvent(&lt;span style=&quot;color: maroon;&quot;&gt;&#39;onload&#39;&lt;/span&gt;, func);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;} &lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; (&lt;span style=&quot;color: blue;&quot;&gt;typeof&lt;/span&gt; window.onload == &lt;span style=&quot;color: maroon;&quot;&gt;&#39;function&#39;&lt;/span&gt;)
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; oldonload
= onload;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;window.onload = &lt;span style=&quot;color: blue;&quot;&gt;function&lt;/span&gt;() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;oldonload();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;func();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;} &lt;span style=&quot;color: blue;&quot;&gt;else&lt;/span&gt;
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;window.onload = func;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; init() {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; element =
document.getElementsByTagName(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;iframe&quot;&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; (&lt;span style=&quot;color: blue;&quot;&gt;var&lt;/span&gt; i=0; i&amp;lt;element.length; i++) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;element[i].onmouseover =
processMouseOver;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;element[i].onmouseout =
processMouseOut;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; (&lt;span style=&quot;color: blue;&quot;&gt;typeof&lt;/span&gt; window.attachEvent != &lt;span style=&quot;color: maroon;&quot;&gt;&#39;undefined&#39;&lt;/span&gt;)
{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;top.attachEvent(&lt;span style=&quot;color: maroon;&quot;&gt;&#39;onblur&#39;&lt;/span&gt;, processIFrameClick);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;else&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: blue;&quot;&gt;typeof&lt;/span&gt;
window.addEventListener != &lt;span style=&quot;color: maroon;&quot;&gt;&#39;undefined&#39;&lt;/span&gt;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;top.addEventListener(&lt;span style=&quot;color: maroon;&quot;&gt;&#39;blur&#39;&lt;/span&gt;, processIFrameClick, &lt;span style=&quot;color: blue;&quot;&gt;false&lt;/span&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;attachOnloadEvent(init);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;iframe&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;http:\\www.google.com&quot;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;100%&quot;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;1300px&quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;iframe&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;form&quot;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;form&quot;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;action&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;&quot;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;textarea&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;console&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: red; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;=&quot;console&quot;&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;width: 100%;
height: 300px;&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;cols&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;&quot;&lt;/span&gt; &lt;span style=&quot;color: red;&quot;&gt;rows&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;&quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;textarea&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;button&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: red;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;clear&quot;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;clear&quot;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;=&quot;reset&quot;&amp;gt;&lt;/span&gt;Clear&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon;&quot;&gt;button&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: maroon; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &#39;Courier New&#39;; font-size: 13pt;&quot;&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/9081602854651942782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/02/detect-click-into-iframe-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/9081602854651942782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/9081602854651942782'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/02/detect-click-into-iframe-using.html' title='Detect Click into Iframe using JavaScript'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-774970801553126520</id><published>2012-02-24T21:44:00.002-08:00</published><updated>2012-04-09T01:16:58.534-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Forms"/><title type='text'>Create an Excel 2007 file and change font for the ceel in the Excel in VB.NET 2005</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;From the following sections you can find how to create an
Excel 2007 worksheet through VB.NET 2005. For creating an Excel 2007 worksheet
in VB.NET 2005 , you have to add the Microsoft Excel 12.0 Object Library in you
project.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create a
new project and add a button to the Form.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Select &lt;b&gt;Add reference&lt;/b&gt; from Project menu and in
the &lt;b&gt;COM Tab &lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;select&lt;i&gt;
&lt;b&gt;&amp;nbsp;Microsoft Excel 12.0 Object Library &lt;/b&gt;&lt;/i&gt;and
click&lt;b&gt;&lt;i&gt; OK &lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;i&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;button&lt;/span&gt;&lt;span style=&quot;color: #c0504d; font-size: 13.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; color: #c0504d; font-size: 13.5pt; line-height: 115%;&quot;&gt;2.&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-size: 13.5pt; line-height: 115%;&quot;&gt; Now you can start coding to create a new Excel file.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt;&quot;&gt;Imports&lt;/span&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt; Excel =
Microsoft.Office.Interop.Excel&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt;&quot;&gt;Public&lt;/span&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;Class&lt;/span&gt; Form1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; Button1_Click(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;
sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; System.Object, _&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; System.EventArgs) &lt;span style=&quot;color: blue;&quot;&gt;Handles&lt;/span&gt;
Button1.Click&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
xlApp &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; Excel.Application&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
xlWorkBook &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; Excel.Workbook&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
xlWorkSheet &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; Excel.Worksheet&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
misValue &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;
= System.Reflection.Missing.Value&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt;
chartRange &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; Excel.Range&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlApp = &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;
Excel.ApplicationClass&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkBook =
xlApp.Workbooks.Add(misValue)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet = xlWorkBook.Sheets(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;sheet1&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: green;&quot;&gt;&#39;add data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(4, 2) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(4, 3) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;Student1&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(4, 4) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;Student2&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(4, 5) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;Student3&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(5, 2) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;Maths&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(5, 3) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;80&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(5, 4) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;65&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(5, 5) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;45&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(6, 2) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;English&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(6, 3) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;78&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(6, 4) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;72&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(6, 5) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;60&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(7, 2) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;Telugu&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(7, 3) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;82&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(7, 4) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;80&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(7, 5) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;65&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(8, 2) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;Science&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(8, 3) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;75&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(8, 4) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;82&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(8, 5) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;68&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(9, 2) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;Total&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(9, 3) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;315&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(9, 4) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;299&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.Cells(9, 5) = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;238&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartRange = xlWorkSheet.Range(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;b2&quot;&lt;/span&gt;, &lt;span style=&quot;color: maroon;&quot;&gt;&quot;e3&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartRange.Merge()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartRange.FormulaR1C1 = &lt;span style=&quot;color: maroon;&quot;&gt;&quot;MARKS LIST&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartRange.HorizontalAlignment = 3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartRange.VerticalAlignment = 3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chartRange.Font.FontStyle = &quot;arial&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; chartRange.ColumnWidth = &quot;120&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartRange = xlWorkSheet.Range(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;b4&quot;&lt;/span&gt;, &lt;span style=&quot;color: maroon;&quot;&gt;&quot;e4&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartRange.Font.Bold = &lt;span style=&quot;color: blue;&quot;&gt;True&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartRange = xlWorkSheet.Range(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;b9&quot;&lt;/span&gt;, &lt;span style=&quot;color: maroon;&quot;&gt;&quot;e9&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartRange.Font.Bold = &lt;span style=&quot;color: blue;&quot;&gt;True&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; chartRange = xlWorkSheet.Range(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;b2&quot;&lt;/span&gt;, &lt;span style=&quot;color: maroon;&quot;&gt;&quot;e9&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
chartRange.BorderAround(Excel.XlLineStyle.xlContinuous, _&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Excel.XlBorderWeight.xlMedium,
Excel.XlColorIndex. _&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp; xlColorIndexAutomatic,
Excel.XlColorIndex.xlColorIndexAutomatic)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlWorkSheet.SaveAs(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;MarksExcel.csv&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;xlWorkBook.Close()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xlApp.Quit()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; releaseObject(xlApp)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; releaseObject(xlWorkBook)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; releaseObject(xlWorkSheet)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;File
created Successfully !&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Private&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; releaseObject(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;
obj &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
System.Runtime.InteropServices.Marshal.ReleaseComObject(obj)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj = &lt;span style=&quot;color: blue;&quot;&gt;Nothing&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Catch&lt;/span&gt;
ex &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; Exception&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj = &lt;span style=&quot;color: blue;&quot;&gt;Nothing&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Finally&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GC.Collect()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;End&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt; line-height: 115%;&quot;&gt;End&lt;/span&gt;&lt;span style=&quot;font-size: 13pt; line-height: 115%;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;Class&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #c0504d;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/774970801553126520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/02/create-excel-2007-file-and-change-font.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/774970801553126520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/774970801553126520'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/02/create-excel-2007-file-and-change-font.html' title='Create an Excel 2007 file and change font for the ceel in the Excel in VB.NET 2005'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5707225505184344345.post-2245791880119796263</id><published>2012-02-23T22:32:00.003-08:00</published><updated>2012-04-09T01:17:24.207-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows Forms"/><title type='text'>How to export DataTable to CSV File Format</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt;&quot;&gt;Protected&lt;/span&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;/span&gt; Button1_Click(&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt;
sender &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Object&lt;/span&gt;,
&lt;span style=&quot;color: blue;&quot;&gt;ByVal&lt;/span&gt; e &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt;
EventArgs)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; Con&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;String&lt;/span&gt; =
ConfigurationManager.ConnectionStrings(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;ConnectionString&quot;&lt;/span&gt;).ToString()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; conn &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;
SqlConnection(Con)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; da &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt;
SqlDataAdapter(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;select * from employees&quot;&lt;/span&gt;,
conn)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; ds &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;New&lt;/span&gt; DataSet()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; da.Fill(ds, &lt;span style=&quot;color: maroon;&quot;&gt;&quot;Emp&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GridView1.DataSource = ds.Tables(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;Emp&quot;&lt;/span&gt;).DefaultView&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; GridView1.DataBind()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: blue;&quot;&gt;Dim&lt;/span&gt; dt &lt;span style=&quot;color: blue;&quot;&gt;As&lt;/span&gt; DataTable = ds.Tables(&lt;span style=&quot;color: maroon;&quot;&gt;&quot;Emp&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-size: 13pt;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CreateCSVFile(dt, &lt;span style=&quot;color: maroon;&quot;&gt;&quot;c:\csvData.csv&quot;&lt;/span&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;color: blue; font-size: 13pt;&quot;&gt;End&lt;/span&gt;&lt;span style=&quot;font-size: 13pt;&quot;&gt; &lt;span style=&quot;color: blue;&quot;&gt;Sub&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://roja-dotnet.blogspot.com/feeds/2245791880119796263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://roja-dotnet.blogspot.com/2012/02/how-to-export-datatable-to-csv-file.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/2245791880119796263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5707225505184344345/posts/default/2245791880119796263'/><link rel='alternate' type='text/html' href='http://roja-dotnet.blogspot.com/2012/02/how-to-export-datatable-to-csv-file.html' title='How to export DataTable to CSV File Format'/><author><name>Roja</name><uri>http://www.blogger.com/profile/11399222005918836007</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHEa-TADRd9ts8zPe1dfHbTqnxrzVMu9FQrPUCvA6BpzlGnwjJLArTcFtypkhDwh5lfrBSxJkbUtcwmJlkoWl7KupYXQWppbQUM-W5ArXgPVzQlhDMMeNw5-BhDi-gaw/s220/post-378454-1167713954-757766.jpg'/></author><thr:total>1</thr:total></entry></feed>