<?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-7567601111711737355</id><updated>2024-09-13T12:10:55.535-07:00</updated><category term="Ado.Net Blog"/><category term="Asp.Net Blog"/><category term="C# Blog"/><category term="Interview Question"/><category term="Javascript Blog"/><category term="Silverlight Blog"/><category term="WPF Blog"/><category term="Ajax Blog"/><category term="Jquery Blog"/><title type='text'>education</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://coodemania.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>83</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-6123051587037707508</id><published>2012-09-12T01:38:00.001-07:00</published><updated>2012-09-12T01:47:08.339-07:00</updated><title type='text'>Home</title><content type='html'>





&lt;style&gt;


#box11{
width:100%;
height:109px;
background-image:url(&#39;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0g4G45cT9MHzDcaiRnGQM7nQkjSZ0V-y6o4ZthA87a7XVLjOof9UR8Y4A_xPd60n3KBuz5DwjI7MANjyreKMw-GO1aYNmAdRwyr0Ih86CuMAK6OPv7VibthEmkkBe6WPEFMi9sNfbnkE/s1600/bgbox2.png&#39;);
background-repeat:no-repeat;
padding:5px;
margin-top:10px;
}

img
{
float:left;


}
.hh1
{
margin:0px;
padding:0px;
text-align:center;
font-size:20px;
font-family:georgia;
font-style:italic;
font-weight:bold;

}

.pp1{
margin:0px;
padding:5px;
text-align:left;
font-size:14px;
font-family:georgia;
font-style:italic;
width:556px;
}


&lt;/style&gt;




&lt;br /&gt;
&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZByldm89uvlowOjSvj0gk-R1y8IJvTGIZQZIXbVemS6OoU65mJyKKSBwtzT0_GwfSW8VszYo4KSlYSTHpnaPS54QM9UJCjnUqHCILGwG-CkVv8FeUhROcNaO_sf-A4VUrAk5jnjukDC0/s1600/1.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
C#&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
C# is a new, type-safe language, object-oriented language. It has automatic garbage  collection feature. It is developed solely for running along with CLR frameworks. We can use pointers, if needed, though unsafe.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi34pf4-VN0bNQcdfsutG6O1nWKS8Pdv6ngzUDDIHTDyVMt0pANXnqSljBGfbYIKAFDXzyhEc4sf3m-4_hGltTO1903jIhcDPkQMrJkv-P_Xa-pmW4Jh1jr_1BXfGUEGw540VtjTVILZmA/s1600/2.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
Asp.Net&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
ASP.NET is the next generation ASP, but it&#39;s not an upgraded version of ASP. ASP.NET is an entirely new technology for server-side scripting. ASP.NET is a part of the Microsoft .NET framework, and a powerful tool for creating dynamic and interactive web pages.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;



&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhL1FlBd6gYytYAbBxMsrnkuvP7ZnOdZIlkBCTPfNN9An7p8gtd55GG2d5_Mu29D7jn9XerqXALzuJRyigUGSNXJ3U6nIRq-LMTZjbC_CxO51E1pWe6lpHGT_xm8CNLkI_C7Z8RzgIlYdU/s1600/3.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
Javascript&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
JavaScript is a platform-independent,event-driven, interpreted client-side scripting and programming language developed by Netscape Communications Corp. and Sun Microsystems.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaZ_lfVrX11C8tvEmoDKOw_jyBJEsbsNA8LvXRhVSOCBlpvU24ZKKR0e4SBjEU5Gpahs_XkU6Xq64ko4akKYjgnXZPTV476nKMZaqtmoDY5p1v1BjnQpfeyPJgeVgzNHnzB-A9TH-XKjo/s1600/4.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
HTML&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
HTML stands for HyperText Markup Language. Developed by scientist Tim Berners-Lee in 1990, HTML is the &quot;hidden&quot; code that helps us communicate with others on the World Wide Web (WWW).&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLkk6T8HoGvdmeqsKhVcfcLnEsXPXuOX2Par8FRIAA7oQemsbeCJgFGfQywIlEu2YMSiQLK4GeBJPMn7Xg3NK_vcUaS6k7PpphgcCqNBVfTIwdbdEobnFDlD3X7vML61ga9VVdAw6sIik/s1600/5.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
SQL Server&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
Database is an important constituent for collection and storage of data. Data provided information after processing on them. To managing record and important data Databases server used. Database transaction is a unit of work in database management &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnm_mhiKzQcKNACPky3Q73c0cDrddD6Rab0cF7SZNVyUczflcF0mbxWEY-Z_Thud5LroJhvuxkM_jTER_F2_sPEdLq8f9yDeAUJJA3lV9MKfZbyVPRMeFwiBSKriQJN7J28zCMT3u1m74/s1600/silvercopy.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
Silverlight&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
Silverlight is a powerful cross-browser &amp;amp; cross-platform technology for building the next generation web experience &amp;amp; rich internet applications for the web.Silverlight applications are delivered to a browser in a text-based markup language called XAML.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilXdKczvpgHweHIwMwlPHW3IJjSvQMqsEvJD4afEJ6oBId4vJXPWhpSKFzz8NVFH1nHZMxu5lGhjzJ44mjAEsdFn5464cTMDnrvLFVvYzxF1JXrr84JMbOQgp-CYFTuhXn6qING-nvOLs/s1600/7.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
CSS&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
CSS is an acronym which means Cascading Style Sheets.A style sheet is made up of style rules that tell a browser how to present a document. As the name suggests, CSS is a special purpose stylesheet language and it helps in defining the format of presentation document &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLqcewL4GVNW6K5EQriI0xngVozaK6uZBcCSW_OFk22C7fGPP0AVPxYqYXufFXtDcf-4U29tgzYBg3ImWuerrjiP6wBI4nw2Kl4u8hoaZIuaGBTWtUHQASStfrGw_pbCcjWUL15pehYs4/s1600/9.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
Ajax&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
Ajax (Asynchronous JavaScript and XML) is a new paradigm  introduced in 2005.  To use Ajax, able to trade data, with a web server, without having to load a new page. The purpose of Ajax is that of giving the illusion that websites are responsive. &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;

&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1E1cYXYRWvghd-kMZJ8eb_rcxPyoyW4CeR4772OEqDvXNpCferxYU4blzZPrp6tuqodRViV5YRw8y44A9rwG6juTN_795lXtVqSishJxabyAGHmcG0RzMau8cXHsAPMsSHocpeTlUrQo/s1600/10.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
Ado.Net&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
Microsoft ADO.NET (ActiveX Data Objects .NET) is part of the Microsoft .NET Framework: a set of tools and layers that allows your application to easily manage and communicate with its file-based or server-based data store.ADO.NET (ActiveX Data Objects .NET)  &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4mNwdlTRjtWv3_CcAREGWJV_hGD9hNIaGsrC_KMpccxuGQKW1P4fJ43nRzrgS__v9vYDbU6Y2iydrMn1k04ksyIozc5ibdMxIQLphZ56PYrP-WvBS2QvOkugAXDaqnHQr8FYqdKNYUXc/s1600/11.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
WPF&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
WPF Stands for (Windows Presentation Foundation) Microsoft  introduced WPF(Windows Presentation Foundation) API (Application Programming Interface) in .NET3.0 framework for the first time. WPF merged all the related And unrelated APIs into a single object &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWmSN6NlEYIS7xYpQrOfdvAP0Wnl01LIUtr6M7qYWLhyunE0gw5j9nzruCXw0k_aYmq6X01_PkWLWh6XsXSgKB_iiQCk9936ww_LonjIq8OQXXHVjnOyBh_jB8q-Nv8GA-HwObWe7rPNc/s1600/12.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
JQuery&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
Jquery is a javascript library which allows for the quick and east deployment of javascript functions into a web page. When used wisely javascript is a fantastic way to add a bit of dynamic interaction to a website and enhance the user experience. ...&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgS5W0xw6B0Gt4wi9HTk38rjqzIEwzXcuIN58ucbadcGZqCW65gMh03wPYGJneCr5GieCHtjZIOh77rwxI6gD-GtSeX2mLNP3w9mQ_gagDrTqw-8PEb9lq4hgV60X1nh-nTOUXphjb90jo/s1600/DHTML-Logo.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
Dhtml&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
Dynamic HTML, or DHTML, is an umbrella term for a collection of technologies used together to create interactive and animated web sites by using a combination of a static markup language (such as HTML), a client-side scripting language (such as JavaScript)&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpg-pzPEk35PHC_BX3p5hE6WojFK5jzBkXyaAf_PJ3kwOLHXwGKETDx9TCxtM5CApd9SokgzD3h9AMmBodi_1-0caE2Q2nmAdGlKRurpQ3EeX4zFxd0I_SaLAUO5hOaModkRf3aUkYJ7s/s1600/ps.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
Photshop&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
PhotoShop is a widely used image editing application from Adobe, often used as a benchmark for other imaging applications.An image editor for Macintosh and Windows. Although it contains a large variety of image-editing features, one of Photoshop&#39;s most powerful.. &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWdfZQYfPKvCFBhRhsT-590Gbu9y6BKUI7bSDPxlE5pzvdb71RIUk-xFN06AquWz1vT88xXFzQfLBpwQA-LxkRxHRaAV53XIyOrpj1Lg4PdoNwKbWCFguqFLcYoKUH2DcExk8NubDwnNk/s1600/dw.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
Dreamweaver&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
Adobe Dreamweaver (formerly Macromedia Dreamweaver) is a web development application originally created by Macromedia, and is now developed by Adobe Systems, which acquired Macromedia in 2005.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;


&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqbj2cOhpcNs-1BIqwOZhecBEUkjfXFVnJbcFzd_UAbJlqQ3ECh1HY16NDp55zu3cyXWdTWqQ-byOYFFNh81QBKzvkRDVypLRaDYtWF0HpMIbx7onuunBmBokuPX7LL9uUrJ0v4xXz6qQ/s1600/fl.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
Flash&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
Adobe Flash (formerly Macromedia Flash) is a multimedia platform used to add animation, video, and interactivity to Web pages. Flash is frequently used for advertisements and games. More recently, it has been positioned as a tool for &quot;Rich Internet Applications&quot; (&quot;RIAs&quot;).&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;



&lt;div id=&quot;box11&quot;&gt;
&lt;img height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5nMJZbRls5dHkL011NITAVoGSBms70ItKJhl4y5qsrQpsCCb_3NIWFEPAiWPrSO_LCvAynGhkTiVBZBbXudY6E-6EMG6q-jMnvUKZrDaKGwhXzicg2d8i3pmKgVWAygPYoZ7JcK_QRfs/s1600/al.png&quot; width=&quot;110&quot; /&gt;
&lt;div id=&quot;box2&quot;&gt;
&lt;div class=&quot;hh1&quot;&gt;
Illustrator&lt;/div&gt;
&lt;div class=&quot;pp1&quot;&gt;
Adobe Illustrator is the industry-standard for vector graphics format. AI and EPS formats are native to Adobe Illustrator. Illustrator can be used to open PDF files too.Adobe Illustrator is a vector graphics editor developed and marketed by Adobe Systems.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;



</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/6123051587037707508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/6123051587037707508'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/09/home_12.html' title='Home'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZByldm89uvlowOjSvj0gk-R1y8IJvTGIZQZIXbVemS6OoU65mJyKKSBwtzT0_GwfSW8VszYo4KSlYSTHpnaPS54QM9UJCjnUqHCILGwG-CkVv8FeUhROcNaO_sf-A4VUrAk5jnjukDC0/s72-c/1.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-7183954134290705902</id><published>2012-09-12T01:33:00.003-07:00</published><updated>2012-09-12T01:35:08.341-07:00</updated><title type='text'></title><content type='html'>&lt;br&gt;
&lt;br&gt;
&lt;br&gt;

&lt;font face=&quot;georgia&quot; align=&quot;center&quot; size=&quot;19&quot; font-weight=&quot;bold&quot; font-style=&quot;italic&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Coming soon &lt;i&gt;&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/7183954134290705902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/7183954134290705902'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/09/blog-post.html' title=''/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-2517284099798806117</id><published>2012-08-07T20:08:00.000-07:00</published><updated>2012-08-13T19:03:42.253-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WPF Blog"/><title type='text'>Important WPF Classes and Namespaces</title><content type='html'>&lt;font color=&quot;Black&quot;&gt;
&lt;h1 dir=&quot;ltr&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Some 
Important WPF Classes and Namespaces&lt;/font&gt;&lt;/h1&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Before working with WPF you need to know some common classes and interfaces 
and their uses. So in this chapter you will get a clear understanding of 
different classes and interfaces and there uses.&amp;nbsp;
Before knowing the classes and namespaces you need to know, what are the base 
assemblies that provide different classes ad interfaces for a WPF application. 
WPF has three base assemblies. These are as below,&lt;/font&gt;&lt;/p&gt;
&lt;ol&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;Brown&quot;&gt;&lt;b&gt;WindowsBase.dll:&lt;/b&gt;&lt;/font&gt; This assembly 
defines the core types that constitute the infrastructure WPF API.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;Brown&quot;&gt;&lt;b&gt;PresentationCore.dll:&lt;/b&gt;&lt;/font&gt; As the name 
specifies this assembly specifies different types for WPF GUI layer.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;Brown&quot;&gt;&lt;b&gt;PresentationFoundation.dll:&lt;/b&gt; &lt;/font&gt;It 
defines the WPF control types, animation, multimedia and data binding support. 
It also specifies some other functionality. &lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;The above three namespaces are managed namespaces. Besides these three 
namespaces WPF also uses an unmanaged library, i.e. &lt;b&gt;milcore.dll&lt;/b&gt;. This 
library is responsible to work with DirectX layer. It acts as a bridge between 
the managed WPF assemblies and the DirectX layer.&lt;/font&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Some WPF Classes:&lt;/font&gt;&lt;/h2&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;All these three assemblies provides a number of new namespaces and hundreds 
of new .NET types(classes, interfaces, structures, enumerations and delegates) 
to work with WPF. The following class diagram and the class’s functionality.&lt;/font&gt;&lt;/p&gt;
&lt;div align=&quot;left&quot;&gt;
  &lt;table width=&quot;560&quot; height=&quot;501&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber1&quot; style=&quot;border-collapse: collapse&quot;&gt;
    &lt;tbody&gt;&lt;tr&gt;
      &lt;td width=&quot;560&quot; height=&quot;501&quot;&gt;

&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;Black&quot;&gt;
&lt;img width=&quot;560&quot; height=&quot;506&quot; border=&quot;4&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgFrycEsmjLqXlSe4XjAkEqw82yxzamOzj_1GF8_zxNmdBj9tCyelwOXPlMyVjPKZM0eZdjV1-7q_nzlVk0Mf0QtNb2bII5nDgNu3CsP7IIVFHKGXuEoES4VwSmJSq4Sj2Q70dN9TRCCw/s1600/some_i2.jpg&quot;&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/font&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; color=&quot;#0066FF&quot;&gt;DispatcherObject:&lt;/font&gt;&lt;/b&gt;&lt;font size=&quot;2&quot; color=&quot;Black&quot;&gt;&lt;b&gt;
  &lt;/b&gt;It 
is an abstract base class for classes that are bound to one thread. Classes that 
are derived from DispatcherObject have an associated Dispatcher object that can 
be used to switch the threads.&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Application: &lt;/font&gt;&lt;/b&gt;&lt;font color=&quot;Black&quot;&gt;
  &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;In every 
WPF application, one instance of Application class is created. This class 
implements a singleton pattern for access to the window of application, 
resources and properties. See the below image.&lt;br&gt;
&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;&lt;font color=&quot;Black&quot;&gt;
&lt;/font&gt;&lt;/ul&gt;&lt;font color=&quot;Black&quot;&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;387&quot; height=&quot;175&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYqKopWw2Tdo7g5CDrnqsk14rHIJloOV2dkjZVPYx5TgduqqgdV4SaoL4GbKwsRHeRv5eJYTRxh_oh30Vw31ksDhOipdPzx9IV-LHQvZf8M19YpE0bXirTEn5wFKE2hTN8Q6Rq9cEGFoU/s1600/some_i3.jpg&quot;&gt;&lt;/font&gt;&lt;/p&gt;
&lt;/font&gt;&lt;ul&gt;&lt;font color=&quot;Black&quot;&gt;
  &lt;/font&gt;&lt;li&gt;&lt;font color=&quot;Black&quot;&gt;
&lt;/font&gt;



  &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;DependencyObject:&lt;/b&gt;&amp;nbsp; &lt;/font&gt;It is the base class for 
all the classes that supports Dependency property.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;Visual:&lt;/b&gt; &lt;/font&gt;It is the base class for all the visual 
elements of WPF. This class includes features for transformation.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;UIElement:&lt;/b&gt; &lt;/font&gt;&amp;nbsp;It is the abstract base class for all 
WPF elements that need basic presentation feature. This class provides evens 
such as mouse move, drag and drop, click, etc.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;FrameworkElement:&lt;/b&gt; &lt;/font&gt;&amp;nbsp;It is derived from base class 
UIElements and implements the default behaviour of the methods defined by the 
base class.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;Shape:&lt;/b&gt; &lt;/font&gt; Shape is the base class for all the shape 
elements such as, line, rectangle, ellipse, polygon.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;Control:&lt;/b&gt;&lt;/font&gt; It is derived from FrameworkElement and 
is the base class for all the user-interactive elements.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;Panel:&lt;/b&gt; &lt;/font&gt;&amp;nbsp;As the name suggest it is the abstract 
base class for all the panels and is derived from FrameworkElement. Panel class 
has a Children property for all the UI-Element that is inside a panel and 
defines methods for arranging the child controls. Panel defines different 
classes to define the behaviour of child controls such as, WrapPanel, StackPanel, 
Grid and Canvas.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;ContentControl: -&lt;/b&gt; &lt;/font&gt;&lt;font color=&quot;Black&quot;&gt;It 
is the base class for all the controls that have a single content such as, 
Buttons, Labels, CheckBox, RadioButton, etc.&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;Black&quot;&gt;You can also find the class hierarchy of your application using &lt;b&gt;&lt;i&gt;Object 
Browser&lt;/i&gt;&lt;/b&gt; in VS 2008. To view Object Browser go to view menu and select 
Object Browser. Object Browser also contains all the namespaces and its classes. 
See the below image for WPF class hierarchy. It is the class hierarchy of a 
simple WPF application that we have created earlier. Using Object Browser you 
can find all the methods, properties and events of a particular class by 
selecting that class. &lt;br&gt;
&amp;nbsp;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;389&quot; height=&quot;531&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjp-jW8OBx3c7OjZSwQC7lxEC0d2kIxYTElBXPv-fPOp7435HyIO16wEYCjwjGiNlfOah0aISe6a_gsY7IdbUmGTtTqlrC2CDDzWNE4wpe8pIJr-yf0vlkUqwiTX9T4PEozq1LKWHIWFU/s1600/some_i4.jpg&quot;&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Some WPF Namespaces:&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;&lt;font color=&quot;#0066FF&quot;&gt;System. Windows:- &lt;/font&gt;
  &lt;/b&gt;It is the core namespace of 
WPF. You will find all the base classes such as, Application, DependencyObject , 
DependencyProperty and FrameworkElement here.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;System. Windows. Controls:-&lt;/b&gt; &lt;/font&gt;This namespaces contains all the controls of 
WPF. You will also find classes to work with complex controls such as PopUp, 
ScrollBar, StatusBar, TabPanel, etc. as well as all the basic controls.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;
&lt;font color=&quot;#0066FF&quot;&gt;System. Windows. Data:-&lt;/font&gt;&lt;/b&gt; This namespace is used by WPF for Data Binding.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;System. Windows. Input:-&lt;/b&gt; &lt;/font&gt;This namespace provides several classes for 
command handling, keyboard input, etc.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;System. Windows. Markup:-&lt;/b&gt; &lt;/font&gt;This namespace helper classes for XAML markup 
code.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;System. Windows. Media:-&lt;/b&gt; &lt;/font&gt;This namespace is responsible to work with 
images, audio, and multimedia.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;System. Windows. Shapes:-&lt;/b&gt; &lt;/font&gt;This namespace provides core classes for UI 
such as Line, Rectangle, Ellipse, etc.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;System. Windows. Threading:-&lt;/b&gt; &lt;/font&gt;This namespace provides classes to work 
with multiple threads.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;System. Windows. Navigation:-&lt;/b&gt; &lt;/font&gt;This namespace provides classes for 
navigation between WPF pages particularly when working with Web Applications.&lt;/font&gt;&lt;/li&gt;
&lt;/ul&gt;






</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/2517284099798806117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/2517284099798806117'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/important-wpf-classes-and-namespaces.html' title='Important WPF Classes and Namespaces'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgFrycEsmjLqXlSe4XjAkEqw82yxzamOzj_1GF8_zxNmdBj9tCyelwOXPlMyVjPKZM0eZdjV1-7q_nzlVk0Mf0QtNb2bII5nDgNu3CsP7IIVFHKGXuEoES4VwSmJSq4Sj2Q70dN9TRCCw/s72-c/some_i2.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-8774657899601821588</id><published>2012-08-07T20:04:00.000-07:00</published><updated>2012-08-07T20:08:50.265-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WPF Blog"/><title type='text'>Applications of WPF</title><content type='html'>

&lt;p&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;Applications of WPF&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;WPF has comprehensive features for creating user experiences with rich 
content. To package this content and deliver it to users as &quot;applications,&quot; WPF 
provides types and services that are collectively known as the application 
model. The application model supports the development of both standalone and 
browser-hosted applications.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;Standalone Applications&lt;br&gt;
&amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;/font&gt;&amp;nbsp;For standalone applications, you can use the 
Window class to create windows and dialog boxes that are accessed from menu bars 
and tool bars.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Additionally, you can use the following WPF dialog boxes: MessageBox, 
OpenFileDialog, SaveFileDialog, and PrintDialog.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Like in below image-&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;img width=&quot;300&quot; height=&quot;299&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs5cAr5E-iK117wxmKhEnSs8w1E4oWmP4zsiYLcKX33Gvq2x3AyGrxhD1d66hzMvi_5LftAcCnLQtMbpFTMQml_2F4e5-bBmelnCeiS882dMGzO_3Do1QKCGwFmuT2me-3zNKxD0EudN4/s1600/wpf3.JPG&quot;&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&amp;nbsp;&lt;/p&gt;



&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0066FF&quot;&gt;&lt;b&gt;Browser-Hosted Applications&lt;br&gt;

&lt;/b&gt;&lt;/font&gt;For browser-hosted applications, known as XAML 
browser applications (XBAPs), you can create pages (Page) and page functions 
(PageFunction&amp;lt;T&amp;gt;) that you can navigate between using hyperlinks (Hyperlink 
classes).&lt;br&gt;
For Browser-Hosted Application we will discuss later.&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Now we are starting with Standalone Application.&lt;/font&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;&lt;font color=&quot;#0066FF&quot;&gt;Controls in Windows WPF-&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/font&gt;&lt;/b&gt;The built-in WPF controls are listed here.&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;font color=&quot;#0066FF&quot;&gt;Buttons:&lt;/font&gt; Button and 
RepeatButton.&lt;br&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&amp;nbsp;&amp;nbsp; Dialog Boxes: &lt;/font&gt;OpenFileDialog, 
PrintDialog, and SaveFileDialog.&lt;br&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&amp;nbsp;&amp;nbsp; Digital Ink: &lt;/font&gt;InkCanvas and 
InkPresenter.&lt;br&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&amp;nbsp;&amp;nbsp; Documents:&lt;/font&gt; DocumentViewer, 
FlowDocumentPageViewer, FlowDocumentReader, FlowDocumentScrollViewer, and 
StickyNoteControl.&lt;br&gt;
&amp;nbsp; &lt;font color=&quot;#0066FF&quot;&gt;&amp;nbsp;Input:&lt;/font&gt; TextBox, RichTextBox, and 
PasswordBox.&lt;br&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&amp;nbsp;&amp;nbsp; Layout: &lt;/font&gt;Border, BulletDecorator, 
Canvas, DockPanel, Expander, Grid, GridView, GridSplitter, GroupBox, Panel, 
ResizeGrip, Separator, ScrollBar, ScrollViewer, StackPanel, Thumb, Viewbox, 
VirtualizingStackPanel, Window, and WrapPanel.&lt;br&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&amp;nbsp;&amp;nbsp; Media:&lt;/font&gt; Image, MediaElement, and 
SoundPlayerAction.&lt;br&gt;
&amp;nbsp; &lt;font color=&quot;#0066FF&quot;&gt;&amp;nbsp;Menus:&lt;/font&gt; ContextMenu, Menu, and ToolBar.&lt;br&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&amp;nbsp;&amp;nbsp; Navigation:&lt;/font&gt; Frame, Hyperlink, Page, 
NavigationWindow, and TabControl.&lt;br&gt;
&lt;font color=&quot;#0066FF&quot;&gt;&amp;nbsp;&amp;nbsp; Selection:&lt;/font&gt; CheckBox, ComboBox, 
ListBox, TreeView, RadioButton, and Slider.&lt;br&gt;
&amp;nbsp; &lt;font color=&quot;#0066FF&quot;&gt;&amp;nbsp;User Information:&lt;/font&gt; AccessText, Label, 
Popup, ProgressBar, StatusBar, TextBlock, and ToolTip.&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;&amp;nbsp; &lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

 
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/8774657899601821588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/8774657899601821588'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/applications-of-wpf.html' title='Applications of WPF'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs5cAr5E-iK117wxmKhEnSs8w1E4oWmP4zsiYLcKX33Gvq2x3AyGrxhD1d66hzMvi_5LftAcCnLQtMbpFTMQml_2F4e5-bBmelnCeiS882dMGzO_3Do1QKCGwFmuT2me-3zNKxD0EudN4/s72-c/wpf3.JPG" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-4839557047443143850</id><published>2012-08-07T19:46:00.000-07:00</published><updated>2012-08-12T22:38:31.983-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WPF Blog"/><title type='text'>Programming With WPF</title><content type='html'>
&lt;p dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Programming With 
WPF&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt; &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;The fundamental of&amp;nbsp; WPF 
programming is very&amp;nbsp; familiar to the Windows and web Application. You can&amp;nbsp; 
instantiate classes, set properties, call methods, and handle events, all using 
your favorite .NET Framework programming language, such as C# or Visual Basic. 
WPF exists as a subset of .NET Framework types that are for the most part 
located in the System.Windows namespace.&lt;b&gt;&lt;br&gt;
&lt;/b&gt;WPF includes additional programming constructs that enhance properties and 
events: Dependency Properties and Routed Events&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;Markup and Code-Behind&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt; &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;WPF offers additional programming 
enhancements for Windows client application development. One obvious enhancement 
is the ability to develop an application using both &lt;b&gt;markup&lt;/b&gt; and &lt;b&gt;
code-behind&lt;/b&gt;, an experience that ASP.NET developers should be familiar with. 
Development and maintenance costs are reduced because appearance-specific markup 
is not tightly coupled with behavior-specific code. &lt;/font&gt;&lt;/p&gt;
&lt;p&gt; &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Development is more efficient because 
designers can implement an application&#39;s appearance simultaneously with 
developers who are implementing the application&#39;s behavior.&lt;br&gt;
Multiple design tools can be used to implement and share XAML markup, to target 
the requirements of the application development contributors.&lt;br&gt;
Globalization and localization for WPF applications is greatly simplified&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;Markup&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt; &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;XAML is an XML-based 
markup language that is used to implement an application&#39;s appearance 
declaratively. It is typically used to create windows, dialog boxes, pages, and 
user controls, and to fill them with controls, shapes, and graphics.&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;br&gt;
&lt;img width=&quot;565&quot; height=&quot;165&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4SjRw-I_Y0Z9LBF_4XVW3qI0tmfO_mP5-kFNf-TcPaUyKUw4J2PE_dZiY1grzap0ZEahRyHDaXdzKi9pBu2i8go3LoK6dtG5LGGOmyN94gr29U7xRqcon4ypa4uO_nhmUXT4gofKIGwA/s1600/markup.JPG&quot;&gt;&lt;br&gt;
&amp;nbsp;&lt;/font&gt;&lt;/p&gt;



&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;Code-Behind&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;The main behavior of an application is to 
implement the functionality that responds to user interactions, including 
handling events (for example, clicking a menu, tool bar, or button) and calling 
business logic and data access logic in response. In WPF, this behavior is 
generally implemented in code that is associated with markup. This type of code 
is known as code-behind.&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;To understand Code behind i have taken 
example for Button click event to show the message box. For this just double 
click on Button you will go to the code behind of button and write the code as 
follows for button click event.&amp;nbsp;
&lt;/font&gt; &lt;/p&gt;
&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber1&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Collections&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Generic&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Linq;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Text&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Controls&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Data&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Documents&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Input&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Media&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Media&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Imaging&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Navigation&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Shapes&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;

&lt;font color=&quot;#0066FF&quot;&gt;namespace &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;WpfApplication1&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
    &lt;font color=&quot;#008000&quot;&gt;/// &amp;lt;summary&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#008000&quot;&gt;/// Interaction logic for Window1.xaml&lt;/font&gt;
    &lt;font color=&quot;#008000&quot;&gt;/// &amp;lt;/summary&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#0066FF&quot;&gt;public &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;partial &lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;class &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Window1 : &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Window&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
        &lt;font color=&quot;#0066FF&quot;&gt;public &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Window1()&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;InitializeComponent();&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;

        &lt;font color=&quot;#0066FF&quot;&gt;private void &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;button1_Click(&lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;object &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;sender, &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;RoutedEventArgs &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;e)&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
            &lt;font color=&quot;#008000&quot;&gt;// Show message box when button is clicked&lt;/font&gt;
          
            &lt;font color=&quot;#808000&quot;&gt;MessageBox&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Show(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Welcome to WPF Programming!&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;

&lt;/font&gt;&lt;/pre&gt;
&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p align=&quot;center&quot;&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;img width=&quot;300&quot; height=&quot;299&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0qBocL-G8vTqQ8uSMbBuvWi99YcvZBhSWGpYYH9Z3AYDXaeNei37j79IL1qL8aZywo-PtOxG22gCzYat5rgYFVXbVYEIsIN1_6AK5gnBmwS5LEmRWjr-giedpPcrzxRnbRx_MvlsAy-E/s1600/wpf3.JPG&quot;&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot;&gt;&amp;nbsp;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&amp;nbsp;&lt;/p&gt;

 





</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/4839557047443143850'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/4839557047443143850'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/programming-with-wpf.html' title='Programming With WPF'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4SjRw-I_Y0Z9LBF_4XVW3qI0tmfO_mP5-kFNf-TcPaUyKUw4J2PE_dZiY1grzap0ZEahRyHDaXdzKi9pBu2i8go3LoK6dtG5LGGOmyN94gr29U7xRqcon4ypa4uO_nhmUXT4gofKIGwA/s72-c/markup.JPG" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-3412010710733852071</id><published>2012-08-07T19:40:00.001-07:00</published><updated>2012-08-07T19:40:52.888-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight Blog"/><title type='text'>Limitations of  Silverlight and flash</title><content type='html'>


&lt;p&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;Limitations of&lt;/b&gt;&lt;/font&gt;&lt;b&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&amp;nbsp; 
Silverlight and flash&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;br&gt;

&lt;table width=&quot;100%&quot; height=&quot;184&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;16&quot;&gt;
    &lt;p align=&quot;center&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;
    Silverlight&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;16&quot; colspan=&quot;2&quot;&gt;
    &lt;p align=&quot;center&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Flash&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;16&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Now, we got moonlight for Linux user &lt;/font&gt;
    &lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;16&quot; colspan=&quot;2&quot;&gt;&lt;span class=&quot;Apple-style-span&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;This limitation doesn’t exist with Flash.&lt;/font&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;32&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight will 
    (naturally) be using the WMV and Silverlight will add to the use of the WMV 
    file format. &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;32&quot; colspan=&quot;2&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Flash 
    Video turned Flash into a mechanism for delivering media with far more 
    potential than any other solution that is .flv.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Now, we are able to read the data from web 
    services (including RESTful service), XML from URL. Silverlight 2 supports 
    Socket communication too.&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot; colspan=&quot;2&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Even flash is also 
    lacking this area. Flash can read data source in terms of XML or text from 
    some URL and can use it. Same thing silverlight also can read.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;The standard controls are included in 
    Silverlight 2 beta1.&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot; colspan=&quot;2&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Flash has rich set of 
    control library.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;20&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Once the accessibility 
    features are provided with Silverlight versions, any&amp;nbsp;existing test tools 
    that support driving UI through Accessibility will be fully enabled to 
    automate Silverlight applications&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;20&quot; colspan=&quot;2&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Flash test tools are 
    already in place.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Silverlight 1.0 does not 
    support GIF-file format.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot; colspan=&quot;2&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Support all image 
    formats.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Webcam and Microphone 
    support it not there.&lt;/span&gt;&lt;/span&gt;&lt;font size=&quot;2&quot;&gt;&lt;span style=&quot;font-family: Verdana&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;/span&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot; colspan=&quot;2&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Flash supports it.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Built in file 
    upload/download support is not available.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot; colspan=&quot;2&quot;&gt;&lt;font size=&quot;2&quot;&gt;
    &lt;span style=&quot;font-family: Verdana&quot; class=&quot;Apple-style-span&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Inbuilt 
    Upload/download support is there.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;The performance of 
    Silverlight and Flash will be&amp;nbsp;nearly the same. While Silverlight is using 
    XAML as description language in a non-compressed format size of Silverlight 
    component is large.In practical implementation of similar component in Flash 
    and Silverlight it has found that size of Silverlight component is 
    approximately 10-20 times larger than Flash component.&lt;/span&gt;&lt;/span&gt;&lt;font size=&quot;2&quot;&gt;&lt;span style=&quot;font-family: Verdana&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;/span&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;48%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Size of flash component 
    is smaller.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;2%&quot; height=&quot;19&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;We got .xap now. but there are a number of 
    people who like to get XAML with managed code. (SL 1.1 Alpha style)&lt;/font&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot; colspan=&quot;2&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Flash ships in single 
    component that is .swf. Images/video/sounds also incorporated in single .swf 
    package.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight 2 supports Socket communication 
    too.&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot; colspan=&quot;2&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Flash allows creating 
    XML Socket object.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;It has found in 
    practical implementation of image animation, at some extent flickering 
    occurs on image.&lt;/span&gt;&lt;/span&gt;&lt;font size=&quot;2&quot;&gt;&lt;span style=&quot;font-family: Verdana&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;/span&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot; colspan=&quot;2&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;To avoid this type of 
    flickering in flash, refresh layout or cache bitmap functionalities are 
    available.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;It has found in 
    practical implementation of video play, audio may start playing before 
    showing movie on screen. It has also found video can still continue to play 
    after redirecting to other page. It may be it is bug of current beta 
    release.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot; colspan=&quot;2&quot;&gt;&lt;font size=&quot;2&quot;&gt;
    &lt;span style=&quot;font-family: Verdana&quot; class=&quot;Apple-style-span&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Flash 
    doesn’t face these types of issues.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;XPF or XBAP is already there for that. &amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot; colspan=&quot;2&quot;&gt;&lt;font size=&quot;2&quot;&gt;
    &lt;span style=&quot;font-family: Verdana&quot; class=&quot;Apple-style-span&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;&lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Flash 
    can be played as Windows application also by downloading player for it. 
    Flash can be also packaged as .exe which can be deploying standalone.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Silverlight is new in 
    market and required time to get acceptance in market.&lt;/span&gt;&lt;/span&gt;&lt;font size=&quot;2&quot;&gt;&lt;span style=&quot;font-family: Verdana&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;/span&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot; colspan=&quot;2&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Flash is exist from many 
    years and have strong acceptance in market.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt; font-family: Verdana&quot;&gt;Can’t do sound 
    processing.&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot; colspan=&quot;2&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;With 
    some media file sound processing can possible.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;


</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/3412010710733852071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/3412010710733852071'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/limitations-of-silverlight-and-flash.html' title='Limitations of  Silverlight and flash'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-4139572041379714283</id><published>2012-08-07T19:39:00.000-07:00</published><updated>2012-08-07T19:40:52.893-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight Blog"/><title type='text'>Silverlight Feature comparison with Flash Features</title><content type='html'>
&lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;b&gt;&lt;font color=&quot;#0066FF&quot;&gt;Silverlight Feature comparison 
with Flash Features&lt;/font&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;br&gt;

&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;41%&quot; align=&quot;center&quot;&gt;
    &lt;p align=&quot;center&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;
    Silverllight&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot; align=&quot;center&quot;&gt;&lt;b&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Flash&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;41%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;Animation&lt;/b&gt; - Silverlight 
    supports the WPF animation model, which is not only time based instead of 
    frame based, but lets you define the start and end conditions and it will 
    figure out how to get there for you. No need to deal with matrixes like in 
    flash. Also no need to calculate positions on various frames. It just works.
    &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;The animation model is frame 
    based.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;41%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight uses XAML. XAML is 
    text based and can be output using a simple XML object.&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Flash stores its shapes using 
    binary shape records. In order to write shape definitions, you will need to 
    either license a 3rd party Flash file format SDK, or build your own. It 
    isn’t too difficult, but it does require a bit of a learning curve.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;41%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;The debugging with Silverlight 
    is simpler than with flash. &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;The debugging with flash is 
    harder than Silverlight.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;41%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight lets you embed 
    true type font information directly into your projects, and download that 
    information with the web client object. Downloader is no longer available 
    but we have web client.&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Dealing with fonts is fairly 
    complex with flash.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;41%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;XAML is declarative while 
    ActionScript is imperative. Using imperative languages to build UIs goes 
    back to the early days of DOS and Windows, when developers had to manage all 
    of the API nuances when interacting with graphical panes. &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;ActionScript is an imperative 
    language, which brings itself the pitfalls of imperative languages when 
    compared with declarative languages.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;41%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Additional Support for mobile 
    devices with desktop and desktop browsers:Silverlight is supported by 
    Windows mobile device as part of a new service that the NBL have built. 
    Silverlight applications and media streaming can be run on a mobile phone - 
    so Silverlight even at this stage is about more than just the desktop 
    browser and desktop market. Silverlight may be seen soon on the Symbian OS 
    too. &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Flash is not spread as across 
    the vast majority of both desktops and mobiles platforms, as compared to 
    Silverlight. Flash requires Flash Lite preinstalled on mobile devices.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;41%&quot;&gt;
    &lt;span style=&quot;font-family: Verdana; font-size: 11px&quot; class=&quot;Apple-style-span&quot;&gt;
    &lt;span style=&quot;font-size: 10pt&quot;&gt;Silverlight does not require video codec to 
    run industry standard videos like .WMV&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Flash requires video codec to 
    run .WMV videos.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;41%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight supports scalable 
    video formats from HD to mobile.&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Flash does not support 
    scalable video formats from HD to mobile&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;41%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight supports 
    Hardware-assisted editing and encoding solutions. &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Flash does not support 
    Hardware-assisted editing and encoding solutions.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;41%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight provides 
    End-to-end server and application platform. &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Flash does not provide 
    End-to-end server and application platform.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;41%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Media server licensing is 
    cheaper than flash. &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Media server licensing is 
    costier than Silverlight.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;41%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight supports Scalable 
    full screen video. &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;59%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Flash does not support 
    Scalable full screen video.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;



</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/4139572041379714283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/4139572041379714283'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/silverlight-feature-comparison-with.html' title='Silverlight Feature comparison with Flash Features'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-5469458087792060026</id><published>2012-08-07T19:23:00.001-07:00</published><updated>2012-08-12T22:33:48.124-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight Blog"/><title type='text'>How to Add XML File in Your Silverlight Project</title><content type='html'>&lt;p&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;How to Add XML File in Your Silverlight Project&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Add Xml File named as Employee.xml and write the code given below&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;287&quot; height=&quot;175&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha8yRdoM0XsP3nUFpOyPAbg7GvN7DLNuthXF1HAJnkVNg9X7-iym0gfR3OHYlZkLORrdyt6yfz3OKNkxmVnCMcv0HYtlfGXl5LKnYwXmMLB5TPmQeW-V6t2cgt2dFcGNV6w28U9JF7x78/s1600/xml.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;.XAML Code: &lt;/b&gt;Write this code in 
MainPage.xaml&lt;/font&gt;&lt;/p&gt;
&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;UserControl &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Class&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;SilverlightApplication14.MainPage&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;xmlns&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;xmlns:x&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;xmlns:d&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.microsoft.com/expression/blend/2008&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;xmlns:mc&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;mc:Ignorable&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;d&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;d:DesignHeight&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;300&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;d:DesignWidth&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;400&quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;    &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Grid &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;LayoutRoot&quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Background&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;White&quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;   &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;ListBox &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;EmployeeList&quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Width&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;400&quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Height&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;200&quot; 
&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;SelectionChanged&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;EmployeeList_SelectionChanged&quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;/&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;    &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Grid&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;UserControl&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;.CS Code: Write this code in 
MainPage.xaml.cs page&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber3&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Collections&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Generic;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Linq;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Net&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Controls;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Documents;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Input;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Media;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Media.Animation;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Shapes;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Xml&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;

&lt;font color=&quot;#0000ff&quot;&gt;namespace &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;SilverlightApplication14&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
   &lt;font color=&quot;#0000ff&quot;&gt;public &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;partial &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;class &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;MainPage : &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;UserControl&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
       &lt;font color=&quot;#0000ff&quot;&gt;public &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;MainPage()&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;InitializeComponent();&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;PopulateEmployeeList();&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
        &lt;font color=&quot;#0000ff&quot;&gt;private void &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;PopulateEmployeeList()&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
            &lt;font color=&quot;#808000&quot;&gt;XmlReader &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;reader = &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;XmlReader&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Create(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Employee.xml&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;reader.MoveToContent();&lt;/font&gt;
            &lt;font color=&quot;#0000ff&quot;&gt;while &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(reader.Read())&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(reader.NodeType == &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;XmlNodeType&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Element &amp;amp;&amp;amp; reader.Name&lt;br&gt; == &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;customer&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                    &lt;font color=&quot;#000000&quot;&gt;EmployeeList.Items.Add(&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;ListBoxItem()&lt;/font&gt;
                    &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                     &lt;font color=&quot;#000000&quot;&gt;Content = reader.GetAttribute(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;last&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;) +&lt;/font&gt;
                   &lt;font color=&quot;#ff00ff&quot;&gt;&quot;, &quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;+ reader.GetAttribute(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;first&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;) + &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot; (&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;+ reader.ReadInnerXml() + &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;)&quot;&lt;/font&gt;
                    &lt;font color=&quot;#000000&quot;&gt;});&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
                &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(reader.NodeType == &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;XmlNodeType&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.EndElement &amp;amp;&amp;amp; reader.Name ==&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Employee&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                    &lt;font color=&quot;#0000ff&quot;&gt;break&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;reader.Close();&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Run the Silverlight Application&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;



&lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;img width=&quot;464&quot; height=&quot;235&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgL-6gqaUH-H5z3r0RuRtDDw4pltZD4GcbZWOWffwZ-22sKUT4LEgfTI23tbG-QbWPgP1FTk-FVtUeQLBlz8HgUQAKYGeucXKSNPXo7J3zdACWi8KYWZt-pRRFuj8_WBh4AA8ttCHk_uIk/s1600/xmlOutput.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/5469458087792060026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/5469458087792060026'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/how-to-add-xml-file-in-your-silverlight.html' title='How to Add XML File in Your Silverlight Project'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha8yRdoM0XsP3nUFpOyPAbg7GvN7DLNuthXF1HAJnkVNg9X7-iym0gfR3OHYlZkLORrdyt6yfz3OKNkxmVnCMcv0HYtlfGXl5LKnYwXmMLB5TPmQeW-V6t2cgt2dFcGNV6w28U9JF7x78/s72-c/xml.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-81958272220306161</id><published>2012-08-07T19:17:00.000-07:00</published><updated>2012-08-12T22:30:24.408-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight Blog"/><title type='text'>3 Pixel Shader Effects in Silverlight</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;3 Pixel Shader Effects in Silverlight&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Write below code in your 
MainPage.xaml&lt;/font&gt;&lt;/p&gt;
&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;UserControl &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;x:Class=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;SilverlightApplication14.MainPage&quot;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;xmlns=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;xmlns:x=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;xmlns:d=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.microsoft.com/expression/blend/2008&quot;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;xmlns:mc=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;mc:Ignorable=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;d&quot;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;d:DesignHeight=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;300&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;d:DesignWidth=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;400&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;Grid x:Name=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;LayoutRoot&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Background=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;White&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;&amp;lt;Grid.ColumnDefinitions&amp;gt;&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;&amp;lt;ColumnDefinition /&amp;gt;&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;&amp;lt;ColumnDefinition /&amp;gt;&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;&amp;lt;/Grid.ColumnDefinitions&amp;gt;&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;&amp;lt;StackPanel Margin=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;8&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Grid.Column=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;0&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;&amp;lt;TextBlock &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Text&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;(Hi, Dear) A Drop Shadow!&quot; &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;FontSize&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;20&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;&amp;lt;TextBlock.Effect&amp;gt;&lt;/font&gt;
                    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;DropShadowEffect /&amp;gt;&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;&amp;lt;/TextBlock.Effect&amp;gt;&amp;lt;/TextBlock&amp;gt;&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;&amp;lt;TextBlock &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Text&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;(Helloooo) A Slight Drop Shadow!&quot; &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;FontSize&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;20&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;&amp;lt;TextBlock.Effect&amp;gt;&lt;/font&gt;
                    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;DropShadowEffect ShadowDepth=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;2&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;/&amp;gt;&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;&amp;lt;/TextBlock.Effect&amp;gt;&amp;lt;/TextBlock&amp;gt;&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;&amp;lt;TextBlock &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Text&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;(Good Bye) Blur Effect!&quot; &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;FontSize&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;20&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;&amp;lt;TextBlock.Effect&amp;gt;&amp;lt;BlurEffect /&amp;gt;&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;&amp;lt;/TextBlock.Effect&amp;gt;&amp;lt;/TextBlock&amp;gt;&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;&amp;lt;/StackPanel&amp;gt;&amp;lt;/Grid&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;UserControl&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br&gt;

&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;The Design page shown like&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;



&lt;p dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;img width=&quot;570&quot; height=&quot;375&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrpSCgndtTWKB8GnQr6XieLUpDhA6pLV2ivoZRYHuUyCP7Ztfud-RnHrF64JFCgLrjFGiW9nHCTmNanOVqn4VUFy7dGxX1OzAbl4gyMlq8LDymdZKeinY9u0Io3WO1sW7fQvfvsNvZ_fw/s1600/text.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;



&lt;p dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Run the Silverlight Application&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;



&lt;p dir=&quot;ltr&quot;&gt;&lt;img width=&quot;523&quot; height=&quot;171&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6hRNaGSuHbtJNTZukpRH_PjLmgqKwB13DYwUhhkDziBvWKnik4FdqkbKV3eLDP4SX22nYbgmj_aNcZ8Ke8oYB3Sd_clZ0o8OdqjkKXxLmBro72-XwE6j21m4q4VdYpVuw284nkCAhO_8/s1600/text1.gif&quot;&gt;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/81958272220306161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/81958272220306161'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/3-pixel-shader-effects-in-silverlight.html' title='3 Pixel Shader Effects in Silverlight'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrpSCgndtTWKB8GnQr6XieLUpDhA6pLV2ivoZRYHuUyCP7Ztfud-RnHrF64JFCgLrjFGiW9nHCTmNanOVqn4VUFy7dGxX1OzAbl4gyMlq8LDymdZKeinY9u0Io3WO1sW7fQvfvsNvZ_fw/s72-c/text.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-6019023788276832757</id><published>2012-08-07T19:13:00.000-07:00</published><updated>2012-08-12T22:28:26.155-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight Blog"/><title type='text'>Rotate Image in 3D direction using Silverlight</title><content type='html'>&lt;p&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;Rotate Image in 3D direction using Silverlight&lt;/b&gt;
&lt;/font&gt;&lt;/p&gt;



&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Add Three ToggelButton and an image in your Project&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;img width=&quot;287&quot; height=&quot;176&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7-IieJjOkNMNrLuvdSikRYjSbfOcIiHJryNWsLX6TfjcKySJ1HnHKWRGZERVtY5Ua55dwRzJu70le2Iq_pThqFQCMK9y_Ku6VwuB-aBuF7M-0IDA-xsYnqU2OhcMO8x1U5SFxUpxOXUc/s1600/3dImage.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Write below code in your MainPage.xaml.&lt;/font&gt;&lt;/p&gt;
&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;5&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;UserControl &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Class&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;SilverlightApplication14.MainPage&quot;&lt;/font&gt;
    &lt;font color=&quot;#ff0000&quot;&gt;xmlns&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;xmlns:x&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;xmlns:d&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.microsoft.com/expression/blend/2008&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;xmlns:mc&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;mc:Ignorable&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;d&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;d:DesignHeight&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;300&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;d:DesignWidth&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;400&quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;    &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Grid &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;LayoutRoot&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Background&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;White&quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;        &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Grid&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Resources&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Storyboard &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;RotateZStoryBoard&quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;                &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;DoubleAnimation &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Storyboard&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;TargetName&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;rotation&quot; 
 &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Storyboard&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;TargetProperty&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;RotationZ&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;From&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;0.0&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;To&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;360.0&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Duration&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;0:0:10&quot;&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;RepeatBehavior&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Forever&quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;/&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;            &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Storyboard&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Storyboard &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;RotateYStoryBoard&quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;                &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;DoubleAnimation &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Storyboard&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;TargetName&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;rotation&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;
 Storyboard&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;TargetProperty&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;RotationY&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;From&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;0.0&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;To&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;360.0&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Duration&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;0:0:10&quot;&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;RepeatBehavior&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Forever&quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;/&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;            &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Storyboard&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Storyboard &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;RotateXStoryBoard&quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;                &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;DoubleAnimation &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Storyboard&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;TargetName&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;rotation&quot; 
 &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Storyboard&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;TargetProperty&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;RotationX&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;From&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;0.0&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;To&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;360.0&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Duration&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;0:0:10&quot;&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;RepeatBehavior&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Forever&quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;/&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;            &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Storyboard&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Grid&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Resources&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Grid&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;RowDefinitions&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;            &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;RowDefinition &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Height&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;30&quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;/&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;RowDefinition &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;/&amp;gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;  &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Grid&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;RowDefinitions&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;        &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;StackPanel &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Grid&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Row&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;0&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Orientation&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Horizontal&quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;            &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;ToggleButton &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;rotateX&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Width&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;90&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Content&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Rotate X-Axis&quot;&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Click&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;rotateX_Click&quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;/&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;            &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;ToggleButton &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;rotateY&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Width&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;90&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Content&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Rotate Y-Axis&quot;&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Click&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;rotateY_Click&quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;/&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;            &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;ToggleButton &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;rotateZ&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Width&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;90&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Content&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Rotate Z-Axis&quot;&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Click&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;rotateZ_Click&quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;/&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;        &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;StackPanel&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Image &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Grid&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Row&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;1&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Margin&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;0 50 0 0&quot;  
 &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Stretch&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;None&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Source&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;/SilverlightApplication14;component/&lt;br&gt;Indian%20Flag%203.jpg&quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;            &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Image&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Projection&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;                &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;PlaneProjection &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;rotation&quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;/&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Image&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Projection&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Image&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&amp;lt;/&lt;br&gt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Grid&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&amp;lt;/&lt;br&gt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;UserControl&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;The Design shown like:&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;
&lt;img width=&quot;420&quot; height=&quot;391&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoXEG37EgXRgSS1W-hkJsVRQPBiAxC4hAO-Vk44YZ6ec4IugRqKQmZu6lXSevQSQLVX_KvcPP4yW4GyXgmnwYpY504zf81mExZKMf9vgupfpSqH85ppTuuWTh1nv5PIrKKOpWgA4662Ms/s1600/3dImage1.gif&quot;&gt;&lt;/p&gt;
&lt;br&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;MainPge.xaml.cs Code:&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;table  width=&quot;100%&quot; height=&quot;1012&quot; cellspacing=&quot;0&quot; cellpadding=&quot;5&quot; border=&quot;1&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td  width=&quot;100%&quot; height=&quot;1012&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Collections&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Generic;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Linq;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Net&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Controls;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Documents;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Input;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Media;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Media.Animation;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Windows&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Shapes;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Xml&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;namespace &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;SilverlightApplication14&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
    &lt;font color=&quot;#0000ff&quot;&gt;public &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;partial &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;class &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;MainPage : &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;UserControl&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
        &lt;font color=&quot;#0000ff&quot;&gt;public &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;MainPage()&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;InitializeComponent();   &lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
        &lt;font color=&quot;#0000ff&quot;&gt;private void &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;rotateX_Click(&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;object &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;sender, RoutedEventArgs e) &lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
            &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(rotateX.IsChecked.Value)&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;RotateXStoryBoard.Begin();&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
            &lt;font color=&quot;#0000ff&quot;&gt;else&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;RotateXStoryBoard.Stop();&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
        &lt;font color=&quot;#0000ff&quot;&gt;private void &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;rotateY_Click(&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;object &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;sender, RoutedEventArgs e)&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
            &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(rotateY.IsChecked.Value)&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;RotateYStoryBoard.Begin();&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
            &lt;font color=&quot;#0000ff&quot;&gt;else&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;RotateYStoryBoard.Stop();&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
        &lt;font color=&quot;#0000ff&quot;&gt;private void &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;rotateZ_Click(&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;object &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;sender, RoutedEventArgs e)&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
            &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(rotateZ.IsChecked.Value)&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;RotateZStoryBoard.Begin();&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
            &lt;font color=&quot;#0000ff&quot;&gt;else&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;RotateZStoryBoard.Stop();&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
        &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;  
    &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;Run Your Silverlight Aplication (Click on Rotate Z-Axis)&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;img width=&quot;491&quot; height=&quot;532&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmtzqztfDtpws3vhFJdYB_GkgN2ch7_0DPyvU0a1Hw_dXWFLUPWeqpQg2W48sTa5B1FT1vW5e2RitjUcn9QFdpuEaBMO6HQwMhwIvvG97p7lgO0P_yFvgAJvi8pW_KeupU2F0fJMogU9I/s1600/3dImage2.gif&quot;&gt;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/6019023788276832757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/6019023788276832757'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/rotate-image-in-3d-direction-using.html' title='Rotate Image in 3D direction using Silverlight'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7-IieJjOkNMNrLuvdSikRYjSbfOcIiHJryNWsLX6TfjcKySJ1HnHKWRGZERVtY5Ua55dwRzJu70le2Iq_pThqFQCMK9y_Ku6VwuB-aBuF7M-0IDA-xsYnqU2OhcMO8x1U5SFxUpxOXUc/s72-c/3dImage.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-5538574834111797025</id><published>2012-08-07T19:07:00.002-07:00</published><updated>2012-08-12T22:18:35.077-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight Blog"/><title type='text'>First Application of Silverlight</title><content type='html'>&lt;b&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;First Application of Silverlight&amp;nbsp; &lt;/font&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;b&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Step 1:&lt;/font&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&amp;nbsp; 
Open a New Project.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;img width=&quot;386&quot; height=&quot;175&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTmSJb7pC5J0BjoFtV94iDRods-0VYTjyOwzFNHiS9mlCEPMPbR9jwyYfupN0QHUXuQ5_MmHQcY0EMTSJXB_bxiUYuwJ9DKhqA4z7haWlj4KxHIJhy1fi5C7grNOaXQUpnFlDcKOBW3HE/s1600/first.gif&quot;&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0066FF&quot;&gt;Step 2:&lt;/font&gt; Select a Silverlight Application and press OK&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;img width=&quot;503&quot; height=&quot;437&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-r0agOxHdAMXPBBRqQ1qO4vNnIEXOorpcIsXW72rkOc5DBRmeppR2Ta6VEptNJS7wYvcJ12NGP-SyceUSjFILC-Zp-kqEDz8WIzr61a69XOwnjf7rj9YLDmi9WVEJvfnDRoortGxhAkI/s1600/first1.gif&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0066FF&quot;&gt;Step 3:&lt;/font&gt; At beginning we take a example of Canvas 
Control. Drag a canvas control and TextBlock control from ToolBox. you can move 
these as your choice.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;br&gt;

&lt;img width=&quot;462&quot; height=&quot;373&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwAAewMvPjS6tTI6RlQLd4hpAYJiRWvWixyGCp6_98GXbXA2kx7NorjIbG2h6TF2ltGY5Rk6ZPKYmAFO7YnCN_7NEAZn7OLlm0atU1faNiXR8Om1wNzCi11jWgxpIrec60SvUSWIAiCrU/s1600/first2.gif&quot;&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Design Code:&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;UserControl &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;x:Class&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;SilverlightApplication8.MainPage&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;xmlns&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;xmlns:x&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.microsoft.com/winfx/2006/xaml&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;xmlns:d&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.microsoft.com/expression/blend/2008&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;xmlns:mc&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://schemas.openxmlformats.org/markup-compatibility/2006&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;mc:Ignorable&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;d&quot;&lt;/font&gt;
    &lt;font color=&quot;#800080&quot;&gt;d:DesignHeight&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;300&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;d:DesignWidth&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;400&quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;    &lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;    &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Canvas&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt; x:&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;canvas1&quot;&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;        &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;TextBlock &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Canvas&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Left&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;10&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Canvas&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Top&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;10&quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Height&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;23&quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;textBlock1&quot;&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Text&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Microsoft&quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;/&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;        &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;TextBlock &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Canvas&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Left&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;37&quot; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Canvas&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;Top&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;39&quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Height&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;23&quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Name&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;textBlock2&quot;&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Text&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Silverlight&quot; &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;/&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;    &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;Canvas&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;

&lt;font color=&quot;#0000ff&quot;&gt;&amp;lt;/&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;UserControl&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;


&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0066FF&quot;&gt;Step 4:&lt;/font&gt; Run the application&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;img width=&quot;465&quot; height=&quot;230&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqS1SxIdkGyJDXLQA-v3jOhsPvKKHsB0dH1IAJK4y9GtqPoISmWB3QsTtytE6VmCFLhyphenhyphen2xVHGjcSbQ6zWnfPYcdeD9DB7rBbfudCl5XShUu2HgLWbZpvtXfWxWP7DDB908bi1iwS_cUx0/s1600/first3.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/5538574834111797025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/5538574834111797025'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/first-application-of-silverlight.html' title='First Application of Silverlight'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTmSJb7pC5J0BjoFtV94iDRods-0VYTjyOwzFNHiS9mlCEPMPbR9jwyYfupN0QHUXuQ5_MmHQcY0EMTSJXB_bxiUYuwJ9DKhqA4z7haWlj4KxHIJhy1fi5C7grNOaXQUpnFlDcKOBW3HE/s72-c/first.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-7509836490256900506</id><published>2012-08-07T11:02:00.001-07:00</published><updated>2012-08-07T11:03:27.895-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight Blog"/><title type='text'>Silverlight 2.0</title><content type='html'>

&lt;p&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;Silverlight 2.0 &lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight 2.0 includes a version of the .NET 
Framework, with the full Common Language Runtime as .NET Framework 3.0; so it 
can execute any .NET language including VB.NET and C# code. Unlike the CLR 
included with .NET Framework, multiple instances of the CoreCLR included in 
Silverlight can be hosted in one process. With this, the XAML layout markup file 
(.xaml file) can be augmented by code-behind code, written in any .NET language, 
which contains the programming logic.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;This version ships with more than 30 UI 
controls(including TextBox, CheckBox, Slider, ScrollViewer, and Calendar 
controls), for two-way databinding support, automated layout management (by 
means of StackPanel, Grid etc) as well as data-manipulation controls, such as 
DataGrid and ListBox. UI controls are skinnable using a template-based approach.&lt;br&gt;
&lt;br&gt;&lt;br&gt;


&lt;b&gt;&lt;font color=&quot;#0066FF&quot;&gt;Main features of Silverlight 2.0 &lt;/font&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;A built-in CLR engine that delivers a super 
  high performance execution environment for the browser.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight uses the same core CLR engine 
  that we ship with the full .NET Framework.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight includes a rich framework 
  library of built-in classes that you can use to develop browser-based 
  applications.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight includes support for a WPF UI 
  programming model. The Silverlight 1.1 Alpha enables you to program your UI 
  with managed code/event handlers, and supports the ability to define and use 
  encapsulated UI controls.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight provides a managed HTML DOM API 
  that enables you to program the HTML of a browser using any .NET language.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight doesn&#39;t require ASP.NET to be 
  used on the backend web-server (meaning you could use Silverlight with with 
  PHP on Linux if you wanted to).&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight 2 includes Deep Zoom, a 
  technology derived from Microsoft Live Labs Seadragon. It allows users to zoom 
  into, or out of, an image (or a collage of images), with smooth transitions, 
  using the mouse wheel. The images can scale from 2 or 3 megapixels in 
  resolution into the gigapixel range, but the user need not wait for it to be 
  downloaded entirely; rather, Silverlight downloads only the parts in view, 
  optimized for the zoom level being viewed.&lt;/font&gt;&lt;/li&gt;
  &lt;li&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Silverlight 2 also allows limited filesystem 
  access to Silverlight applications. It can use the operating system&#39;s native 
  file dialog box to browse to any file (to which the user has access). &lt;/font&gt;
  &lt;/li&gt;
&lt;/ul&gt;


</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/7509836490256900506'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/7509836490256900506'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/silverlight-20.html' title='Silverlight 2.0'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-3246039816432814022</id><published>2012-08-07T11:00:00.000-07:00</published><updated>2012-08-07T11:00:17.530-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax Blog"/><title type='text'>How Install Ajax?</title><content type='html'>&lt;p&gt;&lt;font color=&quot;#0033cc&quot;&gt;&lt;font color=&quot;#000066&quot;&gt;In this section you will learn how you can install Ajax in eclipse 3.2 or in ASP.net&amp;nbsp; .&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#0033cc&quot;&gt;&lt;font color=&quot;#000066&quot;&gt;For Eclipse&amp;nbsp; jMaki is&amp;nbsp; Plugin to install this plugin for the Eclipse 3.2 or Eclipse 3.3 we have follow following steps &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#0033cc&quot;&gt;&lt;font color=&quot;#000066&quot;&gt;1. Start Eclipse 3.3.X or Eclipse 3.2.X (The WTP (Web Tools Platform) plugins must be installed.)&lt;br&gt;
2. Start the installation procedure : Go to&amp;nbsp; &lt;strong&gt;Help&amp;gt;Software Updates&amp;gt;Find and Install&amp;nbsp;&lt;/strong&gt; in menu item.&lt;br&gt;
3. Select &quot;&lt;strong&gt;Search for new features to install&lt;/strong&gt;&quot; option and click Next.&lt;br&gt;
4. Click &quot;&lt;strong&gt;New Remote Site&lt;/strong&gt;&quot;.&lt;br&gt;
5. Enter&amp;nbsp; a name (ie &lt;strong&gt;jMaki Eclipse Plugin&lt;/strong&gt; ), enter the URL &lt;strong&gt;https://ajax.dev.java.net/eclipse&lt;/strong&gt;&lt;br&gt;
6. Select this &lt;strong&gt;new site&lt;/strong&gt; in the Sites to include in search list and click &lt;strong&gt;Next.&lt;/strong&gt;&lt;br&gt;
7. Select jMaki for Eclipse in the &lt;strong&gt;&quot;Select the features to install&lt;/strong&gt;&quot; list and click &lt;strong&gt;Finish.&lt;/strong&gt;&lt;br&gt;
8. &lt;strong&gt;Accept&lt;/strong&gt; the terms of the license agreements and click &lt;strong&gt;Next.&lt;/strong&gt;&lt;br&gt;
9. &lt;strong&gt;Verify&lt;/strong&gt; that the install location is your Eclipse installation directory, otherwise select the correct one, click &lt;strong&gt;Finish.&lt;/strong&gt;&lt;br&gt;
10. A warning will appear telling the feature is not signed. &lt;strong&gt;Ignore&lt;/strong&gt; and click &lt;strong&gt;Install&lt;/strong&gt; to continue.&lt;br&gt;
11. &lt;strong&gt;Accept&lt;/strong&gt; to &lt;strong&gt;restart&lt;/strong&gt; the workbench to load jMaki into the workbench.&lt;br&gt;
&lt;br&gt;After Eclipse is restarted&amp;nbsp; the plugin is correctly installed if you see the jMaki widgets in the Eclipse Snippets view.&lt;br&gt;
&lt;br&gt;If this does not work.Then you can do menauly .Download the plugin the jars&amp;nbsp; file&amp;nbsp; from&amp;nbsp; https://ajax.dev.java.net/eclipse/plugins/org.jvnet.ajax.eclipse.jmaki_1.8.0.jar&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#0033cc&quot;&gt;&lt;font color=&quot;#000066&quot;&gt;Operating Systems&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Windows Server 2003&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Windows XP Home Edition&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Windows XP Professional&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Windows Vista&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Any Windows operating system version (including Windows 2000) that supports the Microsoft .NET Framework version 2.0. Note that support will be limited to the terms of support for that platform.&lt;br&gt;
&lt;br&gt;Required Software&lt;br&gt;
&lt;br&gt;&amp;nbsp;.NET Framework 2.0 or version 3.0.&lt;br&gt;
&amp;nbsp;&amp;nbsp; I E 5.01 +&lt;br&gt;
&lt;br&gt;Optional Software&lt;br&gt;
&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft Visual Studio 2005 or Visual Web Developer Express Edition&lt;br&gt;
&lt;br&gt;&lt;strong&gt;Installing Microsoft ASP.NET AJAX&lt;/strong&gt;&lt;br&gt;
&lt;br&gt;Steps to install ASP.NET AJAX.&lt;br&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;

</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/3246039816432814022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/3246039816432814022'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/how-install-ajax.html' title='How Install Ajax?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-6373402539181654628</id><published>2012-08-07T10:51:00.000-07:00</published><updated>2012-08-07T11:00:17.533-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ajax Blog"/><title type='text'>Ajax Advantage</title><content type='html'>&lt;p&gt;&lt;font color=&quot;#000066&quot;&gt;Q : What is Ajax Advantage?&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color=&quot;#000066&quot;&gt;AJAX web applications are browser and platform independent.The web&amp;nbsp; applications in AJAX supported by all major browsers.But it support only&amp;nbsp; &lt;/font&gt;&lt;font color=&quot;#000066&quot;&gt;&lt;em&gt;&lt;strong&gt;IE 5.0+, Safari 1.2+, Mozilla 1.0+ / Firefox, Opera 8+, and Netscape 7+&lt;/strong&gt;&lt;/em&gt;. &lt;br&gt;
&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#000066&quot;&gt;AJAX is used to make a better Internet Applications(web applications).&lt;br&gt;
&lt;br&gt;Ajax web base applications are easier to install and support, and easier to develop.&lt;br&gt;
&lt;br&gt;With AJAX, Internet applications(Web applications) can be made richer and more user-friendly.&lt;br&gt;
&lt;br&gt;AJAX Uses HTTP Requests . In traditional JavaScript if we want to get informations from a server (from database or a file ), or user have send information to a server. Then we will have to make an HTML form .Which will send data to server through&amp;nbsp; GET or POST method. The user will have to click on &quot;Submit&quot; button to send/get the information.This mean we have send whole data of form and we have wait for the server to respond results.Then the server sends a new page as a results. This mean there is refresh of page.Because the server returns a new page each time the user submits input. So the traditional web applications was slower and tend to be less user-friendly. With object of &lt;strong&gt;XMLHttpRequest&lt;/strong&gt; we can communicates directly with the server and with HTTP request, a web page can make a request to, and get a response from a web server - without reloading the page.&lt;/font&gt;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/6373402539181654628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/6373402539181654628'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/ajax-advantage.html' title='Ajax Advantage'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-1455563976754807076</id><published>2012-08-07T10:48:00.000-07:00</published><updated>2012-08-07T10:48:14.069-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript Blog"/><title type='text'>JavaScript Loops</title><content type='html'>
&lt;p&gt;&lt;b&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;JavaScript Loops&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;The for Loop&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;How many times the script should run then we used for loop.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;Syntax&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;for &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(variable=startvalue;variable&amp;lt;=endvalue;variable=variable+increment)&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
&lt;font color=&quot;#008000&quot;&gt;//code &lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;&lt;font color=&quot;#0066FF&quot;&gt;The while Loop&lt;/font&gt;&lt;/b&gt;&lt;br&gt;
&lt;br&gt;
The while loop loops through a block of code while a specified condition is 
true.&lt;br&gt;
&lt;br&gt;
&lt;b&gt;&lt;font color=&quot;#0066FF&quot;&gt;Syntax&lt;/font&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber3&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0000ff&quot;&gt;while &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(variable&amp;lt;=endvalue)&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
&lt;font color=&quot;#008000&quot;&gt;//code &lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Step 1. Written below code in your application.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber4&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;lt;html&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;body&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;script type=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;text/javascript&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;var &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;i=&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;for &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(i=&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;i&amp;lt;=&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;10&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;i++)&lt;/font&gt;
  &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
  &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.write(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;The number is &quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;+ i);&lt;/font&gt;
  &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.write(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;br /&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
  &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/script&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/body&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/html&amp;gt;&lt;/font&gt;
&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;



&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Step 2. Run the Application. Click on Button.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;292&quot; height=&quot;315&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD43Ikn8tdwHpaU6rOtPsYT-G39o4uI3eqosRzAH9kSZVo0elzIoBcwg03NuHFaq_ekGVGcWN2BfUT95LnSb4CQrKSBQkMgFZP_N3JeI_D0wBAfw-u-gSOlMLLFCDvhpLwlN1YsuzuPeY/s1600/for.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;





</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/1455563976754807076'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/1455563976754807076'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/javascript-loops.html' title='JavaScript Loops'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjD43Ikn8tdwHpaU6rOtPsYT-G39o4uI3eqosRzAH9kSZVo0elzIoBcwg03NuHFaq_ekGVGcWN2BfUT95LnSb4CQrKSBQkMgFZP_N3JeI_D0wBAfw-u-gSOlMLLFCDvhpLwlN1YsuzuPeY/s72-c/for.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-7792061000010982552</id><published>2012-08-07T10:45:00.000-07:00</published><updated>2012-08-07T10:48:14.087-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript Blog"/><title type='text'>Show a Military Clock and ordinary clock</title><content type='html'>
&lt;p&gt;&lt;b&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Show a Military Clock and ordinary clock&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Step 1. Written below code in your application.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;html&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;SCRIPT&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;var &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;now;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;function &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;showMilitaryTime() {&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.theForm.showMilitary[&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;].checked) {&lt;/font&gt;
          &lt;font color=&quot;#0000ff&quot;&gt;return true&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;return false&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;function &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;showTheHours(theHour) {&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(showMilitaryTime() || (theHour &amp;gt; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;0 &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;amp;&amp;amp; theHour &amp;lt; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;13&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)) {&lt;/font&gt;
          &lt;font color=&quot;#0000ff&quot;&gt;return &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(theHour);&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(theHour == &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;) {&lt;/font&gt;
          &lt;font color=&quot;#0000ff&quot;&gt;return &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;12&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;return &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(theHour - &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;12&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;function &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;showZeroFilled(inValue) {&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(inValue &amp;gt; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;9&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;) {&lt;/font&gt;
          &lt;font color=&quot;#0000ff&quot;&gt;return &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;:&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;+ inValue;&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;return &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;:0&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;+ inValue;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;function &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;showAmPm() {&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(showMilitaryTime()) {&lt;/font&gt;
          &lt;font color=&quot;#0000ff&quot;&gt;return &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(now.getHours() &amp;lt; &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;12&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;) {&lt;/font&gt;
          &lt;font color=&quot;#0000ff&quot;&gt;return &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot; am&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;return &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot; pm&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;function &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;showTheTime() {&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;now = &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Date&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;();&lt;/font&gt;
     &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.theForm.showTime.value =&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;showTheHours(now.getHours()) +&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;showZeroFilled(now.getMinutes()) +&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;showZeroFilled(now.getSeconds()) +&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;showAmPm();&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;setTimeout(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;showTheTime()&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;, &lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;1000&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/SCRIPT&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;BODY onLoad=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;showTheTime();&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;FORM NAME=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;theForm&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;&amp;lt;INPUT TYPE=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;TEXT&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;NAME=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;showTime&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;Display Military Time?&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;&amp;lt;INPUT TYPE=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;RADIO&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;NAME=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;showMilitary&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;CHECKED&amp;gt;Yes&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;&amp;lt;INPUT TYPE=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;RADIO&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;NAME=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;showMilitary&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;No&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/FORM&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/html&amp;gt;&lt;/font&gt;
&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;



&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Step 2. Run the Application. Click on Button.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;406&quot; height=&quot;337&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRGGQgwuZJL9LBxl0nDK41RZIPoRcd9TQcM0c3KHsi2sF_I5T9AWOvuJ7ujuHu-KTDUMV9-A_rQF3dbupVgrVOYCKi32bqAPIik5ikAxy72seLHp6bMBbzGGgULhJYTrx38QS6E2qUpNg/s1600/clock.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;



</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/7792061000010982552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/7792061000010982552'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/show-military-clock-and-ordinary-clock.html' title='Show a Military Clock and ordinary clock'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRGGQgwuZJL9LBxl0nDK41RZIPoRcd9TQcM0c3KHsi2sF_I5T9AWOvuJ7ujuHu-KTDUMV9-A_rQF3dbupVgrVOYCKi32bqAPIik5ikAxy72seLHp6bMBbzGGgULhJYTrx38QS6E2qUpNg/s72-c/clock.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-5682938114699007448</id><published>2012-08-07T10:43:00.000-07:00</published><updated>2012-08-12T22:12:08.521-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript Blog"/><title type='text'>How To validate a Form in ASP. Net</title><content type='html'>
&lt;p&gt;&lt;b&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;How To validate a Form in ASP. Net &lt;/font&gt;
&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Step 1. Written below code in your application.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;JavaScript Code &lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;script language=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;javascript&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;type=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;text/javascript&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;function &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;validate()&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox1.ClientID%&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).value==&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
      &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                 &lt;font color=&quot;#000000&quot;&gt;alert(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Name can not be blank&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
                 &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox1.ClientID%&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).focus();&lt;/font&gt;
                 &lt;font color=&quot;#0000ff&quot;&gt;return false&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
      &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
      
      &lt;font color=&quot;#0000ff&quot;&gt;if&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox2.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).value==&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
      &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                 &lt;font color=&quot;#000000&quot;&gt;alert(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Email id can not be blank&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
                &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox2.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).focus();&lt;/font&gt;
                &lt;font color=&quot;#0000ff&quot;&gt;return false&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
      &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;var &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;emailPat= /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;2&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;,&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;4&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;})$/;&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;var &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;emailid=&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox2.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).value;&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;var &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;matchArray = emailid.match(emailPat);&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(matchArray == &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;null&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
               &lt;font color=&quot;#000000&quot;&gt;alert(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Your email address seems incorrect. Please try again.&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
               &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox2.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).focus();&lt;/font&gt;
               &lt;font color=&quot;#0000ff&quot;&gt;return false&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
    &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox3.ClientID%&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).value==&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
      &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
                 &lt;font color=&quot;#000000&quot;&gt;alert(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Contact Number can not be blank&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
                 &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox3.ClientID%&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).focus();&lt;/font&gt;
                 &lt;font color=&quot;#0000ff&quot;&gt;return false&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
      &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;var &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;digits=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;0123456789&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;var &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;temp;&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;for &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;var &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;i=&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;i&amp;lt;&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox3.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).value.&lt;br&gt;length;i++)&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;temp=&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox3.ClientID%&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).value.&lt;br&gt;substring(i,i+&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;1&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(digits.indexOf(temp)==-&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;1&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
      &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
      &lt;font color=&quot;#000000&quot;&gt;alert(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Please enter correct Contact Number&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
      &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox3.ClientID%&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).focus();&lt;/font&gt;
      &lt;font color=&quot;#0000ff&quot;&gt;return false&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
      &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
      &lt;font color=&quot;#0000ff&quot;&gt;if&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox5.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).value==&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
      &lt;font color=&quot;#000000&quot;&gt;alert(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;City can not be blank&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
     &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox5.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).value;&lt;/font&gt;
      &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox5.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).focus();&lt;/font&gt;
      &lt;font color=&quot;#0000ff&quot;&gt;return false&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
      &lt;font color=&quot;#0000ff&quot;&gt;if&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox6.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).value==&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;alert(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Password can not be blank&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
     &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox6.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).value;&lt;/font&gt;
     &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox6.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).focus();&lt;/font&gt;
      &lt;font color=&quot;#0000ff&quot;&gt;return false&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
    &lt;font color=&quot;#0000ff&quot;&gt;if&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox7.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).value==&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;alert(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Please Re-Enter Password &quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
   &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox7.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).value;&lt;/font&gt;
   &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.getElementById(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&amp;lt;%=TextBox7.ClientID %&amp;gt;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;).focus();&lt;/font&gt;
    &lt;font color=&quot;#0000ff&quot;&gt;return false&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
     &lt;font color=&quot;#0000ff&quot;&gt;return true&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/script&amp;gt;&lt;/font&gt;

&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;



&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Default.aspx Code&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber3&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;%@ Page Language=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;C#&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;AutoEventWireup=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;true&quot;  &lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;CodeFile=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Default.aspx.cs&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Inherits=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;_Default&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;%&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;!DOCTYPE html PUBLIC &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &lt;/font&gt;
&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;html xmlns=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://www.w3.org/1999/xhtml&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;head runat=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;title&amp;gt;&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Form &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Validation&amp;lt;/title&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;/head&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;body&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;form id=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;form1&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;runat=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;script language=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;javascript&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;

&lt;font color=&quot;#008000&quot;&gt;//Write JavaScript Code&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/script&amp;gt;&lt;/font&gt;
  &lt;font color=&quot;#000000&quot;&gt;&amp;lt;div&amp;gt;&lt;/font&gt;
  &lt;font color=&quot;#000000&quot;&gt;&amp;lt;table &amp;gt;&lt;/font&gt;
  &lt;font color=&quot;#000000&quot;&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Name&amp;lt;/td&amp;gt;&lt;/font&gt;
  &lt;font color=&quot;#000000&quot;&gt;&amp;lt;td&amp;gt;&amp;lt;asp:TextBox ID=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;TextBox1&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;runat=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server&quot;&lt;/font&gt;
             &lt;font color=&quot;#000000&quot;&gt;Width=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;193px&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;&amp;lt;tr&amp;gt; &amp;lt;td&amp;gt;Email ID&amp;lt;/td&amp;gt;&lt;/font&gt;
          &lt;font color=&quot;#000000&quot;&gt;&amp;lt;td&amp;gt;&amp;lt;asp:TextBox ID=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;TextBox2&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;runat=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Width=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;193px&quot; &lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;ToolTip=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Enter unique Email ID&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;AutoPostBack=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;True&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Contact Number&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&lt;/font&gt;
              &lt;font color=&quot;#000000&quot;&gt;&amp;lt;asp:TextBox ID=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;TextBox3&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;runat=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Width=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;193px&quot; &lt;/font&gt;
  &lt;font color=&quot;#000000&quot;&gt;AutoPostBack=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;True&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt; Sex&amp;lt;/td&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;td&amp;gt;&amp;lt;asp:RadioButton ID=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;RadioButton1&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;runat=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server&quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Text&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Male&quot; &lt;br&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;GroupName=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;a&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;/&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;asp:RadioButton ID=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;RadioButton2&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;runat=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server&quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Text&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Female&quot;&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;GroupName=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;a&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;/&amp;gt;&amp;lt;/td&amp;gt;&lt;/font&gt;
      &lt;font color=&quot;#000000&quot;&gt;&amp;lt;/tr&amp;gt;&lt;/font&gt;
  &lt;font color=&quot;#000000&quot;&gt;&amp;lt;tr&amp;gt; &amp;lt;td&amp;gt;Enter&amp;amp;nbsp; City&amp;lt;/td&amp;gt;&lt;/font&gt;
   &lt;font color=&quot;#000000&quot;&gt;&amp;lt;td&amp;gt;&amp;lt;asp:TextBox ID=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;TextBox5&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;runat=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Height=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;22px&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Width=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;193px&quot;&lt;br&gt;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;&lt;/font&gt;
                &lt;font color=&quot;#000000&quot;&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;/font&gt;
  &lt;font color=&quot;#000000&quot;&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Password&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/td&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;td&amp;gt;&amp;lt;asp:TextBox ID=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;TextBox6&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;runat=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Width=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;193px&quot;&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;TextMode=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Password&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;/asp:TextBox&amp;gt;&amp;lt;/td&amp;gt;            &amp;lt;/tr&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Re-Enter &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Password&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/td&amp;gt;&lt;/font&gt;
     &lt;font color=&quot;#000000&quot;&gt;&amp;lt;td&amp;gt; &amp;lt;asp:TextBox ID=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;TextBox7&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;runat=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;TextMode=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Password&quot;&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Width=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;193px&quot; &lt;/font&gt;
              &lt;font color=&quot;#000000&quot;&gt;Height=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;22px&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&amp;lt;/asp:TextBox&amp;gt; &amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;&lt;/font&gt;
            &lt;font color=&quot;#000000&quot;&gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;asp:&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Button &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;ID=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Button1&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;runat=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server&quot; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Text&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Submit&quot; &lt;/font&gt;
                        &lt;font color=&quot;#000000&quot;&gt;onclick=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Button1_Click&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;OnClientClick=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;return validate() &quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;/&amp;gt;&lt;/font&gt;
                    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;/div&amp;gt;&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;&amp;lt;/form&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/body&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/html&amp;gt;&lt;/font&gt;

&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Step 2. Run the Application. Click on Button.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;575&quot; height=&quot;390&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-PA2cMjzTwZ2KrApkei9j1LAFXbWhBIXenVDqa2r0lIbU4rw0ona6YNsny1wsaxnWmBJqzuqDClcDQQvR9MnVmjbLXhY53MLqMnvpTFINYU1ezjgieZ9uSEMog9Am2e2I2BOJMZEu2l8/s1600/frm_validation.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;






</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/5682938114699007448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/5682938114699007448'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/how-to-validate-form-in-asp-net.html' title='How To validate a Form in ASP. Net'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-PA2cMjzTwZ2KrApkei9j1LAFXbWhBIXenVDqa2r0lIbU4rw0ona6YNsny1wsaxnWmBJqzuqDClcDQQvR9MnVmjbLXhY53MLqMnvpTFINYU1ezjgieZ9uSEMog9Am2e2I2BOJMZEu2l8/s72-c/frm_validation.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-2706150555544248225</id><published>2012-08-07T10:38:00.000-07:00</published><updated>2012-08-07T10:38:58.597-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript Blog"/><title type='text'>How to show Day of Week</title><content type='html'>
&lt;p&gt;&lt;b&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;How to show Day of Week&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Step 1. Written below code in your application.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;lt;html&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;script language=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;javascript&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;function &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;get_day()&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
    &lt;font color=&quot;#0000ff&quot;&gt;var &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;getDay=&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Date&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;();&lt;/font&gt;
    &lt;font color=&quot;#0000ff&quot;&gt;if&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(getDay.getDay()&amp;gt;&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;0 &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;amp;&amp;amp; getDay.getDay()&amp;lt;&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;6&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;alert(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Its a Week Day&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
    &lt;font color=&quot;#0000ff&quot;&gt;else&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
    &lt;font color=&quot;#000000&quot;&gt;alert(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Its Week End!!!&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)    }&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/script&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;body&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;input type=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;button&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;onclick=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;get_day()&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;value=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Show Day&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;/&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/body&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/html&amp;gt;&lt;/font&gt;
&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;



&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Step 2. Run the Application. Click on Button.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;396&quot; height=&quot;271&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_NXDgbBA9RA59NSIAlfaxiGKM8-r7iU3oveOnLB7fJ9NGXHcYFatnS4UKcWrMUvdMfSDtfQeokNOf_mou9LvoEJj8yTvZouh453VH9wE61s_bwNUZNNmdfmoTcRhElSovJ4k0o37y-Ck/s1600/showDay.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;









</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/2706150555544248225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/2706150555544248225'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/how-to-show-day-of-week.html' title='How to show Day of Week'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_NXDgbBA9RA59NSIAlfaxiGKM8-r7iU3oveOnLB7fJ9NGXHcYFatnS4UKcWrMUvdMfSDtfQeokNOf_mou9LvoEJj8yTvZouh453VH9wE61s_bwNUZNNmdfmoTcRhElSovJ4k0o37y-Ck/s72-c/showDay.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-7248099781785607958</id><published>2012-08-07T10:35:00.000-07:00</published><updated>2012-08-12T21:47:46.258-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript Blog"/><title type='text'>How to Swap a Image using JavaScript</title><content type='html'>
&lt;p&gt;&lt;b&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;How to Swap a Image using JavaScript&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Step 1. Written below code in your application.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;table width=&quot;83%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;html xmlns=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://www.w3.org/1999/xhtml&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;script language=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;javascript&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;images&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;) {&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;smile = &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Image&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;happy = &lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;Image&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt; smile.src = &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://images.zaazu.com/img/happy-roll-
 happy-animation-animated-smiley-emoticon-000359-large.gif&quot;&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;happy.src = &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://www.animationbuddy.com/Animation/Nature/Sun/&lt;br&gt;Sun_happy.gif&quot;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;function &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;imageSwap(thisImage,newImage) {&lt;/font&gt;
 &lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;images&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;) {&lt;/font&gt;
  &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;[thisImage].src = eval(newImage + &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;.src&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/script&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;a href=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://www.r4r.co.in/&quot;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;onMouseOver=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;imageSwap(&#39;aditya&#39;,&#39;happy&#39;)&quot;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;onMouseOut=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;imageSwap(&#39;aditya&#39;,&#39;smile&#39;)&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;img src=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;http://images.zaazu.com/img/happy-roll-happy-animation
 -animated-smiley-emoticon-000359-large.gif&quot;&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;width=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;150&quot;&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;height=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;150&quot;&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;border=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;0&quot;&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;alt=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Picture of Jack&quot;&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;name=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;aditya&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/a&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/script&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/html&amp;gt;&lt;/font&gt;

&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;



&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Step 2. Run the Application. Click on Button.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;OnMouseOut&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;303&quot; height=&quot;212&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAWjV7yvuf7MX34s7QpR3jFKrF19KgMdk9PLGHLn9i8bJt0xGcnbgt-ErJ1_RfZ6v9W5NiLcadytCBCOpp5YpWaY5KCRKBMTfbBWqkLzpSJtmbNIrmkeIZSAPBz7-dHZOqSHRSPBcqXAY/s1600/imeg1.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;OnMouseOver&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;361&quot; height=&quot;234&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnHrT_3UJqzxHjudWXuxcsy8g85jzJqcUPRoq2ihTIOBlGMcWRKwX1GResOrxFtON1KSCOGAqLmP-9xUe1pUSuyP4Lh5Xz_bsVYUqObZlaxPPApJhgIQNBQclksOSJ68yACqu4HHdemUQ/s1600/imeg2.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;









</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/7248099781785607958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/7248099781785607958'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/how-to-swap-image-using-javascript.html' title='How to Swap a Image using JavaScript'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjAWjV7yvuf7MX34s7QpR3jFKrF19KgMdk9PLGHLn9i8bJt0xGcnbgt-ErJ1_RfZ6v9W5NiLcadytCBCOpp5YpWaY5KCRKBMTfbBWqkLzpSJtmbNIrmkeIZSAPBz7-dHZOqSHRSPBcqXAY/s72-c/imeg1.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-2616719047080140190</id><published>2012-08-07T10:31:00.002-07:00</published><updated>2012-08-07T10:31:43.817-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript Blog"/><title type='text'>Special Character in JavaScript</title><content type='html'>
&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Special Character in JavaScript&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber3&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;29%&quot; bgcolor=&quot;#C0C0C0&quot;&gt;
    &lt;p align=&quot;center&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;Code&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
    &lt;td width=&quot;71%&quot; bgcolor=&quot;#C0C0C0&quot;&gt;
    &lt;p align=&quot;center&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;Output&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;29%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;\&#39; &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;71%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;single quote&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;29%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;\&quot; &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;71%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;double quote&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;29%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;\\ &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;71%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;backslash&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;29%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;\n &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;71%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;new line&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;29%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;\r&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;71%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;carriage return&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;29%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;\t &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;71%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;tab&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;29%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;\b &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;71%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;backspace&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;29%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;\f &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;71%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;form feed&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#0066FF&quot;&gt;&lt;br&gt;
&lt;/font&gt;&lt;b&gt;&lt;font color=&quot;#0066FF&quot;&gt;Step 1. Written below code in your application.&lt;/font&gt;&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;

&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;lt;html&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;head&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;script type=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;text/javascript&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;var &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;txt=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;I am working in \&quot;r4r\&quot;.&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.write(txt);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/script&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/head&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;body&amp;gt;&lt;/font&gt;

&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/body&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/html&amp;gt;&lt;/font&gt;
&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;


&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Step 2. Run the Application.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;366&quot; height=&quot;88&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9GhR-nF18qppQvKVF97HxLdS1-hVWbdxXW6txGkW88wcOpLzZQCYaS-dEMijpDzOJ6CM1nkaGF2JWRkdETIchzavlyDhLslzt3Ijlbv4o04_YVM-5ICenBTFNLIYojEL9crKZhU5jVoA/s1600/spcl.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;







</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/2616719047080140190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/2616719047080140190'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/special-character-in-javascript.html' title='Special Character in JavaScript'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9GhR-nF18qppQvKVF97HxLdS1-hVWbdxXW6txGkW88wcOpLzZQCYaS-dEMijpDzOJ6CM1nkaGF2JWRkdETIchzavlyDhLslzt3Ijlbv4o04_YVM-5ICenBTFNLIYojEL9crKZhU5jVoA/s72-c/spcl.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-3137593966460910273</id><published>2012-08-07T10:28:00.001-07:00</published><updated>2012-08-07T10:28:41.763-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript Blog"/><title type='text'>Prompt Box in JavaScript</title><content type='html'>

&lt;p&gt;&lt;b&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066ff&quot;&gt;Prompt Box in JavaScript&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;A prompt box is often used if you want the user to input a value before 
entering a page.&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066ff&quot;&gt;Step 1. Written below code in your application.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;

&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;

&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;lt;html&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;head&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;script type=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;text/javascript&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;function &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;show_box()&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;var &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;name=prompt(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Please enter your name&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;,&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Aditya Tiwari&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
&lt;font color=&quot;#0000ff&quot;&gt;if &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(name!=&lt;/font&gt;&lt;font color=&quot;#0000ff&quot;&gt;null &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;&amp;amp;&amp;amp; name!=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;)&lt;/font&gt;
  &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
  &lt;font color=&quot;#ff0000&quot;&gt;document&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.write(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Hello &quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;+ name + &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;! How are you today?&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
  &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/script&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/head&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;body&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;input type=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;button&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;onclick=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;show_box()&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;value=&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Show&quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;/&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/body&amp;gt;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;&amp;lt;/html&amp;gt;&lt;/font&gt;
&lt;/font&gt;&lt;/pre&gt;

&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066ff&quot;&gt;Step 2. Run the Application. Click on Button.&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;429&quot; height=&quot;274&quot; border=&quot;0&quot; src=&quot;Image/prmt.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066ff&quot;&gt;&lt;b&gt;You Entered in Website&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;429&quot; height=&quot;274&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifsfFiGRwqwm7ewVThFBbQD0zezSuNUQl9hYCUVt9EJGz3JNq9c2jDxd1LvGOy_0nAVz_fyFOf6tMk4KCskc-W3GRSBCKrnePNorcgBP-t2lv93QfCgZ0A_pAIbKoeun92LPZN4CNqu5A/s1600/prmt.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;







</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/3137593966460910273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/3137593966460910273'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/prompt-box-in-javascript.html' title='Prompt Box in JavaScript'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifsfFiGRwqwm7ewVThFBbQD0zezSuNUQl9hYCUVt9EJGz3JNq9c2jDxd1LvGOy_0nAVz_fyFOf6tMk4KCskc-W3GRSBCKrnePNorcgBP-t2lv93QfCgZ0A_pAIbKoeun92LPZN4CNqu5A/s72-c/prmt.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-8723791183071062406</id><published>2012-08-07T07:46:00.001-07:00</published><updated>2012-08-07T10:21:54.931-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ado.Net Blog"/><title type='text'>The use of data adapter.?</title><content type='html'>&lt;h3&gt;&lt;font size=&quot;3&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;The use of data adapter.?&lt;/font&gt;&lt;/h3&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;data adapter:-&lt;/font&gt;&lt;span style=&quot;font-family: Verdana&quot;&gt;&lt;font size=&quot;2&quot;&gt;The 
DataAdapter serve as a bridge between a DataSet and data source for retrieving 
and saving data. The DataAdapter provides this bridge by using Fill to load data 
from the data source into the DataSet and using Update to send changes made in 
the DataSet back to the data source.&lt;/font&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&amp;nbsp; 
The data adapter objects connect a command objects to a Dataset object. They 
provide the means for the exchange of data between the data store and the tables 
in the DataSet.An OleDbDataAdapter object is used with an OLE-DB provider&lt;br&gt;
A SqlDataAdapter object uses Tabular Data Services with MS SQL Server.&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;strong&gt;&lt;font size=&quot;2&quot;&gt;Namespace:&lt;/font&gt;&lt;/strong&gt;&lt;font size=&quot;2&quot;&gt; &amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.data.common.aspx&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;System.Data.Common&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;br&gt;
&lt;strong&gt;Assembly:&lt;/strong&gt; &amp;nbsp;System.Data (in System.Data.dll)&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;b&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Data 
adapter&lt;/font&gt;&lt;i&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt; Flow&amp;nbsp; 
Architecture&lt;/font&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;font face=&quot;Times New Roman&quot;&gt;
&lt;p align=&quot;LEFT&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;The DataAdapter acts as a bridge between the disconnected 
DataSet and the data source. It exposes two interfaces; the first of 
these,IDataAdapter that&amp;nbsp; defines methods for populating a DataSet with data 
from the data source and for updating the data source with changes made to the 
DataSet on the client. The another interface is&amp;nbsp; IDbDataAdapter that&amp;nbsp; 
defines four properties, each of type IDbCommand. These all properties each set 
or return a command object specifying the command to be executed when the data 
source is to be queried or updated:&lt;/font&gt;&lt;/p&gt;
&lt;/font&gt;
&lt;b&gt;
&lt;font size=&quot;1&quot; face=&quot;Times New Roman&quot;&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/font&gt;
&lt;p align=&quot;left&quot;&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;img width=&quot;373&quot; height=&quot;456&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOhqMiTd-5VI6Jr7P769HN-LZCC8-gRc4IMtliEwd7T3nSSDscIdEmX8MSFgpthQH1oQwj8EDrNFhQy1VjGnZYPSVIvN7m4RJAu3hCcvBtpYfYT0Qwc2DszeViOQPTq_-l5NJ7bAN6PQU/s1600/dataad2.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;
&lt;/b&gt;
&lt;div class=&quot;LW_CollapsibleArea_TitleDiv&quot;&gt;
  &lt;span class=&quot;LW_CollapsibleArea_Title&quot;&gt;
  &lt;b&gt;
  &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;C&lt;/font&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;LW_CollapsibleArea_Title&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;onstructors 
  of Data Adapter?&lt;/font&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;


&lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;T&lt;/font&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;here are two 
constructor:&lt;/font&gt;&lt;/p&gt;
&lt;table width=&quot;100%&quot; height=&quot;38&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber3&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Name&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Description&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;18&quot;&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/3cecaed3.aspx&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;DataAdapter(DataAdapter)&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;/font&gt;
    &lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;18&quot;&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Initializes a new instance of a &lt;span&gt;&lt;span class=&quot;selflink&quot;&gt;DataAdapter&lt;/span&gt;&lt;/span&gt; 
    class from an existing object of the same type.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;18&quot;&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/1bhw836d.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;DataAdapter&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;18&quot;&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Initializes a new instance of a &lt;span&gt;&lt;span class=&quot;selflink&quot;&gt;DataAdapter&lt;/span&gt;&lt;/span&gt; 
    class.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;span class=&quot;LW_CollapsibleArea_Title&quot;&gt;
&lt;font size=&quot;2&quot; color=&quot;#0066FF&quot;&gt;Property &amp;nbsp;of 
Data Adapter?&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;there are following main property:&lt;/font&gt;&lt;/p&gt;
&lt;table width=&quot;100%&quot; height=&quot;269&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber4&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;16&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;16&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    Description&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;38&quot;&gt;
    &lt;a style=&quot;text-decoration: none; &quot; href=&quot;http://msdn.microsoft.com/en-us/library/system.data.common.dataadapter.tablemappings.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;TableMappings&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;38&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Gets a collection that provides the master mapping 
    between a source table and a &lt;/font&gt; &lt;span&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.data.datatable.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;DataTable&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;38&quot;&gt;
    &lt;a style=&quot;text-decoration: none; &quot; href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.container.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Container&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;38&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Gets the &lt;/font&gt; &lt;span&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.icontainer.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;IContainer&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt; that contains the
    &lt;/font&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Component&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;. (Inherited from
    &lt;/font&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Component&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;.)&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;38&quot;&gt;
    &lt;a style=&quot;text-decoration: none&quot; href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.designmode.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;DesignMode&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;38&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Gets a value that indicates whether the
    &lt;/font&gt; &lt;span&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Component&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt; is currently in design mode. (Inherited from
    &lt;/font&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Component&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;.)&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;38&quot;&gt;
    &lt;a style=&quot;text-decoration: none; &quot; href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.events.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Events&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;38&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Gets the list of event handlers that are attached to this
    &lt;/font&gt;
    &lt;span&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Component&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;. (Inherited from
    &lt;/font&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Component&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;.)&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;38&quot;&gt;
    &lt;p align=&quot;left&quot;&gt;
    &lt;a style=&quot;text-decoration: none&quot; href=&quot;http://msdn.microsoft.com/en-us/library/system.data.common.dataadapter.acceptchangesduringupdate.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;AcceptChangesDuringUpdate&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;38&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Gets or sets whether &lt;/font&gt; &lt;span&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.data.datarow.acceptchanges.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;AcceptChanges&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt; is called during a
    &lt;/font&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.data.common.dataadapter.update.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Update&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;57&quot;&gt;&amp;nbsp;&lt;p&gt;
    &lt;a style=&quot;text-decoration: none; &quot; href=&quot;http://msdn.microsoft.com/en-us/library/system.data.common.dataadapter.acceptchangesduringfill.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;AcceptChangesDuringFill&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;57&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Gets or sets a value indicating whether
    &lt;/font&gt; &lt;span&gt;
    &lt;a style=&quot;text-decoration: none&quot; href=&quot;http://msdn.microsoft.com/en-us/library/system.data.datarow.acceptchanges.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;AcceptChanges&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt; is called on a
    &lt;/font&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.data.datarow.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;DataRow&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt; after it is added to the
    &lt;/font&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.data.datatable.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;DataTable&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt; during any of the
    &lt;strong style=&quot;font-weight: 400&quot;&gt;
    Fill&lt;/strong&gt; operations.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;span class=&quot;LW_CollapsibleArea_Title&quot;&gt;
&lt;font size=&quot;2&quot; color=&quot;#0066FF&quot;&gt;Method &amp;nbsp;of 
Data Adapter?&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;there are following main method:-&lt;/font&gt;&lt;/p&gt;
&lt;table width=&quot;100%&quot; height=&quot;78&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber5&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;18&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;18&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;/font&gt;&lt;/b&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;a style=&quot;text-decoration: none&quot; href=&quot;http://msdn.microsoft.com/en-us/library/3cc9y48w.aspx&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Dispose&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    &lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Releases all resources 
    used by the &lt;/font&gt; &lt;span&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Component&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt; (Inherited from&lt;/font&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.aspx&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Component&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
    &lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;a style=&quot;text-decoration: none&quot; href=&quot;http://msdn.microsoft.com/en-us/library/377a8x4t.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Fill(DataSet)&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Adds or refreshes rows in the
    &lt;/font&gt; &lt;span&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.data.dataset.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;DataSet&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt; to match those in the data 
    source.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;a style=&quot;text-decoration: none&quot; href=&quot;http://msdn.microsoft.com/en-us/library/az5741fh.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Finalize&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Releases unmanaged resources and performs 
    other cleanup operations before the &lt;/font&gt; &lt;span&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Component&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt; is reclaimed by garbage 
    collection. (Inherited from &lt;/font&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Component&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;.)&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;a style=&quot;text-decoration: none&quot; href=&quot;http://msdn.microsoft.com/en-us/library/system.object.gethashcode.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;GetHashCode&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Serves as a hash function for a particular 
    type. (Inherited from &lt;/font&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.object.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Object&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;.)&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;a style=&quot;text-decoration: none&quot; href=&quot;http://msdn.microsoft.com/en-us/library/system.object.gettype.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;GetType&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Gets the &lt;/font&gt; &lt;span&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.type.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Type&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt; of the current instance. 
    (Inherited from &lt;/font&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.object.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Object&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;.)&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
  &lt;p dir=&quot;ltr&quot;&gt;
  &lt;b&gt;
  &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;
  Event of Data Adapter?&lt;/font&gt; &lt;/b&gt;
&lt;/p&gt;&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;There are two events:-&lt;/font&gt;&lt;/p&gt;

&lt;table width=&quot;100%&quot; height=&quot;37&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber6&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;17&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Name&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;17&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Description&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;a style=&quot;text-decoration: none; &quot; href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.disposed.aspx&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Disposed&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Occurs when the component is disposed by a 
    call to the &lt;/font&gt; &lt;span&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.dispose.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Dispose&lt;/font&gt;&lt;/a&gt;&lt;/span&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt; method. (Inherited from
    &lt;/font&gt;
    &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.componentmodel.component.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;Component&lt;/font&gt;&lt;/a&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;.)&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;18&quot;&gt;
    &lt;a style=&quot;text-decoration: none; &quot; href=&quot;http://msdn.microsoft.com/en-us/library/system.data.common.dataadapter.fillerror.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;FillError&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;18&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Returned when an error occurs during a fill 
    operation.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;div class=&quot;LW_CollapsibleArea_TitleDiv&quot;&gt;
  &amp;nbsp;&lt;p&gt;
    &lt;b&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;
  Interface Implementation of Data Adapter?&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
  &lt;p&gt;
  &lt;/p&gt;&lt;/div&gt;
&lt;table width=&quot;100%&quot; height=&quot;39&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber7&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Name&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Description&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;
    &lt;a style=&quot;text-decoration: none; &quot; href=&quot;http://msdn.microsoft.com/en-us/library/bb353650.aspx&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#000000&quot;&gt;IDataAdapter&lt;span xmlns=&quot;&quot;&gt;.&lt;/span&gt;TableMappings&lt;/font&gt;&lt;/a&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;19&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Indicates how a source table is mapped to a 
    dataset table.&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;50%&quot; height=&quot;18&quot;&gt;&lt;/td&gt;
    &lt;td width=&quot;50%&quot; height=&quot;18&quot;&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;

&lt;p&gt;
&lt;b&gt;
&lt;i&gt;&lt;span class=&quot;LW_CollapsibleArea_Title&quot;&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Basic 
method of Data Adapter?&lt;/font&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;There are three basic method in data 
adopter:-&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;strong style=&quot;font-weight: 400&quot;&gt;&lt;font size=&quot;2&quot;&gt;(i)Fill:-&lt;/font&gt;&lt;/strong&gt;&lt;font size=&quot;2&quot;&gt;Fill&amp;nbsp; method executes the SelectCommand to fill the 
DataSet object with data from the data source,Depending on whether there is a primary key in the DataSet, the ‘fill’ can also 
be used to update an existing table in a DataSet with changes made to the data 
in the original datasource.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;strong style=&quot;font-weight: 400&quot;&gt;&lt;font size=&quot;2&quot;&gt;(ii)FillSchema:-&lt;/font&gt;&lt;/strong&gt;&lt;font size=&quot;2&quot;&gt;Fill Schema method executes the SelectCommand to 
extract the schema of a table from the data source and&amp;nbsp; creates an empty table in the DataSet object with all the corresponding 
constraints.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;strong style=&quot;font-weight: 400&quot;&gt;&lt;font size=&quot;2&quot;&gt;(iii0Update:-&lt;/font&gt;&lt;/strong&gt;&lt;font size=&quot;2&quot;&gt;Update method executes the InsertCommand, 
UpdateCommand, or DeleteCommand to update the original data source with the 
changes made to the content of the DataSet. &lt;/font&gt;&lt;/font&gt; &lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;(iv) Dispose :- releases all the resources&lt;/font&gt;&lt;/p&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/8723791183071062406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/8723791183071062406'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/the-use-of-data-adapter.html' title='The use of data adapter.?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOhqMiTd-5VI6Jr7P769HN-LZCC8-gRc4IMtliEwd7T3nSSDscIdEmX8MSFgpthQH1oQwj8EDrNFhQy1VjGnZYPSVIvN7m4RJAu3hCcvBtpYfYT0Qwc2DszeViOQPTq_-l5NJ7bAN6PQU/s72-c/dataad2.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-6750366375148091809</id><published>2012-08-07T07:45:00.000-07:00</published><updated>2012-08-07T07:46:36.361-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ado.Net Blog"/><title type='text'>The steps involved to fill a dataset?</title><content type='html'>
&lt;h3 dir=&quot;ltr&quot;&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;
&lt;font size=&quot;3&quot;&gt;The steps involved to fill a dataset?&lt;/font&gt;&lt;/font&gt;&lt;/h3&gt;&lt;font face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;
&lt;/font&gt;
&lt;p align=&quot;left&quot; dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;There are following&amp;nbsp; steps&amp;nbsp; to&amp;nbsp; fill&amp;nbsp; a&amp;nbsp; 
dataset:-&lt;/font&gt;&lt;/p&gt;

&lt;p align=&quot;left&quot; dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;(i). Create a connection object.&lt;br&gt;
(ii). Create an adapter by passing the string query and the connection object as 
parameters.&lt;br&gt;
{iii). Create a new object of dataset.&lt;br&gt;
(iv). Call the Fill method of the adapter and pass the dataset object.&lt;/font&gt;&lt;/p&gt;

&lt;h3 dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-weight: 400&quot;&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;We 
can&amp;nbsp; check that some changes have been made to dataset since it was loaded?&lt;/font&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;There are following way to check that some changes have been made to 
dataset since it was loaded:-&lt;/font&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;(i). GetChanges: gives the dataset that has changed 
since newly loaded or since Accept changes has been executed. &lt;br&gt;
{ii}. HasChanges: this returns a status that tells if any 
changes have been made to the dataset since accept changes was executed.&lt;/font&gt;&lt;/p&gt;
&lt;h3 dir=&quot;ltr&quot;&gt;&lt;span style=&quot;font-weight: 400&quot;&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;How can we add/remove row’s in “DataTable” 
object of “DataSet”?&lt;/font&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Using NewRow method we can add row&#39;s in a data table&amp;nbsp; object of 
dataset.Remove method of the DataRowCollection is used to remove a ‘DataRow’ 
object from ‘DataTable’.&lt;br&gt;
RemoveAt method of the DataRowCollection is used to remove a ‘DataRow’ object 
from ‘DataTable’ per the index specified in the DataTable.&lt;/font&gt;&lt;/p&gt;
&lt;i&gt;&lt;b&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;UPDATING THE DATABASE USING A DATASET &lt;/font&gt;
&lt;/b&gt;
&lt;/i&gt;&lt;font face=&quot;Times New Roman&quot;&gt;
&lt;/font&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;The underlying database can be updated directly by passing
&lt;/font&gt; &lt;/font&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;SQL
INSERT/UPDATE/ DELETE statements, or stored 
procedure calls, through to the managed provider. It&lt;/font&gt;&lt;/p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;/font&gt;&lt;font face=&quot;Times New Roman&quot;&gt;
&lt;/font&gt;&lt;p&gt;&lt;font face=&quot;Times New Roman&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;We can also be updated using a &lt;/font&gt; &lt;/font&gt;
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;b&gt;DataSet.&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;b&gt;
&lt;font size=&quot;2&quot; face=&quot;AGaramond-Regular&quot;&gt;
&lt;p align=&quot;LEFT&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;The steps are:&lt;/font&gt;&lt;/p&gt;
&lt;/font&gt;&lt;/b&gt;
&lt;ol&gt;
  &lt;li&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Create and fill 
the DataSet with one or more DataTables&lt;/font&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Call 
&lt;b&gt;DataRow&lt;/b&gt;.BeginEdit on a DataRow&lt;/font&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Make changes to 
the row’s data&lt;/font&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Call 
DataRow.EndEdit&lt;/font&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Call 
SqlDataAdapter.Update to update the underlying database&lt;/font&gt;&lt;/p&gt;
  &lt;/li&gt;
  &lt;li&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Call 
DataSet.AcceptChanges (or DataTable.AcceptChanges orDataRow.AcceptChanges)&lt;/font&gt;&lt;/p&gt;
  &lt;/li&gt;
&lt;/ol&gt;
&lt;p align=&quot;left&quot; dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;
Example :-UPDATING 
THE DATABASE USING A DATASET&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;To update the database directly, we can use the SqlCommand object, which 
allows us to execute &lt;/font&gt;SQL INSERT, UPDATE, and DELETE statements 
against a database.&lt;/p&gt;

&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#000000&quot;&gt;Using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Data&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Data&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.SqlClient;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;public class &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;empdel {&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;public static void &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Main() {&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;SqlConnection con = &lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;SqlConnection(&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;@&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server=(local)\computer;database=emp;trusted_connection=yes&quot;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;string &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;sql = &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;DELETE FROM emp WHERE emp_name = &#39;Ashok&#39;&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;SqlCommand cmd = &lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;SqlCommand(sql, con);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;con.Open();&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;int &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;i = cmd.ExecuteNonQuery();&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;con.Close();&lt;/font&gt;
&lt;font color=&quot;#808000&quot;&gt;Console&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.WriteLine(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;{0} record(s) deleted.&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;, i);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;

&lt;/font&gt;&lt;/pre&gt;
&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;


&lt;font size=&quot;5&quot; color=&quot;#0066FF&quot;&gt;
&lt;h3 dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;To load multiple tables in a DataSet&lt;/font&gt;&lt;/h3&gt;
&lt;/font&gt;
&lt;font size=&quot;5&quot; face=&quot;Univers-BoldOblique&quot; color=&quot;#0066FF&quot;&gt;&lt;i&gt;
&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber3&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#000000&quot;&gt;DataSet ds = &lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;DataSet();&lt;/font&gt;

&lt;font color=&quot;#000000&quot;&gt;SqlDataAdapter da = &lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;SqlDataAdapter (&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Emp&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;, &lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;this&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Connection);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;da.SelectCommand.CommandType = CommandType.StoredProcedure;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;da.SelectCommand.Parameters.AddWithValue (&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;@EId&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;, EId);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;da.TableMappings.Add (&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;Table&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;, ds.xval.TableName);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;da.Fill (ds); &lt;/font&gt;

&lt;/font&gt;&lt;/pre&gt;
&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/i&gt;
&lt;/font&gt;
&lt;font size=&quot;5&quot; color=&quot;#0066FF&quot;&gt;
&lt;h4 dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;ADO.NET Code showing Dataset storing multiple tables. &lt;/font&gt;&lt;/h4&gt;
&lt;/font&gt;
&lt;font size=&quot;5&quot; face=&quot;Univers-BoldOblique&quot; color=&quot;#0066FF&quot;&gt;
&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber4&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#808000&quot;&gt;DataSet &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;ds = &lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;DataSet&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;();&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;ds.Tables.Add(dt1);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;ds.Tables.Add(dt2);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;ds.Tables.Add(dt3);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;ds.Tables.Add(dt4);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;ds.Tables.Add(dt5);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;..................&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;.................&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;..................&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;ds.Tables.Add(dtn);; &lt;/font&gt;

&lt;/font&gt;&lt;/pre&gt;
&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;img width=&quot;437&quot; height=&quot;267&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDAVBKP2x42eR0ill6Vp3LWitUvy0U69041m7TA1WbZHiMMCzJS9flKt4WNGlN-JNIHng8pOWyTq1zEuKHgZVMQlfpOUCkwqRF7SBvfC1gYNT-BaNmhWjRUSDM9YLPq761FrcWHctSK9g/s1600/datase3.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;

 


</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/6750366375148091809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/6750366375148091809'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/the-steps-involved-to-fill-dataset.html' title='The steps involved to fill a dataset?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDAVBKP2x42eR0ill6Vp3LWitUvy0U69041m7TA1WbZHiMMCzJS9flKt4WNGlN-JNIHng8pOWyTq1zEuKHgZVMQlfpOUCkwqRF7SBvfC1gYNT-BaNmhWjRUSDM9YLPq761FrcWHctSK9g/s72-c/datase3.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-416393708658139686</id><published>2012-08-07T07:42:00.000-07:00</published><updated>2012-08-12T21:34:10.467-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ado.Net Blog"/><title type='text'>Dataset object in ADO .NET</title><content type='html'>
&lt;h3 dir=&quot;ltr&quot;&gt;&lt;font size=&quot;3&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;Dataset object in 
ADO .NET&lt;/font&gt;&lt;/h3&gt;
&lt;p align=&quot;left&quot; dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;The 
DataSet object is a disconnected storage.DataSet is a 
disconnected&amp;nbsp; in-memory representation of data. It can be considered as a local 
copy of the relevant portions of the database. The DataSet is persisted in 
memory and the data in it can be manipulated and updated independent of the 
database. It represents related tables, constraints, and relationships among the 
tables. DataSet reads and writes data and schema as XML documents.The 
DataSet object is a disconnected storage.It is used for manipulation of 
relational data. The DataSet is filled with data from the storeWe fill it with 
data fetched from the data store. Once the work is done with the dataset, 
connection is reestablished and the changes are reflected back into the store.&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/font&gt;
&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;img width=&quot;560&quot; height=&quot;308&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkBagwTPkUU7HcflERvDshD5a_3KXWOMhnNFv1WF2dNgMPBudmq-RlkaPuNBmtmoGLPPWpu8wb215e49f43PuHulIQXctyGB5iUK3dvhUavjW4Xn17dmDRov7FCnMXdNQ9_5B-8Z6Ndfw/s1600/datase1.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;/font&gt;
&lt;/p&gt;

&lt;font size=&quot;2&quot; face=&quot;AGaramond-Regular&quot;&gt;
&lt;/font&gt;&lt;p dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;AGaramond-Regular&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;ADO.NET DataSet can contain more than one 
table and also contains information about table relationships, the columns they 
contain, and any&amp;nbsp;&amp;nbsp; constraints that apply. Each table in a DataSet can contain multiple rows. 
Once data is retrieved from the database into a &lt;/font&gt;&lt;/font&gt; 
&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;DataSet
object, an application can disconnect from the database before processing the DataSet. This is an important feature of the ADO.NET DataSet. It gives us an in-memory, disconnected 
copy of a portion of the database which we can process without retaining an 
active connection to the database server.&lt;/font&gt;&lt;/p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
&lt;/font&gt;&lt;font size=&quot;5&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;
&lt;h3 dir=&quot;ltr&quot;&gt;&lt;i&gt;&lt;font size=&quot;2&quot;&gt;Creating and using a DataSet&lt;/font&gt;&lt;/i&gt;&lt;/h3&gt;
&lt;/font&gt;&lt;font size=&quot;2&quot; face=&quot;AGaramond-Regular&quot;&gt;
&lt;p align=&quot;LEFT&quot; dir=&quot;ltr&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;The typical steps in creating and using a DataSet are:&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;LEFT&quot; dir=&quot;ltr&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;(i)Create a DataSet object&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;LEFT&quot; dir=&quot;ltr&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;(ii) Connect to a database&lt;/font&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;(iii)Fill the DataSet with one or more tables or views&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;LEFT&quot; dir=&quot;ltr&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;(iv)Disconnect from the database&lt;/font&gt;&lt;/p&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;(v)Use the DataSet in the application&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;img width=&quot;501&quot; height=&quot;258&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnB0a3AUs-XivKOZjXuEWegS4EmXLidEnXT6SDshBhgl2UqQhsGAkXflasu04_0QqonE6jcFAsVoZjgM3Kz2dbTVkykXneJ3vSFc1hdtU9vB_VCRWsdu3iNcmvYTOjU7JqTLPgzJjbg3c/s1600/datase2.gif&quot;&gt;&lt;/font&gt;&lt;/p&gt;
&lt;/font&gt;&lt;font size=&quot;3&quot; face=&quot;AGaramond-Regular&quot;&gt;
&lt;h3 dir=&quot;ltr&quot;&gt;&lt;font size=&quot;5&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;
&lt;i&gt;&lt;font size=&quot;2&quot;&gt;Example of&amp;nbsp; DataSet&lt;/font&gt;&lt;/i&gt;&lt;/font&gt;&lt;/h3&gt;
&lt;/font&gt;&lt;font size=&quot;5&quot; face=&quot;Univers-Bold&quot; color=&quot;#0066FF&quot;&gt;
&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber1&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Data&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;using &lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;System&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.&lt;/font&gt;&lt;font color=&quot;#008080&quot;&gt;Data&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.SqlClient;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;public class &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;empcount {&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;public static void &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;Main() {&lt;/font&gt;
&lt;font color=&quot;#008000&quot;&gt;// change the following connection string, as necessary...&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;string &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;con =&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;@&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;server=(local)\kamal;database=Emp;trusted_connection=yes&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#808000&quot;&gt;DataSet &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;ds = &lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;DataSet&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;(&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;EmpDataSet&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;SqlDataAdapter sad;&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;string &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;sl;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;sl = &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;SELECT COUNT(*) AS cnt FROM employee&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;sad = &lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;SqlDataAdapter(sl, con);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;sad.Fill(ds, &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;emp_count&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;sl = &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;SELECT COUNT(*) AS cnt FROM compocation&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;;&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;sad = &lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;new &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;SqlDataAdapter(sl, con);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;sad.Fill(ds, &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;comploc_count&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;int &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;totalemp = (&lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;int&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;) ds.Tables[&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;emp_count&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;].Rows[&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;][&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;cnt&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;];&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;int &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;comploc = (&lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;int&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;) ds.Tables[&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;comploc_count&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;].Rows[&lt;/font&gt;&lt;font color=&quot;#800080&quot;&gt;0&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;][&lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;cnt&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;];&lt;/font&gt;
&lt;font color=&quot;#808000&quot;&gt;Console&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.WriteLine(&lt;/font&gt;
&lt;font color=&quot;#ff00ff&quot;&gt;&quot;There are {0} employee, {1} complocation .&quot;&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;,&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;totalemp ,&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;comploc,&lt;/font&gt;

&lt;font color=&quot;#000000&quot;&gt;);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;

&lt;/font&gt;&lt;/pre&gt;
&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/font&gt;

 




</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/416393708658139686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/416393708658139686'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/dataset-object-in-ado-net.html' title='Dataset object in ADO .NET'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkBagwTPkUU7HcflERvDshD5a_3KXWOMhnNFv1WF2dNgMPBudmq-RlkaPuNBmtmoGLPPWpu8wb215e49f43PuHulIQXctyGB5iUK3dvhUavjW4Xn17dmDRov7FCnMXdNQ9_5B-8Z6Ndfw/s72-c/datase1.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-7567601111711737355.post-1915746630096800362</id><published>2012-08-07T07:37:00.000-07:00</published><updated>2012-08-12T21:32:18.775-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ado.Net Blog"/><title type='text'>Handling Connection Events</title><content type='html'>
&lt;font face=&quot;Times New Roman&quot; color=&quot;#0066FF&quot;&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;b&gt;&lt;font face=&quot;Verdana&quot;&gt;Handling Connection Events&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;
&lt;/font&gt;&lt;font face=&quot;Times New Roman&quot;&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Both the OLE DB and the SQL Server Connection objects provide two events:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;1)StateChange&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;2)InfoMessage.&lt;/font&gt;&lt;/p&gt;
&lt;/font&gt;
&lt;p dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;i&gt;&lt;b&gt;1)StateChange&lt;/b&gt;&lt;/i&gt;&lt;/font&gt;&lt;/p&gt;
&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;
&lt;p align=&quot;LEFT&quot;&gt;&lt;font face=&quot;Verdana&quot;&gt;the StateChange event fires whenever the state of the 
Connection object changes. The event passes a StateChangeEventArgs to its 
handler, which, inturn, has two properties: OriginalState and CurrentState. The 
possible values for&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face=&quot;Verdana&quot;&gt;&lt;b&gt;OriginalState and CurrentState are:&lt;/b&gt;&lt;/font&gt;&lt;/p&gt;
&lt;font face=&quot;Verdana&quot;&gt;
  &lt;/font&gt;&lt;font face=&quot;Arial&quot;&gt;
    &lt;/font&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
    &lt;/font&gt;&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber1&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;33%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;Connection 
    States&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;67%&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;b&gt;&amp;nbsp;Meaning&lt;/b&gt;&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;33%&quot; align=&quot;left&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Broken&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;67%&quot; align=&quot;left&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;
    &lt;p align=&quot;LEFT&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;TheConnecton is open, but not functional. It maybe closed 
    and reopened&lt;/font&gt;&lt;/p&gt;
    &lt;/font&gt;
    &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;33%&quot; align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot;&gt;Closed&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;67%&quot; align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot;&gt;The Connection is closed&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;33%&quot; align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot;&gt;Connecting&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;67%&quot; align=&quot;left&quot;&gt;&lt;font face=&quot;Times New Roman&quot;&gt;
    &lt;p align=&quot;LEFT&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;The Connection is in the process of connecting, but has 
    not yet been&lt;/font&gt;&lt;/p&gt;
    &lt;/font&gt;&lt;b&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot; color=&quot;#810000&quot;&gt;
    &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;
  &lt;/tr&gt;
  
  &lt;tr&gt;
    &lt;td width=&quot;33%&quot; align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Executing&lt;/font&gt;&lt;/td&gt;
    &lt;td width=&quot;67%&quot; align=&quot;left&quot;&gt;
    &lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Executing the command&lt;/font&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;33%&quot; align=&quot;left&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;Fetching&lt;/font&gt;&lt;/td&gt;
  &lt;td width=&quot;67%&quot; align=&quot;left&quot;&gt;Retrieving the data&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td width=&quot;33%&quot; align=&quot;left&quot;&gt;Open&lt;/td&gt;
    &lt;td width=&quot;67%&quot; align=&quot;left&quot;&gt;Open the connection&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;
  &lt;/font&gt;&lt;/font&gt;&lt;p align=&quot;LEFT&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Arial&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;To display the previous and current Connection states for 
each of the two Connection objects&lt;/font&gt;: Select OleDbConnection1 in the Class Name combobox of the 
editor and the StateChange event in the Method Name combobox.&lt;/font&gt;&lt;/p&gt;


&lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; bordercolor=&quot;#111111&quot; border=&quot;1&quot; id=&quot;AutoNumber2&quot; style=&quot;border-collapse: collapse&quot;&gt;
  &lt;tbody&gt;&lt;tr&gt;
    &lt;td width=&quot;100%&quot;&gt;&lt;pre&gt;&lt;font face=&quot;Verdana&quot;&gt;
&lt;font color=&quot;#0066FF&quot;&gt;private void &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;oleDbConnection1_StateChange (&lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;object &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;sender,&lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;StateChangeEventArgs&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;e)&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
&lt;font color=&quot;#0066FF&quot;&gt;string &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;s;&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;s = &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;The Connection State is changing from &quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;+ e.OriginalState.ToString() +&lt;/font&gt;
 &lt;font color=&quot;#ff00ff&quot;&gt;&quot; to &quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;+ e.CurrentState.ToString();&lt;/font&gt;
 &lt;font color=&quot;#808000&quot;&gt;MessageBox&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Show(s);&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;
 &lt;font color=&quot;#0066FF&quot;&gt;private void &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;SqlDbConnection1_StateChange (&lt;/font&gt;&lt;font color=&quot;#0066FF&quot;&gt;object &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;sender, &lt;/font&gt;&lt;font color=&quot;#808000&quot;&gt;StateChangeEventArgs&lt;br&gt; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;e)&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;{&lt;/font&gt;
 &lt;font color=&quot;#0066FF&quot;&gt;string &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;s1;&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;s1 = &lt;/font&gt;&lt;font color=&quot;#ff00ff&quot;&gt;&quot;The Connection State is changing from &quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;+&lt;/font&gt;
 &lt;font color=&quot;#000000&quot;&gt;e.OriginalState.ToString() +&lt;/font&gt;
 &lt;font color=&quot;#ff00ff&quot;&gt;&quot; to &quot; &lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;+ e.CurrentState.ToString();&lt;/font&gt;
 &lt;font color=&quot;#808000&quot;&gt;MessageBox&lt;/font&gt;&lt;font color=&quot;#000000&quot;&gt;.Show(s1);&lt;/font&gt;
&lt;font color=&quot;#000000&quot;&gt;}&lt;/font&gt;


&lt;/font&gt;&lt;/pre&gt;
&lt;/td&gt;
  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;p align=&quot;LEFT&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;Add the code to connect the event handlers to the:-&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;LEFT&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;ConnectionProperties sub:&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;LEFT&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;&amp;nbsp;this.oleDbConnection1.StateChange += newSystem.Data.StateChangeEventHandler(this.oleDbConnection1_StateChange);&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;LEFT&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;this.SqlDbConnection1.StateChange += new
System.Data.StateChangeEventHandler(this.SqlDbConnection1_StateChange);&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;LEFT&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;. Save and run the program. Change the Connection Type and then click the Test button.&lt;/font&gt;&lt;/p&gt;
&lt;p align=&quot;LEFT&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;The application displays two MessageBoxes as the Connection 
is opened and closed.&lt;/font&gt;&lt;/p&gt;

&lt;p dir=&quot;ltr&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot; color=&quot;#0066FF&quot;&gt;&lt;i&gt;&lt;b&gt;
2)InfoMessage&lt;/b&gt;&lt;/i&gt;&lt;/font&gt;&lt;/p&gt;

&lt;font face=&quot;Times New Roman&quot;&gt;
&lt;p align=&quot;LEFT&quot;&gt;&lt;font size=&quot;2&quot; face=&quot;Verdana&quot;&gt;The InfoMessage event is triggered when the data source 
returns warnings. The information passed to the event handler depends on the 
Data Provider.&lt;/font&gt;&lt;/p&gt;
&lt;/font&gt;

 </content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/1915746630096800362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7567601111711737355/posts/default/1915746630096800362'/><link rel='alternate' type='text/html' href='http://coodemania.blogspot.com/2012/08/handling-connection-events.html' title='Handling Connection Events'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/07238334395855218431</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>