<?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: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-32059817</id><updated>2012-01-22T22:51:40.741-08:00</updated><title type='text'>Raja</title><subtitle type='html'>Software Engineer</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>48</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-32059817.post-5909177991386572127</id><published>2010-01-05T21:49:00.000-08:00</published><updated>2010-01-05T21:49:21.304-08:00</updated><title type='text'>Suzuki has unveiled its latest concept car, the R3 MPV  at Auto Expo 2010 in New Delhi</title><content type='html'>&lt;a href="http://www.auto123.com/en/news/car-news/suzuki-has-unveiled-its-latest-concept-car-the-r3-mpv-at-auto-expo-2010-in-new?model=R3+Concept&amp;amp;artid=114634"&gt;Suzuki has unveiled its latest concept car, the R3 MPV  at Auto Expo 2010 in New Delhi&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-5909177991386572127?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.auto123.com/en/news/car-news/suzuki-has-unveiled-its-latest-concept-car-the-r3-mpv-at-auto-expo-2010-in-new?model=R3+Concept&amp;artid=114634' title='Suzuki has unveiled its latest concept car, the R3 MPV  at Auto Expo 2010 in New Delhi'/><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/5909177991386572127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=5909177991386572127' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/5909177991386572127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/5909177991386572127'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2010/01/suzuki-has-unveiled-its-latest-concept.html' title='Suzuki has unveiled its latest concept car, the R3 MPV  at Auto Expo 2010 in New Delhi'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-2917360677735815547</id><published>2009-12-06T23:29:00.000-08:00</published><updated>2009-12-06T23:30:05.198-08:00</updated><title type='text'>Service Manual Acer Aspire 3680 5570 5580</title><content type='html'>&lt;a title="View Service Manual Acer Aspire 3680 5570 5580 on Scribd" style="DISPLAY: block; MARGIN: 12px auto 6px; FONT: 14px Helvetica,Arial,Sans-serif; TEXT-DECORATION: underline; font-size-adjust: none; font-stretch: normal; -x-system-font: none" href="http://www.scribd.com/doc/21949816/Service-Manual-Acer-Aspire-3680-5570-5580"&gt;Service Manual Acer Aspire 3680 5570 5580&lt;/a&gt;&lt;object id="doc_282073255426000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=" height="500" width="100%" align="middle" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" name="doc_282073255426000"&gt;&lt;param name="_cx" value="17965"&gt;&lt;param name="_cy" value="13229"&gt;&lt;param name="FlashVars" value=""&gt;&lt;param name="Movie" value="http://d1.scribdassets.com/ScribdViewer.swf?document_id=21949816&amp;amp;access_key=key-1e89djegf78x87gl1a51&amp;amp;page=1&amp;amp;version=1&amp;amp;viewMode=list"&gt;&lt;param name="Src" value="http://d1.scribdassets.com/ScribdViewer.swf?document_id=21949816&amp;amp;access_key=key-1e89djegf78x87gl1a51&amp;amp;page=1&amp;amp;version=1&amp;amp;viewMode=list"&gt;&lt;param name="WMode" value="Opaque"&gt;&lt;param name="Play" value="-1"&gt;&lt;param name="Loop" value="-1"&gt;&lt;param name="Quality" value="High"&gt;&lt;param name="SAlign" value="LT"&gt;&lt;param name="Menu" value="-1"&gt;&lt;param name="Base" value=""&gt;&lt;param name="AllowScriptAccess" value="always"&gt;&lt;param name="Scale" value="NoScale"&gt;&lt;param name="DeviceFont" value="0"&gt;&lt;param name="EmbedMovie" value="0"&gt;&lt;param name="BGColor" value="FFFFFF"&gt;&lt;param name="SWRemote" value=""&gt;&lt;param name="MovieData" value=""&gt;&lt;param name="SeamlessTabbing" value="1"&gt;&lt;param name="Profile" value="0"&gt;&lt;param name="ProfileAddress" value=""&gt;&lt;param name="ProfilePort" value="0"&gt;&lt;param name="AllowNetworking" value="all"&gt;&lt;param name="AllowFullScreen" value="true"&gt;&lt;br /&gt;                                                  &lt;embed src="http://d1.scribdassets.com/ScribdViewer.swf?document_id=21949816&amp;access_key=key-1e89djegf78x87gl1a51&amp;page=1&amp;version=1&amp;viewMode=list" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="showall" wmode="opaque" devicefont="false" bgcolor="#ffffff" name="doc_282073255426000_object" menu="true" allowfullscreen="true" allowscriptaccess="always" salign="" type="application/x-shockwave-flash" align="middle" mode="list" height="500" width="100%"&gt;&lt;/embed&gt; &lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-2917360677735815547?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/2917360677735815547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=2917360677735815547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2917360677735815547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2917360677735815547'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2009/12/service-manual-acer-aspire-3680-5570.html' title='Service Manual Acer Aspire 3680 5570 5580'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-6546618951019782921</id><published>2009-06-19T22:09:00.001-07:00</published><updated>2009-06-19T22:09:59.992-07:00</updated><title type='text'>Silverlight 3 Longhorn</title><content type='html'>&lt;iframe scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="width:240px;height:66px;margin:3px;padding:0;border:1px solid #dde5e9;background-color:#ffffff;" src="http://cid-1e3f9e1e2f8bc994.skydrive.live.com/embedrowdetail.aspx/Public/longhorn.zip"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-6546618951019782921?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/6546618951019782921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=6546618951019782921' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/6546618951019782921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/6546618951019782921'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2009/06/silverlight-3-longhorn.html' title='Silverlight 3 Longhorn'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-8245096190491542715</id><published>2009-05-07T07:12:00.000-07:00</published><updated>2009-05-07T23:45:26.063-07:00</updated><title type='text'>WCF Service Factory Video</title><content type='html'>&lt;iframe src="http://www.microsoft.com/belux/msdn/nl/chopsticks/player.aspx?id=307&amp;amp;e=1" marginheight="0" marginwidth="0" scrolling="no" width="493" frameborder="0" height="385"&gt;&lt;/iframe&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(102, 51, 255);"&gt;We need to do the below steps for Host Model&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"   style="  ;font-family:Verdana;font-size:12px;"&gt;&lt;div class="ArticleTypeTitle" id="S4" style="font-weight: bold; font-family: 'Segoe UI', Arial; font-size: 14px; font-style: normal; font-variant: normal; text-transform: none; color: rgb(0, 128, 128); margin-top: 3px; "&gt;Host Model&lt;/div&gt;&lt;div class="ArticleNormalPara" face="Verdana, Arial" size="12px" style="  font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; color: rgb(51, 51, 51); "&gt;The host model is used to model the endpoints of the Web service and the client proxies. This model looks completely different from the other two models we've discussed previously. At this point, you can start modeling in the host explorer by right-clicking on elements, as opposed to simply dragging and dropping elements onto the design surface. By right-clicking on the host model element, you can add a new host and a new client, as shown in &lt;strong&gt;Figure 7&lt;/strong&gt;.&lt;/div&gt;&lt;div class="ArticleImageSpacer" style="padding-top: 10px; padding-bottom: 5px; "&gt;&lt;img alt="" src="http://i.msdn.microsoft.com/cc164250.fig07(en-us).gif" /&gt;&lt;div class="ArticleImageCaptionText" style="font-weight: normal; font-size: 14px; color: rgb(0, 51, 153); font-family: 'Segoe UI', Arial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Figure 7&lt;strong&gt; Adding Clients and Hosts to the Host Model &lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" face="Verdana, Arial" size="12px" style="  font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; color: rgb(51, 51, 51); "&gt;After adding a PizzaHost and a PizzaClient, the implementation technology for both can be selected. We have chosen to set both to WCF. It is also necessary to select an implementation project for both. Fortunately, the Service Factory has already generated those for us. As you can see, the Tests folder in the solution structure shown in &lt;strong&gt;Figure 5&lt;/strong&gt; contains the projects PizzaService.Host and PizzaService.Client. These can be used as implementation projects.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Verdana, Arial; font-size: 12px; font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; color: rgb(51, 51, 51); "&gt;We create a new ServiceReference by right-clicking on the PizzaHost. For this new ServiceReference, we need to select a service implementation—this is a reference to our service model. We can select the implementation in the same way we selected data contracts in &lt;strong&gt;Figure 2&lt;/strong&gt;.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Verdana, Arial; font-size: 12px; font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; color: rgb(51, 51, 51); "&gt;For each ServiceReference you create, you can define different endpoints. We have created one endpoint, called PizzaEndpoint, and have configured it to use the wsHttpBinding.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Verdana, Arial; font-size: 12px; font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; color: rgb(51, 51, 51); "&gt;Now that we have an endpoint, we can create a proxy for our client. To add a new proxy, we right-click on the PizzaClient in the Host Explorer. With a combobox in the property window of the proxy, we can select the endpoint. The completed host model is shown in &lt;strong&gt;Figure 8&lt;/strong&gt;.&lt;/div&gt;&lt;div class="ArticleImageSpacer" style="padding-top: 10px; padding-bottom: 5px; "&gt;&lt;img alt="" src="http://i.msdn.microsoft.com/cc164250.fig08(en-us).gif" /&gt;&lt;div class="ArticleImageCaptionText" style="font-weight: normal; font-size: 14px; color: rgb(0, 51, 153); font-family: 'Segoe UI', Arial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Figure 8&lt;strong&gt; Completed Host Model for the Pizza Service &lt;/strong&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="ArticleTypeTitle" id="S5" style="font-weight: bold; font-family: 'Segoe UI', Arial; font-size: 14px; font-style: normal; font-variant: normal; text-transform: none; color: rgb(0, 128, 128); margin-top: 3px; "&gt;Generating Code&lt;/div&gt;&lt;div class="SidebarContainer" style="width: 30%; height: 400px; float: right; overflow-x: scroll; overflow-y: scroll; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(0, 128, 128); border-right-color: rgb(0, 128, 128); border-bottom-color: rgb(0, 128, 128); border-left-color: rgb(0, 128, 128); padding-top: 10px; padding-right: 20px; padding-bottom: 0px; padding-left: 20px; background-color: rgb(225, 232, 245); margin-top: 20px; margin-right: 0px; margin-bottom: 20px; margin-left: 10px; "&gt;&lt;div class="SidebarHeadline" style="font-weight: bold; font-size: 18px; line-height: 20px; color: rgb(0, 128, 128); font-family: 'Segoe UI', Arial; "&gt;Online Service Factory Resources&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://msdn2.microsoft.com/teamsystem/aa718368" style="text-decoration: none; color: rgb(0, 51, 204); "&gt;Domain-Specific Language Tools&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://go.microsoft.com/fwlink/?LinkId=107345" style="text-decoration: none; color: rgb(0, 51, 204); "&gt;Designer Integration Powertoy for Domain-Specific Language Tools&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://codeplex.com/servicefactory" style="text-decoration: none; color: rgb(0, 51, 204); "&gt;Web Service Software Factory&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://codeplex.com/RepositoryFactory" style="text-decoration: none; color: rgb(0, 51, 204); "&gt;The Repository Factory&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://codeplex.com/entlib" style="text-decoration: none; color: rgb(0, 51, 204); "&gt;Enterprise Library&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Verdana, Arial; font-size: 12px; font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; color: rgb(51, 51, 51); "&gt;All the models we need for our pizza ordering service are now defined, and we are ready to generate the service. To do this, we first have to fill in the project mapping table field for each of our models—this can be defined in the property window of each model. When selecting this property, a selection window pops up. In our case, there is only one option: PizzaService. This is because all the roles were already defined when we created the solution structure. The roles can be found in the file projectmapping.xml, which is also part of our solution structure. In this file, a role can be associated with a project.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Verdana, Arial; font-size: 12px; font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; color: rgb(51, 51, 51); "&gt;The next step is to actually generate the code. Right-clicking on the data contract model gives us the Generate Code option. Selecting this option generates the data contracts in the PizzaService.DataContracts project. The same can be done for the service contract model, which generates code in the PizzaService.MessageContracts, PizzaService.ServiceContracts, and PizzaService.ServiceImplementation projects.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Verdana, Arial; font-size: 12px; font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; color: rgb(51, 51, 51); "&gt;Generating code for the host model is done in two steps: we generate code once for the host and once for the client. To generate code for the host, we click on the PizzaService ServiceReference and the Visual Studio designer presents a button called Validate Model. When we click the button, the model is validated correctly and we then are presented with the Generate Service button. Clicking this, as you've surely guessed by now, generates code in the PizzaService.Host project.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Verdana, Arial; font-size: 12px; font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; color: rgb(51, 51, 51); "&gt;Now to generate the client, we first have to run the host, so we compile the PizzaService.Host project and run it in a Web browser. Next we click on the PizzaProxy in our host model and click generate code. This opens a wizard, shown in &lt;strong&gt;Figure 9&lt;/strong&gt;, that allows us to configure the client. While the service address is filled in automatically by the Service Factory, we go ahead and define the security settings for the host. For instance, if an X.509 certificate is needed in order to connect to this service, we can add it to the client by using this wizard.&lt;/div&gt;&lt;div class="ArticleImageSpacer" style="padding-top: 10px; padding-bottom: 5px; "&gt;&lt;img alt="" src="http://i.msdn.microsoft.com/cc164250.fig09_L(en-us).gif" onmouseover="this.style.cursor='pointer';" onclick="var large='http://i.msdn.microsoft.com/cc164250.fig09_L(en-us).gif'; var small='http://i.msdn.microsoft.com/cc164250.fig09(en-us).gif'; var current= this.src; if (current == small) this.src = large; else this.src = small;" style="cursor: pointer; " /&gt;&lt;div class="ArticleImageCaptionText" style="font-weight: normal; font-size: 14px; color: rgb(0, 51, 153); font-family: 'Segoe UI', Arial; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;Figure 9&lt;strong&gt; Wizard Used to Generate the Client &lt;/strong&gt;(Click the image for a larger view)&lt;/div&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Verdana, Arial; font-size: 12px; font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; color: rgb(51, 51, 51); "&gt;At this point, the service is ready to use and can be published in IIS. Business logic and entities for the service can be added to the PizzaService.BusinessEntities and PizzaService.BusinessLogic projects. The only other thing we need to do is create a new partial class, called PizzaServicePeedy, in the PizzaService.ServiceImplementation project. This is used to add business logic to the generated service implementation. Unfortunately, if we edit the generated code directly, our logic will be overwritten the next time we generate code. But with a partial class, this is not the case since the generator does not touch a file we have created ourselves.&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Verdana, Arial; font-size: 12px; font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; color: rgb(51, 51, 51); "&gt;To show this, we have defined a class in the PizzaService.BusinessLogic project called PriceCalculator with a method called CalculatePrice. (It's important to note that this is not a recommended practice—it's much better if the business logic doesn't "know" anything about the service, which is why there is a translation layer. To support this process, Service Factory has a translator built in that helps you translate your data contract into business entities. But while you may not want to do this in production, we're using this technique here as a simple way to illustrate a fundamental point.) This method takes a PizzaOrder data contract as a parameter and returns the price of the order. The only thing we need to do now is encapsulate this price in a MessageContract and then return the MessageContract. Therefore, to do this we create a partial class in the PizzaService.ServiceImplementation project called PizzaServicePeedy that overrides the method OrderPizza generated by the Service Factory. &lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Verdana, Arial; font-size: 12px; font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; "&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 102, 255);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="ArticleNormalPara" style="font-family: Verdana, Arial; font-size: 12px; font-weight: normal; font-style: normal; font-variant: normal; text-transform: none; padding-bottom: 7px; line-height: 16px; "&gt;&lt;span class="Apple-style-span"   style="line-height: 20px; font-family:'Segoe UI';font-size:20px;"&gt;&lt;a href="http://msdn.microsoft.com/en-us/magazine/cc164250.aspx"&gt;&lt;span class="Apple-style-span" style="color: rgb(51, 102, 255);"&gt;Web Service Software Factory Modeling Edition - MSDN&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-8245096190491542715?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/8245096190491542715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=8245096190491542715' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8245096190491542715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8245096190491542715'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2009/05/wcf-service-factory-video.html' title='WCF Service Factory Video'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-2596125021916886015</id><published>2009-02-09T06:09:00.000-08:00</published><updated>2009-02-19T05:40:45.323-08:00</updated><title type='text'>WEB2BERRY</title><content type='html'>&lt;script type="text/javascript" language="javascript" src="http://www.vapssky.com/JS/NewScript.js" &gt;&lt;/script&gt;&lt;div id="vapsskyDiv" style="visibility:hidden;" &gt;&lt;/div&gt;&lt;img src="http://www.vapssky.com/images/img_livesupport_logo.gif" alt="live support" border="0"  id="livesupportservicesAnchor" /&gt; &lt;script language="javascript"&gt;LiveSupportShowDiv('this','livesupportservicesAnchor','primary=0xff0000&amp;secondary=0xff0000&amp;titleName=&amp;Guid=868968');&lt;/script&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-2596125021916886015?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/2596125021916886015/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=2596125021916886015' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2596125021916886015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2596125021916886015'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2009/02/web2berry.html' title='WEB2BERRY'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-3849134929684158759</id><published>2007-11-13T05:27:00.000-08:00</published><updated>2007-11-13T05:29:04.287-08:00</updated><title type='text'>G-Phone</title><content type='html'>&lt;object width="425" height="355"&gt;&lt;param name="movie" value="http://www.youtube.com/v/1FJHYqE0RDg&amp;rel=1&amp;border=0"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/1FJHYqE0RDg&amp;rel=1&amp;border=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-3849134929684158759?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/3849134929684158759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=3849134929684158759' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3849134929684158759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3849134929684158759'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/11/g-phone.html' title='G-Phone'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-4951773534300192759</id><published>2007-09-24T02:08:00.000-07:00</published><updated>2007-09-24T02:11:35.819-07:00</updated><title type='text'>See Twenty20 Live Circket here</title><content type='html'>&lt;iframe name="sopchannel" src="http://www.sopcast.com/channel/getch.html?groupId=1&amp;channelId=6002" frameborder="0" width="400" height="50" scrolling="no"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-4951773534300192759?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/4951773534300192759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=4951773534300192759' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4951773534300192759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4951773534300192759'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/09/see-twenty20-live-circket-here.html' title='See Twenty20 Live Circket here'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-2671638637138224921</id><published>2007-09-13T02:58:00.000-07:00</published><updated>2007-09-13T03:21:07.135-07:00</updated><title type='text'>Var Keyword in C# - .Net 3.5 Orcas Feature</title><content type='html'>In .Net 3.5 Orcas consist of a keyword called var. This keyword can be used to reference any type in c#. For example,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div   style="border: 2px ridge white; margin: 10px; padding: 10px; background-color: rgb(238, 238, 238);font-family:courier new;font-size:10pt;"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;span style="color:blue;"&gt;&lt;span style="font-size:100%;"&gt;var &lt;span style="color: rgb(0, 0, 0);"&gt;name =  &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;"raja";&lt;/span&gt;&lt;br /&gt;var &lt;span style="color: rgb(0, 0, 0);"&gt;age = 26;&lt;/span&gt;&lt;br /&gt;var &lt;span style="color: rgb(0, 0, 0);"&gt;single =&lt;/span&gt;  true&lt;span style="color: rgb(0, 0, 0);"&gt;;        &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=";font-family:arial;font-size:100%;"  &gt;The compiler will infer the type of the "name", "age" and "single" variables based on the type of their initial assignment value&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div   style="border: 2px ridge white; margin: 10px; padding: 10px; background-color: rgb(238, 238, 238);font-family:courier new;font-size:10pt;"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;span style="color:blue;"&gt;&lt;span style="font-size:100%;"&gt;string &lt;span style="color: rgb(0, 0, 0);"&gt;name =  &lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;"raja";&lt;/span&gt;&lt;br /&gt;int &lt;span style="color: rgb(0, 0, 0);"&gt;age = 26;&lt;/span&gt;&lt;br /&gt;bool &lt;span style="color: rgb(0, 0, 0);"&gt;single =&lt;/span&gt;  true&lt;span style="color: rgb(0, 0, 0);"&gt;;        &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-2671638637138224921?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/2671638637138224921/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=2671638637138224921' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2671638637138224921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2671638637138224921'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/09/var-keyword-in-c-net-35-orcas-feature.html' title='Var Keyword in C# - .Net 3.5 Orcas Feature'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-5836107435472874330</id><published>2007-09-13T02:57:00.000-07:00</published><updated>2007-09-13T02:58:05.615-07:00</updated><title type='text'>What are Extension Methods?</title><content type='html'>&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;Extension methods allow developers to add new methods to the public contract of an existing CLR type, without having to sub-class it or recompile the original type.  Extension Methods help blend the flexibility of "duck typing" support popular within dynamic languages today with the performance and compile-time validation of strongly-typed languages.&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt; &lt;/span&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;Extension Methods enable a variety of useful scenarios, and help make possible the really powerful LINQ query framework that is being introduced with .NET as part of the "Orcas" release.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-5836107435472874330?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/5836107435472874330/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=5836107435472874330' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/5836107435472874330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/5836107435472874330'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/09/what-are-extension-methods.html' title='What are Extension Methods?'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-91705941907691341</id><published>2007-09-13T02:47:00.000-07:00</published><updated>2007-09-13T02:54:11.660-07:00</updated><title type='text'>Simple Email validation class in .Net 3.5 - Orcas Feature</title><content type='html'>There is a class named EmailValidator in .Net 3.5 to validate email address. This class contain a static method called "IsValid" to validate email string. Sample code given below.&lt;br /&gt;&lt;br /&gt;&lt;div style="border: 2px ridge white; margin: 10px; padding: 10px; font-size: 10pt; font-family: courier new; background-color: rgb(238, 238, 238);"&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;span style="color:blue;"&gt;string &lt;/span&gt;&lt;span style="color:black;"&gt;email &lt;/span&gt;&lt;span style="color:blue;"&gt;= &lt;span style="color: rgb(153, 0, 0);"&gt;"raja@test.com"&lt;/span&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;br /&gt;&lt;br /&gt;if &lt;/span&gt;&lt;span style="color:black;"&gt;( EmailValidator.IsValid(email) ) {&lt;br /&gt;   &lt;/span&gt;&lt;span style="color:darkgreen;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;There is another way to validate email string.&lt;br /&gt;&lt;br /&gt;&lt;div   style="border: 2px ridge white; margin: 10px; padding: 10px; background-color: rgb(238, 238, 238);font-family:courier new;font-size:10pt;"&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;span style="color:blue;"&gt;string &lt;/span&gt;&lt;span style="color:black;"&gt;email &lt;/span&gt;&lt;span style="color:blue;"&gt;= &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;"raja@test.com"&lt;/span&gt;&lt;/span&gt;&lt;span style="color:blue;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;span style="color:blue;"&gt;&lt;br /&gt;&lt;br /&gt;if &lt;/span&gt;&lt;span style="color:black;"&gt;( email.IsValidEmailAddress() ) {&lt;br /&gt;  &lt;/span&gt;&lt;span style="color:darkgreen;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:black;"&gt;}&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-91705941907691341?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/91705941907691341/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=91705941907691341' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/91705941907691341'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/91705941907691341'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/09/simple-email-validation-class-in-net-35.html' title='Simple Email validation class in .Net 3.5 - Orcas Feature'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-3351577215524189208</id><published>2007-07-30T22:55:00.000-07:00</published><updated>2007-08-05T07:22:32.288-07:00</updated><title type='text'>VS.PHP</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.jcxsoftware.com/vs.php?gclid=CJaFtfWL0Y0CFSieTAodEjdlcQ"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_Js4OebBNAEc/Rq7PZliin3I/AAAAAAAAADE/jsFo-hDq4wc/s320/vsphp.bmp" alt="" id="BLOGGER_PHOTO_ID_5093236267083276146" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;VS.Php is a Php integrated development environment based on Visual Studio. With VS.Php you can design, develop, debug and deploy Php applications within the Visual Studio IDE. VS.Php key features are around providing rich Php and Smarty editing capabilities as well as its ability to debug Php scripts locally as well as remotely.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.jcxsoftware.com/vs.php?gclid=CJaFtfWL0Y0CFSieTAodEjdlcQ"&gt;More.....&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-3351577215524189208?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/3351577215524189208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=3351577215524189208' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3351577215524189208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3351577215524189208'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/07/vsphp.html' title='VS.PHP'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Js4OebBNAEc/Rq7PZliin3I/AAAAAAAAADE/jsFo-hDq4wc/s72-c/vsphp.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-4970493142633178564</id><published>2007-07-25T23:17:00.000-07:00</published><updated>2007-07-25T23:20:14.365-07:00</updated><title type='text'>XmlTextWriter Class Sample</title><content type='html'>&lt;span style="color: rgb(0, 153, 0);"&gt;XmlTextWriter &lt;/span&gt;xmlWriter = new &lt;span style="color: rgb(0, 153, 0);"&gt;XmlTextWriter&lt;/span&gt;(&lt;span style="color: rgb(153, 0, 0);"&gt;"c:\\menus.xml"&lt;/span&gt;, &lt;span style="color: rgb(51, 51, 255);"&gt;null&lt;/span&gt;);&lt;br /&gt;        xmlWriter.Formatting = Formatting.&lt;span style="color: rgb(0, 153, 0);"&gt;Indented&lt;/span&gt;;&lt;br /&gt;       &lt;br /&gt;        xmlWriter.WriteStartElement(&lt;span style="color: rgb(153, 0, 0);"&gt;"menus"&lt;/span&gt;);&lt;br /&gt;        &lt;span style="color: rgb(0, 0, 153);"&gt;for &lt;/span&gt;(int &lt;span style="color: rgb(51, 51, 255);"&gt;i&lt;/span&gt; = 0; i &lt; 10; i++)&lt;br /&gt;        {&lt;br /&gt;            xmlWriter.WriteStartElement(&lt;span style="color: rgb(153, 0, 0);"&gt;"menu"&lt;/span&gt;);&lt;br /&gt;            xmlWriter.WriteAttributeString(&lt;span style="color: rgb(153, 0, 0);"&gt;"id"&lt;/span&gt;, &lt;span style="color: rgb(153, 0, 0);"&gt;"000000-00000-00000-0000"&lt;/span&gt;);&lt;br /&gt;            xmlWriter.WriteAttributeString(&lt;span style="color: rgb(153, 0, 0);"&gt;"name"&lt;/span&gt;, &lt;span style="color: rgb(153, 0, 0);"&gt;"coffee"&lt;/span&gt;);&lt;br /&gt;            xmlWriter.WriteFullEndElement();&lt;br /&gt;        }&lt;br /&gt;        xmlWriter.Close();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-4970493142633178564?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/4970493142633178564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=4970493142633178564' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4970493142633178564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4970493142633178564'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/07/xmltextwriter-class-sample.html' title='XmlTextWriter Class Sample'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-4075618963254803304</id><published>2007-07-16T22:11:00.001-07:00</published><updated>2007-07-16T22:21:51.800-07:00</updated><title type='text'>Visual Studio 2008, Windows Server 2008 and SQL Server 2008</title><content type='html'>&lt;span style="font-weight: bold;font-size:180%;" &gt;SQL Server 2008 (&lt;a href="http://www.microsoft.com/sql/2008/edp/index.html"&gt;Click Here for more&lt;/a&gt;)&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.microsoft.com/sql/prodinfo/futureversion/default.mspx"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_Js4OebBNAEc/RpxRVo6PzCI/AAAAAAAAAC0/8C7pakEDoys/s320/sql2008-1.jpg" alt="" id="BLOGGER_PHOTO_ID_5088031111222643746" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:180%;" &gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/sql/2008/edp/index.html"&gt;Videos&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.microsoft.com/sql/2008/edp/index.html"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_Js4OebBNAEc/RpxPtI6PzAI/AAAAAAAAACk/pxI69wsmjfg/s320/sql2008.JPG" alt="" id="BLOGGER_PHOTO_ID_5088029315926313986" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size:180%;"&gt;Visual Studio 2008 (&lt;a href="http://msdn2.microsoft.com/en-us/vstudio/aa700830.aspx"&gt;Click Here for more&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://msdn2.microsoft.com/en-us/vstudio/aa700830.aspx"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_Js4OebBNAEc/RpxQmI6PzBI/AAAAAAAAACs/WlOD840TOQw/s320/vs2008.jpg" alt="" id="BLOGGER_PHOTO_ID_5088030295178857490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size:180%;"&gt;&lt;br /&gt;Windows Server 2008 (&lt;a href="http://www.microsoft.com/windowsserver2008/default.mspx"&gt;Click Here for more&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.microsoft.com/windowsserver2008/default.mspx"&gt;&lt;img style="cursor: pointer; width: 320px; height: 222px;" src="http://2.bp.blogspot.com/_Js4OebBNAEc/RpxRtI6PzDI/AAAAAAAAAC8/MWPX-_G6mpw/s320/ws2008.jpg" alt="" id="BLOGGER_PHOTO_ID_5088031514949569586" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-4075618963254803304?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/4075618963254803304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=4075618963254803304' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4075618963254803304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4075618963254803304'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/07/visual-studio-2008-windows-server-2008.html' title='Visual Studio 2008, Windows Server 2008 and SQL Server 2008'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Js4OebBNAEc/RpxRVo6PzCI/AAAAAAAAAC0/8C7pakEDoys/s72-c/sql2008-1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-8956090042847257960</id><published>2007-07-12T05:21:00.001-07:00</published><updated>2007-07-12T05:21:57.363-07:00</updated><title type='text'>Shakira - Ojos Asi</title><content type='html'>&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/8p7TzHsv3wk"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/8p7TzHsv3wk" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-8956090042847257960?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/8956090042847257960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=8956090042847257960' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8956090042847257960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8956090042847257960'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/07/shakira-ojos-asi.html' title='Shakira - Ojos Asi'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-9014699570008186331</id><published>2007-07-12T02:43:00.000-07:00</published><updated>2007-07-12T02:44:21.806-07:00</updated><title type='text'>Love Video Song</title><content type='html'>&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/68UEDjK89ic"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/68UEDjK89ic" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-9014699570008186331?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/9014699570008186331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=9014699570008186331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/9014699570008186331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/9014699570008186331'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/07/love-video-song.html' title='Love Video Song'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-4393134916826559885</id><published>2007-07-10T01:31:00.000-07:00</published><updated>2007-07-10T01:32:34.345-07:00</updated><title type='text'>Hiroshema Reenactment</title><content type='html'>&lt;object width="425" height="343"&gt;&lt;param name="movie" value="http://www.vidivodo.com/VideoPlayerShare.swf?lang=en&amp;vidID=31393&amp;vCode=v200703261451050031393&amp;dura=118&amp;File=vidservers/server184/videos/2007/03/26/14/v200703261451050031393.flv"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.vidivodo.com/VideoPlayerShare.swf?lang=en&amp;vidID=31393&amp;vCode=v200703261451050031393&amp;dura=118&amp;File=vidservers/server184/videos/2007/03/26/14/v200703261451050031393.flv" type="application/x-shockwave-flash" wmode="transparent" width="425" height="343"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-4393134916826559885?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/4393134916826559885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=4393134916826559885' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4393134916826559885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4393134916826559885'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/07/hiroshema-reenactment.html' title='Hiroshema Reenactment'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-9157207342243262362</id><published>2007-07-03T02:48:00.001-07:00</published><updated>2007-07-03T02:48:49.101-07:00</updated><title type='text'>Convert CString to LPBYTE</title><content type='html'>CString str = "la-la-la";&lt;br /&gt;LPBYTE pByte = new BYTE[str.GetLength() + 1];&lt;br /&gt;memcpy(pByte, (VOID*)LPCTSTR(str), str.GetLength());&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-9157207342243262362?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/9157207342243262362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=9157207342243262362' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/9157207342243262362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/9157207342243262362'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/07/convert-cstring-to-lpbyte.html' title='Convert CString to LPBYTE'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-3710843542295851673</id><published>2007-07-02T03:49:00.001-07:00</published><updated>2007-07-02T03:49:22.588-07:00</updated><title type='text'>Top 3 laughing baby´s</title><content type='html'>&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/x3Rw_3ky-uo"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/x3Rw_3ky-uo" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-3710843542295851673?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/3710843542295851673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=3710843542295851673' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3710843542295851673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3710843542295851673'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/07/top-3-laughing-babys.html' title='Top 3 laughing baby´s'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-2423746564170367679</id><published>2007-07-01T22:17:00.000-07:00</published><updated>2007-07-02T01:41:50.353-07:00</updated><title type='text'>Funny Video</title><content type='html'>&lt;embed src="http://www.metacafe.com/fplayer/664630/comedy.swf" width="400" height="345" wmode="transparent"  pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;br/&gt;&lt;font size="1"&gt;&lt;br /&gt;    &lt;a href="http://www.metacafe.com/watch/664630/comedy/"&gt;Comedy - video powered by Metacafe&lt;/a&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-2423746564170367679?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/2423746564170367679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=2423746564170367679' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2423746564170367679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2423746564170367679'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/07/funy-video.html' title='Funny Video'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-5290892741818095855</id><published>2007-06-30T03:39:00.000-07:00</published><updated>2007-06-30T03:42:29.301-07:00</updated><title type='text'>Convert LRESULT  to LPARAM vc++ win32</title><content type='html'>&lt;span style="color: rgb(51, 51, 255);font-size:100%;" &gt;LRESULT tt =12;&lt;br /&gt;wchar_t buf[20];&lt;br /&gt; _itow_s(tt,buf,20,10);&lt;br /&gt;LPARAM lp = (LPARAM) buf;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-5290892741818095855?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/5290892741818095855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=5290892741818095855' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/5290892741818095855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/5290892741818095855'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/06/convert-lresult-to-lparam-vc-win32.html' title='Convert LRESULT  to LPARAM vc++ win32'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-8839409533969463062</id><published>2007-06-30T02:38:00.000-07:00</published><updated>2007-06-30T02:39:25.092-07:00</updated><title type='text'>Read key string from registry c++ win32</title><content type='html'>&lt;span style="color: rgb(51, 51, 255);font-size:100%;" &gt;LPTSTR DStudioRegistry::GetStringValue(HKEY hKey, LPCWSTR key, LPCWSTR string)&lt;br /&gt;{&lt;br /&gt;    DWORD dwType, dwSize;&lt;br /&gt;    HKEY  hSubKey;&lt;br /&gt;    KString temp;&lt;br /&gt;    LPTSTR result;&lt;br /&gt;    BYTE buff[512];&lt;br /&gt;    if (RegOpenKeyEx(hKey, key, NULL, KEY_ALL_ACCESS ,&amp;hSubKey)== ERROR_SUCCESS)&lt;br /&gt;    {&lt;br /&gt;        if (RegQueryValueExW(hSubKey, string , NULL, &amp;dwType, buff, &amp;amp;dwSize) == ERROR_SUCCESS)&lt;br /&gt;         {&lt;br /&gt;               KString str( (LPCTSTR)buff);&lt;br /&gt;              &lt;br /&gt;               result = str.m_sString;&lt;br /&gt;         }&lt;br /&gt;    }&lt;br /&gt;    RegCloseKey(hKey);&lt;br /&gt;    return result;&lt;br /&gt;}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-8839409533969463062?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/8839409533969463062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=8839409533969463062' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8839409533969463062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8839409533969463062'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/06/read-key-string-from-registry-c-win32.html' title='Read key string from registry c++ win32'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-74641167321892205</id><published>2007-06-30T02:37:00.000-07:00</published><updated>2007-06-30T02:38:25.605-07:00</updated><title type='text'>Read DWORD from registry c++ win32</title><content type='html'>&lt;span style="color: rgb(51, 51, 255);font-size:100%;" &gt;DWORD DStudioRegistry::GetDWORDValue(HKEY hKey1, LPCWSTR key, LPCWSTR string)&lt;br /&gt;{&lt;br /&gt;    DWORD dwSavePageSettings = 0;&lt;br /&gt;    HKEY hKey = NULL;&lt;br /&gt;    REGSAM sam = KEY_READ;&lt;br /&gt;    char* pszKey = "Software\\Microsoft\\Raja";&lt;br /&gt;&lt;br /&gt;    if ( ERROR_SUCCESS != RegOpenKeyEx ( hKey1, key, 0, sam, &amp;hKey)) {&lt;br /&gt;&lt;br /&gt;       return dwSavePageSettings;&lt;br /&gt;&lt;br /&gt;    } else {&lt;br /&gt;&lt;br /&gt;        DWORD dwType = REG_DWORD;&lt;br /&gt;        DWORD dwSize = sizeof ( DWORD);&lt;br /&gt;        if ( ERROR_SUCCESS != RegQueryValueEx ( hKey, string, NULL, &amp;dwType, ( LPBYTE) &amp;amp;dwSavePageSettings, &amp;dwSize))&lt;br /&gt;        {&lt;br /&gt;            // error&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    RegCloseKey ( hKey);&lt;br /&gt;&lt;br /&gt;    return dwSavePageSettings;&lt;br /&gt;}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-74641167321892205?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/74641167321892205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=74641167321892205' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/74641167321892205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/74641167321892205'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/06/read-dword-from-registry-c-win32.html' title='Read DWORD from registry c++ win32'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-1205806839711461737</id><published>2007-06-30T02:27:00.000-07:00</published><updated>2007-06-30T02:31:25.109-07:00</updated><title type='text'>How to convert BYTE array to CString</title><content type='html'>&lt;pre style="color: rgb(51, 51, 255); font-family: lucida grande;"&gt;&lt;span style="font-size:100%;"&gt;BYTE x[5];&lt;br /&gt;x[0] = 'A';&lt;br /&gt;x[1] = 0;&lt;br /&gt;x[2] = 'B';&lt;br /&gt;x[3] = 'C';&lt;br /&gt;x[4] = 0;&lt;br /&gt;CString str( (LPCSTR) &amp;x, sizeof(x) );&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-1205806839711461737?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/1205806839711461737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=1205806839711461737' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/1205806839711461737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/1205806839711461737'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/06/how-to-convert-byte-array-to-cstring.html' title='How to convert BYTE array to CString'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-2450335260993210545</id><published>2007-06-12T02:56:00.000-07:00</published><updated>2007-06-12T02:58:05.901-07:00</updated><title type='text'>Registry Key Creation using RegCreateKey</title><content type='html'>&lt;span style="font-size:100%;"&gt;HKEY hKey;&lt;br /&gt;LONG iSuccess = RegCreateKeyEx( HKEY_CURRENT_USER, L"SOFTWARE\\Raja", 0L,NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &amp;hKey,0);&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-2450335260993210545?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/2450335260993210545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=2450335260993210545' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2450335260993210545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2450335260993210545'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/06/registry-key-creation-using.html' title='Registry Key Creation using RegCreateKey'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-8149545714359509265</id><published>2007-06-06T22:31:00.000-07:00</published><updated>2007-06-06T22:36:08.330-07:00</updated><title type='text'>Windows Mobile 5.0 Tweaks</title><content type='html'>&lt;span style="font-size:100%;"&gt;      &lt;/span&gt;&lt;p&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span style="color: fuchsia;"&gt;Make WM5 keep CAB files around after installing (2)&lt;/span&gt;&lt;/b&gt;&lt;span style="color: fuchsia;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size:100%;"&gt;An alternative method of making WM5 keep the original .CAB file around after installing the application is by adding the "/nodelete" option to the Windows CE loader:&lt;/span&gt;&lt;/p&gt;  &lt;pre&gt;&lt;span style="font-size:100%;"&gt;&lt;code&gt;HKCR\cabfile\Shell\open\command = 'wceload.exe "%1" /nodelete' (REG&lt;i&gt;SZ string, no quotes)&lt;/i&gt;&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;p class="tightenabletopbottom"&gt;&lt;span style="font-size:100%;"&gt;An alternative method of making WM5 ask where to install a program is by adding the "/askdest" option to the Windows CE loader:&lt;/span&gt;&lt;/p&gt;  &lt;p class="tightenabletopbottom"&gt;&lt;span style="font-size:100%;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;HKCR\cabfile\Shell\open\command = 'wceload.exe "%1" /askdest' (REG_SZ string, no quotes)&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style="color: maroon;"&gt;Brigthness&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;[HKEY_CURRENT_USER\ControlPanel\BackLight]&lt;span style=""&gt;  &lt;/span&gt;- ACBrigthness [Dword] 1-6&lt;span style=""&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;[HKEY_CURRENT_USER\ControlPanel\BackLight]&lt;span style=""&gt;  &lt;/span&gt;- BatteryBrigthness [Dword] 1-6&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style="color: red;"&gt;Show clock in task bar &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\TaskBar]&lt;span style=""&gt;  &lt;/span&gt;LimitedClock [Dword] 0&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style="color: red;"&gt;To hide&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shell\TaskBar]&lt;span style=""&gt;  &lt;/span&gt;LimitedClock [Dword] 1&lt;span style=""&gt;        &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;&lt;span style="color: red;"&gt;Remove operator skin from Phone app to remove&lt;/span&gt;&lt;/b&gt;&lt;span style="color: red;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: red;"&gt;[HKEY_LOCAL_MACHINE\Security\Phone\Skin]&lt;span style=""&gt;  &lt;/span&gt;Enabled [DWord] 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b style=""&gt;&lt;span style="color: red;"&gt;To show&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color: red;"&gt;[HKEY_LOCAL_MACHINE\Security\Phone\Skin]&lt;span style=""&gt;  &lt;/span&gt;Enabled [DWord] 1&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-8149545714359509265?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/8149545714359509265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=8149545714359509265' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8149545714359509265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8149545714359509265'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/06/windows-mobile-50-tweaks.html' title='Windows Mobile 5.0 Tweaks'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-2121538706579955342</id><published>2007-06-06T21:18:00.000-07:00</published><updated>2007-06-06T21:27:23.438-07:00</updated><title type='text'>Crazy Multi-Input Touch Screen</title><content type='html'>&lt;object width="425" height="350"&gt;&lt;param name="movie" value="http://www.youtube.com/v/89sz8ExZndc"&gt;&lt;/param&gt;&lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/89sz8ExZndc" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-2121538706579955342?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/2121538706579955342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=2121538706579955342' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2121538706579955342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2121538706579955342'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/06/crazy-multi-input-touch-screen.html' title='Crazy Multi-Input Touch Screen'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-6435904903238433486</id><published>2007-06-04T10:48:00.000-07:00</published><updated>2007-06-04T10:51:47.176-07:00</updated><title type='text'>Integrating Flex Applications with WebORB for .NET</title><content type='html'>&lt;table border="0" cellpadding="0" cellspacing="0" width="700"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td background="../images/boxBG/leftSide.gif"&gt;&lt;a href="http://www.themidnightcoders.com/articles/flextodotnet.htm"&gt;Heeeeeeere&lt;/a&gt;&lt;/td&gt;         &lt;td colspan="3"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-6435904903238433486?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/6435904903238433486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=6435904903238433486' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/6435904903238433486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/6435904903238433486'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/06/ntegrating-flex-applications-with.html' title='Integrating Flex Applications with WebORB for .NET'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-5371669754990250805</id><published>2007-05-30T08:26:00.000-07:00</published><updated>2007-06-06T23:45:41.486-07:00</updated><title type='text'>How to Soft Reset Windows Mobile 5.0</title><content type='html'>&lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;      &lt;/span&gt;[DllImport("Coredll.dll")]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;        &lt;/span&gt;extern static int KernelIoControl(int dwIoControlCode,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;span style=""&gt;          &lt;/span&gt;IntPtr lpInBuf,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;int nInBufSize,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;IntPtr lpOutBuf,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;int nOutBufSize,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;ref int lpBytesReturned);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;        &lt;/span&gt;[DllImport("Coredll.dll")]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;        &lt;/span&gt;extern static void SetCleanRebootFlag();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;        &lt;/span&gt;public static void ResetDevice(bool l_Is_HardReset)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;        &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;int IOCTL_HAL_REBOOT = 0x101003C;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;int bytesReturned = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;if (l_Is_HardReset == true)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;                &lt;/span&gt;SetCleanRebootFlag();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;      &lt;/span&gt;&lt;span style=""&gt;      &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;            &lt;/span&gt;KernelIoControl(IOCTL_HAL_REBOOT, IntPtr.Zero, 0, IntPtr.Zero, 0, ref bytesReturned);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;o:p&gt;&lt;span style="font-family:Arial;color:#000000;"&gt; &lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style=""&gt;     &lt;/span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoPlainText" style="margin: 0in 0in 0pt;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;Call this method to reset : ResetDevice(true);&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-5371669754990250805?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/5371669754990250805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=5371669754990250805' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/5371669754990250805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/5371669754990250805'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/how-to-soft-reset-windows-mobile-50.html' title='How to Soft Reset Windows Mobile 5.0'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-3619568019349697565</id><published>2007-05-21T06:45:00.000-07:00</published><updated>2007-05-21T06:48:19.352-07:00</updated><title type='text'>Populating the GridView Control</title><content type='html'>&lt;span id="ctl00_ContentPlaceHolder4_dlArticle_ctl01_lblArticleDescription" style="font-weight: bold;font-family:Verdana;font-size:100%;color:Black;"   &gt;&lt;span style=";font-family:Verdana;" &gt;HTML code of the GridView control so that  you will have the idea of what the GridView looks like:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="ctl00_ContentPlaceHolder4_dlArticle_ctl01_lblArticleDescription" style="font-weight: normal;font-family:Verdana;font-size:100%;color:Black;"   &gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;GridView&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;ID&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="GridView1"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;runat&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="server"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;AutoGenerateColumns&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="False"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;OnRowCancelingEdit&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="GridView1_RowCancelingEdit"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;OnRowEditing&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="GridView1_RowEditing"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;OnRowUpdating&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="GridView1_RowUpdating"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;OnRowDataBound&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="GridView1_RowDataBound"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;Font-Names&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Verdana"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;Font-Size&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;="Small"&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;     &lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;Columns&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;BoundField&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;DataField&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="CategoryID"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;HeaderText&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="CategoryID"&lt;/span&gt;     &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;BoundField&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;DataField&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="CategoryName"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;HeaderText&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="CategoryName"&lt;/span&gt;     &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;TemplateField&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;HeaderText&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;="Description"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;ItemTemplate&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;Label&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;ID&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Label1"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;Text&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;='&lt;/span&gt;&lt;%#      Eval("Description") %&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;'&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;runat&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="server"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;Font-Names&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Verdana"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;Label&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;br&lt;/span&gt;     &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;br&lt;/span&gt;     &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;          &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;ItemTemplate&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;EditItemTemplate&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;RequiredFieldValidator&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;ErrorMessage&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="This      field cannot be blank"&lt;/span&gt;      &lt;span style="color: rgb(255, 0, 0);"&gt;ControlToValidate&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="TextBox1"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;ID&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="RequiredFieldValidator1"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;runat&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="server"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;RequiredFieldValidator&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;TextBox&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;ID&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="TextBox1"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;Width&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="98%"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;Text&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;='&lt;/span&gt;&lt;%#      Eval("Description") %&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;'&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;runat&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="server"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;TextBox&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;EditItemTemplate&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;TemplateField&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;TemplateField&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;HeaderText&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;="Choose"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;ItemTemplate&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;DropDownList&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;ID&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="DropDownList1"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;DataSource&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;='&lt;/span&gt;&lt;%#      PopulateDropDownList() %&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;'&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;DataTextField&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="CategoryName"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;DataValueField&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="CategoryName"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;runat&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="server"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;Width&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;="116px"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;DropDownList&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;br&lt;/span&gt;     &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;RequiredFieldValidator&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;ID&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="RequiredFieldValidator2"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;runat&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="server"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;ControlToValidate&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;="DropDownList1"&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;     ErrorMessage&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Please Select the Item"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;InitialValue&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Select      an item"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;RequiredFieldValidator&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;ItemTemplate&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;TemplateField&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;CommandField&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;ShowEditButton&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="True"&lt;/span&gt;     &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;/&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;Columns&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;GridView&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;span style="color: rgb(0, 0, 255);"&gt;    &lt;/span&gt;     &lt;p&gt; &lt;span id="ctl00_ContentPlaceHolder4_dlArticle_ctl01_lblArticleDescription" style="font-weight: normal;font-family:Verdana;color:Black;"  &gt;&lt;span style=";font-family:Verdana;" &gt;As you can see that two BoundColumns and two TemplateColumns. The CategoryID and Category Name are the Bound columns which are bound to the "CategoryID" and "CategoryName" fields in the Categories table in Northwind Database. The "Description" and "Choose" columns are template columns. The GridView looks something like this:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span id="ctl00_ContentPlaceHolder4_dlArticle_ctl01_lblArticleDescription" style="font-weight: normal;font-family:Verdana;color:Black;"  &gt;&lt;p&gt;&lt;span style=";font-family:Verdana;" &gt;If you carefully read the HTML code of the GridView which I have posted above then you will notice one very special thing. The RequiredFieldValidator for the TextBox control in the Description column is placed in the EditItemTemplate of the GridView control. This is because the TextBox is in the EditItemTemplate and that is what we need to validate. If you put the RequiredFieldValidator in any ItemTemplate or any other Template supported by GridView you will recieve an error saying that GridView is unable to find the control to validate. &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=";font-family:Verdana;" &gt;I have done the same thing with the DropDownList. Since the DropDownList is in the ItemTemplate of the GridView control so I placed the RequiredFieldValidator inside the ItemTemplate right beneath the DropDownList control. &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=";font-family:Verdana;" &gt;It is a common scenario that you want the first item of the DropDownList to be some message saying "Please select an item". For this you can add the item dynamically inside the GridView_RowDataBound event. &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span id="ctl00_ContentPlaceHolder4_dlArticle_ctl01_lblArticleDescription" style="font-weight: normal;font-family:Verdana;font-size:100%;color:Black;"   &gt;&lt;span style="font-family:Courier New;"&gt;     &lt;span style="color: rgb(0, 0, 255);"&gt;protected&lt;/span&gt;      &lt;span style="color: rgb(0, 0, 255);"&gt;void&lt;/span&gt;      GridView1_RowDataBound(&lt;span style="color: rgb(0, 0, 255);"&gt;object&lt;/span&gt;      sender, &lt;span style="color: rgb(0, 128, 128);"&gt;GridViewRowEventArgs&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;      e)&lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Courier New;"&gt;{&lt;/span&gt;&lt;/p&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;if&lt;/span&gt;      (e.Row.RowType == &lt;span style="color: rgb(0, 128, 128);"&gt;DataControlRowType&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;.DataRow)&lt;/span&gt;&lt;/p&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;{&lt;/span&gt;&lt;/p&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(0, 128, 128);"&gt;     DropDownList&lt;/span&gt; ddList = (&lt;span style="color: rgb(0, 128, 128);"&gt;DropDownList&lt;/span&gt;)e.Row.FindControl(&lt;span style="color: rgb(128, 0, 0);"&gt;"DropDownList1"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;);&lt;/span&gt;&lt;/p&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;ddList.Items[0].Text = &lt;/span&gt;     &lt;span style="color: rgb(128, 0, 0);font-family:Courier New;" &gt;"Select an item"&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;;&lt;/span&gt;&lt;/p&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;ddList.Items[0].Value = &lt;/span&gt;     &lt;span style="color: rgb(128, 0, 0);font-family:Courier New;" &gt;"Select an item"&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;;&lt;/span&gt;&lt;/p&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;}&lt;/span&gt;&lt;/p&gt;     &lt;p&gt;&lt;span style="font-family:Courier New;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span id="ctl00_ContentPlaceHolder4_dlArticle_ctl01_lblArticleDescription" style="font-weight: normal;font-family:Verdana;color:Black;"  &gt;&lt;span style=";font-family:Verdana;" &gt;Don't forget to assign the value property of the DropDownList to "Select an item" or any other text you like. It is this value that is compared against a RequiredFieldValidator. Now, you can easily set the RequiredFieldValidator's InitialValue property to "Select an item" or whatever your text was which means that you cannot leave the control whose value or text property is "Select an item" or the text set by you.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span id="ctl00_ContentPlaceHolder4_dlArticle_ctl01_lblArticleDescription" style="font-weight: normal;font-family:Verdana;color:Black;"  &gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;RequiredFieldValidator&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;ID&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="RequiredFieldValidator2"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;runat&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="server"&lt;/span&gt;     &lt;span style="color: rgb(255, 0, 0);"&gt;ControlToValidate&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;="DropDownList1"&lt;/span&gt;&lt;/span&gt;&lt;p&gt;     &lt;span style="font-family:Courier New;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;ErrorMessage&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Select      the Item"&lt;/span&gt; &lt;span style="color: rgb(255, 0, 0);"&gt;     InitialValue&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;="Select an item"&gt;&lt;!--&lt;/span--&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;asp&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;:&lt;/span&gt;&lt;span style="color: rgb(128, 0, 0);"&gt;RequiredFieldValidator&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255);"&gt;&lt;span style="font-family:Courier New;"&gt;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span id="ctl00_ContentPlaceHolder4_dlArticle_ctl01_lblArticleDescription" style="font-weight: normal;font-family:Verdana;color:Black;"  &gt;&lt;p&gt;&lt;span style=";font-family:Verdana;" &gt;You will also notice that when you loose focus from the control the validation control event will be fired. This is because the validation controls have a property "EnableClientScript" which means that the validation will be fired on the client side first and then on the server side. If you set EnableClientScript = false then client validation won't be fired and the validation control will wait for Page.Validate event to occur. If Page.Validate does not occur then no validation will be fired. &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=";font-family:Verdana;" &gt;It is a good idea to keep EnableClientScript enabled so validation can be fired both on the client side as well as the server side. &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-3619568019349697565?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/3619568019349697565/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=3619568019349697565' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3619568019349697565'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3619568019349697565'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/populating-gridview-control.html' title='Populating the GridView Control'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-3946719017673204777</id><published>2007-05-09T03:42:00.000-07:00</published><updated>2007-05-09T03:59:20.717-07:00</updated><title type='text'>Assign Role to Context User</title><content type='html'>Add the following lines after created authentication cookie. It will assign role for authenticated context user.&lt;br /&gt;&lt;br /&gt;     &lt;span style="color: rgb(51, 102, 255);"&gt;string&lt;/span&gt;[] str = &lt;span style="color: rgb(51, 102, 255);"&gt;new string&lt;/span&gt;[1];&lt;br /&gt;     str[0] = &lt;span style="color: rgb(153, 0, 0);"&gt;"User"&lt;/span&gt;;&lt;br /&gt;     &lt;span style="color: rgb(51, 153, 153);"&gt;HttpContext&lt;/span&gt;.Current.User = &lt;span style="color: rgb(51, 102, 255);"&gt;new &lt;/span&gt;&lt;span style="color: rgb(51, 153, 153);"&gt;GenericPrincipal&lt;/span&gt;(User.Identity,str);&lt;br /&gt;&lt;br /&gt;you can also assign "str" by getting the user role from the database. After added this coed you can check the authenticated user role like this....&lt;br /&gt;&lt;br /&gt;    &lt;span style="color: rgb(51, 102, 255);"&gt;if &lt;/span&gt;(&lt;span style="color: rgb(51, 153, 153);"&gt;HttpContext&lt;/span&gt;.Current.User.IsInRole(&lt;span style="color: rgb(153, 0, 0);"&gt;"User"&lt;/span&gt;))&lt;br /&gt;     {&lt;br /&gt;         &lt;span style="color: rgb(51, 102, 255);"&gt;return true&lt;/span&gt;;&lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;Above code will return true.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-3946719017673204777?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/3946719017673204777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=3946719017673204777' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3946719017673204777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3946719017673204777'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/assign-role-to-context-user.html' title='Assign Role to Context User'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-9063367089473776965</id><published>2007-05-08T05:30:00.000-07:00</published><updated>2007-05-08T06:41:53.301-07:00</updated><title type='text'>SQL Server - First Week Day of month</title><content type='html'>&lt;span style="color: rgb(51, 51, 255);"&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;Follwing steps will explain clearly.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;select&lt;/span&gt; &lt;span style="color: rgb(204, 51, 204);"&gt;GETDATE&lt;/span&gt;()&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;-- Result: 2007-05-08 17:47:56.937&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;select&lt;/span&gt; &lt;span style="color: rgb(204, 51, 204);"&gt;DATEPART&lt;/span&gt;(dd, &lt;span style="color: rgb(204, 51, 204);"&gt;GETDATE&lt;/span&gt;())&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;-- Result: 8&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;select&lt;/span&gt; &lt;span style="color: rgb(204, 51, 204);"&gt;DATEADD&lt;/span&gt;(dd, - &lt;span style="color: rgb(204, 51, 204);"&gt;DATEPART&lt;/span&gt;(dd, &lt;span style="color: rgb(204, 51, 204);"&gt;GETDATE&lt;/span&gt;())+1, &lt;span style="color: rgb(204, 51, 204);"&gt;GETDATE&lt;/span&gt;())&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;-- Result: 2007-05-01 17:48:27.123&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;SELECT&lt;/span&gt; &lt;span style="color: rgb(204, 51, 204);"&gt;DATENAME&lt;/span&gt;(dw, &lt;span style="color: rgb(204, 51, 204);"&gt;DATEADD&lt;/span&gt;(dd, - &lt;span style="color: rgb(204, 51, 204);"&gt;DATEPART&lt;/span&gt;(dd, &lt;span style="color: rgb(204, 51, 204);"&gt;GETDATE&lt;/span&gt;()) + 1, &lt;span style="color: rgb(204, 51, 204);"&gt;GETDATE&lt;/span&gt;())) AS FirstDay&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;-- Result: Tuesday&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-9063367089473776965?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/9063367089473776965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=9063367089473776965' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/9063367089473776965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/9063367089473776965'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/sql-server-first-week-day-of-month.html' title='SQL Server - First Week Day of month'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-4193657894601528745</id><published>2007-05-03T02:14:00.000-07:00</published><updated>2007-05-03T02:18:30.665-07:00</updated><title type='text'>Vattaram</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Js4OebBNAEc/RjmofqjZ2kI/AAAAAAAAAB0/X_yvXVUdqds/s1600-h/m_vattaaram_0005.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_Js4OebBNAEc/RjmofqjZ2kI/AAAAAAAAAB0/X_yvXVUdqds/s320/m_vattaaram_0005.jpg" alt="" id="BLOGGER_PHOTO_ID_5060260918279658050" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Js4OebBNAEc/RjmofqjZ2jI/AAAAAAAAABs/J3_UmZ9Izgs/s1600-h/m_vattaaram_0004.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_Js4OebBNAEc/RjmofqjZ2jI/AAAAAAAAABs/J3_UmZ9Izgs/s320/m_vattaaram_0004.jpg" alt="" id="BLOGGER_PHOTO_ID_5060260918279658034" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Js4OebBNAEc/Rjmof6jZ2lI/AAAAAAAAAB8/nUa-bKFLmkE/s1600-h/m_vattaaram_0006.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_Js4OebBNAEc/Rjmof6jZ2lI/AAAAAAAAAB8/nUa-bKFLmkE/s320/m_vattaaram_0006.jpg" alt="" id="BLOGGER_PHOTO_ID_5060260922574625362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Js4OebBNAEc/Rjmof6jZ2mI/AAAAAAAAACE/PkqCm7Gyn_Q/s1600-h/m_vattaaram_0008.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_Js4OebBNAEc/Rjmof6jZ2mI/AAAAAAAAACE/PkqCm7Gyn_Q/s320/m_vattaaram_0008.jpg" alt="" id="BLOGGER_PHOTO_ID_5060260922574625378" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Js4OebBNAEc/RjmofqjZ2iI/AAAAAAAAABk/YcYDudCxCIs/s1600-h/m_vattaaram_0001.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_Js4OebBNAEc/RjmofqjZ2iI/AAAAAAAAABk/YcYDudCxCIs/s320/m_vattaaram_0001.jpg" alt="" id="BLOGGER_PHOTO_ID_5060260918279658018" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-4193657894601528745?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/4193657894601528745/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=4193657894601528745' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4193657894601528745'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4193657894601528745'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/vattaram.html' title='Vattaram'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Js4OebBNAEc/RjmofqjZ2kI/AAAAAAAAAB0/X_yvXVUdqds/s72-c/m_vattaaram_0005.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-8276305356094628967</id><published>2007-05-02T07:06:00.000-07:00</published><updated>2007-05-02T07:18:07.329-07:00</updated><title type='text'>Rajini : Sivaji</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_Js4OebBNAEc/RjiddqjZ2eI/AAAAAAAAABE/4X0y2C0qSt4/s1600-h/2-extralarge.jpg"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_Js4OebBNAEc/RjiddqjZ2eI/AAAAAAAAABE/4X0y2C0qSt4/s320/2-extralarge.jpg" alt="" id="BLOGGER_PHOTO_ID_5059967314315303394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Js4OebBNAEc/Rjidd6jZ2fI/AAAAAAAAABM/P1pzIMSKn7M/s1600-h/3-extralarge.jpg"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_Js4OebBNAEc/Rjidd6jZ2fI/AAAAAAAAABM/P1pzIMSKn7M/s320/3-extralarge.jpg" alt="" id="BLOGGER_PHOTO_ID_5059967318610270706" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Js4OebBNAEc/RjideKjZ2gI/AAAAAAAAABU/gi4TECdYjDc/s1600-h/5-extralarge.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_Js4OebBNAEc/RjideKjZ2gI/AAAAAAAAABU/gi4TECdYjDc/s320/5-extralarge.jpg" alt="" id="BLOGGER_PHOTO_ID_5059967322905238018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Js4OebBNAEc/RjideajZ2hI/AAAAAAAAABc/f9i9yaJGvrU/s1600-h/12-extralarge.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_Js4OebBNAEc/RjideajZ2hI/AAAAAAAAABc/f9i9yaJGvrU/s320/12-extralarge.jpg" alt="" id="BLOGGER_PHOTO_ID_5059967327200205330" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Js4OebBNAEc/RjibhajZ2dI/AAAAAAAAAA8/Ww4jLliRY9M/s1600-h/1-extralarge.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_Js4OebBNAEc/RjibhajZ2dI/AAAAAAAAAA8/Ww4jLliRY9M/s320/1-extralarge.jpg" alt="" id="BLOGGER_PHOTO_ID_5059965179716557266" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-8276305356094628967?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/8276305356094628967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=8276305356094628967' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8276305356094628967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8276305356094628967'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/rajini-sivaji_02.html' title='Rajini : Sivaji'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_Js4OebBNAEc/RjiddqjZ2eI/AAAAAAAAABE/4X0y2C0qSt4/s72-c/2-extralarge.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-3393313175167738378</id><published>2007-05-02T06:53:00.000-07:00</published><updated>2007-05-02T07:04:53.626-07:00</updated><title type='text'>Rajini : Sivaji</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_Js4OebBNAEc/RjiaPajZ2cI/AAAAAAAAAA0/cFZHFJyidt0/s1600-h/13-extralarge.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_Js4OebBNAEc/RjiaPajZ2cI/AAAAAAAAAA0/cFZHFJyidt0/s320/13-extralarge.jpg" alt="" id="BLOGGER_PHOTO_ID_5059963770967284162" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-3393313175167738378?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/3393313175167738378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=3393313175167738378' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3393313175167738378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3393313175167738378'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/rajini-sivaji.html' title='Rajini : Sivaji'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_Js4OebBNAEc/RjiaPajZ2cI/AAAAAAAAAA0/cFZHFJyidt0/s72-c/13-extralarge.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-2921630792885932032</id><published>2007-05-02T06:49:00.001-07:00</published><updated>2007-05-02T06:49:29.100-07:00</updated><title type='text'>OOPS: Reusability</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Reusability:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This term refers to the ability for multiple programmers to use the same written and debugged existing class of data. This is a time saving device and adds code efficiency to the language. Additionally, the programmer can incorporate new features to the existing class, further developing the application and allowing users to achieve increased performance. This time saving feature optimizes code, helps in gaining secured applications and facilitates easier maintenance on the application.&lt;br /&gt;&lt;br /&gt;The implementation of each of the above object-oriented programming features for C++ will be highlighted in later sections.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-2921630792885932032?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/2921630792885932032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=2921630792885932032' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2921630792885932032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2921630792885932032'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/oops-reusability.html' title='OOPS: Reusability'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-4660198485237074784</id><published>2007-05-02T06:48:00.001-07:00</published><updated>2007-05-02T06:48:50.430-07:00</updated><title type='text'>OOPS: Overloading</title><content type='html'>Overloading:&lt;br /&gt;&lt;br /&gt;Overloading is one type of Polymorphism. It allows an object to have different meanings, depending on its context. When an exiting operator or function begins to operate on new data type, or class, it is understood to be overloaded.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-4660198485237074784?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/4660198485237074784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=4660198485237074784' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4660198485237074784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4660198485237074784'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/oops-overloading.html' title='OOPS: Overloading'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-6436183152685434901</id><published>2007-05-02T06:47:00.000-07:00</published><updated>2007-05-02T06:48:07.416-07:00</updated><title type='text'>OOPS: Polymorphism</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Polymorphism:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Polymorphism allows routines to use variables of different types at different times. An operator or function can be given different meanings or functions. Polymorphism refers to a single function or multi-functioning operator performing in different ways.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-6436183152685434901?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/6436183152685434901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=6436183152685434901' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/6436183152685434901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/6436183152685434901'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/oops-polymorphism.html' title='OOPS: Polymorphism'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-8573577504458691033</id><published>2007-05-02T06:46:00.000-07:00</published><updated>2007-05-02T06:47:08.421-07:00</updated><title type='text'>OOPS: Data Encapsulation</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Data Encapsulation:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Data Encapsulation combines data and functions into a single unit called Class. When using Data Encapsulation, data is not accessed directly; it is only accessible through the functions present inside the class. Data Encapsulation enables the important concept of data hiding possible.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-8573577504458691033?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/8573577504458691033/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=8573577504458691033' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8573577504458691033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8573577504458691033'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/oops-data-encapsulation.html' title='OOPS: Data Encapsulation'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-9155055829720315126</id><published>2007-05-02T06:43:00.000-07:00</published><updated>2007-05-02T06:44:14.141-07:00</updated><title type='text'>OOPS: Data Abstraction</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Data Abstraction:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Data Abstraction increases the power of programming language by creating user defined data types. Data Abstraction also represents the needed information in the program without presenting the details.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-9155055829720315126?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/9155055829720315126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=9155055829720315126' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/9155055829720315126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/9155055829720315126'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/oops-data-abstraction.html' title='OOPS: Data Abstraction'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-6688101900492908534</id><published>2007-05-02T06:36:00.000-07:00</published><updated>2007-05-02T06:38:35.558-07:00</updated><title type='text'>OOPS: Inheritance:</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Inheritance:&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Inheritance is the process of forming a new class from an existing class or base class. The base class is also known as parent class or super class, The new class that is formed is called derived class. Derived class is also known as a child class or sub class. Inheritance helps in reducing the overall code size of the program, which is an important concept in object-oriented programming.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-6688101900492908534?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/6688101900492908534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=6688101900492908534' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/6688101900492908534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/6688101900492908534'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/oops-inheritance.html' title='OOPS: Inheritance:'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-8858501479004083648</id><published>2007-05-02T06:34:00.000-07:00</published><updated>2007-05-02T06:35:37.273-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight:bold;"&gt;Classes:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Classes are data types based on which objects are created. Objects with similar properties and methods are grouped together to form a Class. Thus a Class represent a set of individual objects. Characteristics of an object are represented in a class as Properties. The actions that can be performed by objects becomes functions of the class and is referred to as Methods.&lt;br /&gt;&lt;br /&gt;For example consider we have a Class of Cars under which Santro Xing, Alto and WaganR represents individual Objects. In this context each Car Object will have its own, Model, Year of Manufacture, Colour, Top Speed, Engine Power etc., which form Properties of the Car class and the associated actions i.e., object functions like Start, Move, Stop form the Methods of Car Class.&lt;br /&gt;&lt;br /&gt;No memory is allocated when a class is created. Memory is allocated only when an object is created, i.e., when an instance of a class is created.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-8858501479004083648?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/8858501479004083648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=8858501479004083648' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8858501479004083648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8858501479004083648'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/05/classes-classes-are-data-types-based-on.html' title=''/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-8157171906363148428</id><published>2007-04-30T03:54:00.000-07:00</published><updated>2007-04-30T03:54:19.956-07:00</updated><title type='text'>Using the Validation Controls in ASP.NET 2.0 &gt; Using the ValidationSummary Control</title><content type='html'>&lt;a href="http://www.quepublishing.com/articles/article.asp?p=516589&amp;amp;seqNum=7&amp;amp;rl=1"&gt;Using the Validation Controls in ASP.NET 2.0 &gt; Using the ValidationSummary Control&lt;/a&gt;: "Using the Validation Controls in ASP.NET 2.0"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-8157171906363148428?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.quepublishing.com/articles/article.asp?p=516589&amp;seqNum=7&amp;rl=1' title='Using the Validation Controls in ASP.NET 2.0 &gt; Using the ValidationSummary Control'/><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/8157171906363148428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=8157171906363148428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8157171906363148428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8157171906363148428'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/04/using-validation-controls-in-aspnet-20.html' title='Using the Validation Controls in ASP.NET 2.0 &gt; Using the ValidationSummary Control'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-2938126401721487990</id><published>2007-04-30T02:41:00.000-07:00</published><updated>2007-04-30T02:41:51.387-07:00</updated><title type='text'>polymorphism concept</title><content type='html'>"polymorphism can be acheived two ways&lt;br /&gt;overloading - static binding/early binding&lt;br /&gt;overriding - dynamic binding/late binding&lt;br /&gt;&lt;br /&gt;OVERLOADING&lt;br /&gt;in case of overloading, you will have same method names with different signatures within a class.&lt;br /&gt;display(char arr[])&lt;br /&gt;display(char arr[], int sub)&lt;br /&gt;display(char arr[], char subarr[])&lt;br /&gt;display(char arr[],char subarr[],int sub)&lt;br /&gt;&lt;br /&gt;NOTE: return type is not considered. only the method parameters should be different. here, the method to be called is decided at the compile time itself, based on the signature.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OVERRIDING&lt;br /&gt;in case of overriding, a simple example would be of inheritance. in case of inheritance, you have a baseclass/interface and subclasses. here, the method signature (which also can have a method body), exists in base class and same method (without modifying the signature) exists in the subclass also.&lt;br /&gt;&lt;br /&gt;interface figure -&gt; draw()&lt;br /&gt;class triangle implements figure -&gt; draw()&lt;br /&gt;class polygon implements figure -&gt; draw()&lt;br /&gt;&lt;br /&gt;above you can see an interface which has a method draw() and same has been implemented in triangle and polygon (you can have a base class and do extends also). since the reference of a derived class object can be assigned to a base class reference (OOP concept), you can create objects of triangle and polygon and assign it to the interface reference"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-2938126401721487990?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://forum.java.sun.com/thread.jspa?threadID=385221&amp;messageID=1655867' title='polymorphism concept'/><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/2938126401721487990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=2938126401721487990' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2938126401721487990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/2938126401721487990'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/04/polymorphism-concept.html' title='polymorphism concept'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-7622710241817982355</id><published>2007-04-30T00:11:00.000-07:00</published><updated>2007-04-30T00:15:53.563-07:00</updated><title type='text'></title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Js4OebBNAEc/RjWXQ6jZ2aI/AAAAAAAAAAk/EOAzzYkFmaw/s1600-h/pooja4.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_Js4OebBNAEc/RjWXQ6jZ2aI/AAAAAAAAAAk/EOAzzYkFmaw/s320/pooja4.jpg" alt="" id="BLOGGER_PHOTO_ID_5059116073272072610" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_Js4OebBNAEc/RjWXQ6jZ2bI/AAAAAAAAAAs/25vlf-UMEKk/s1600-h/pooja7.jpg"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_Js4OebBNAEc/RjWXQ6jZ2bI/AAAAAAAAAAs/25vlf-UMEKk/s320/pooja7.jpg" alt="" id="BLOGGER_PHOTO_ID_5059116073272072626" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-7622710241817982355?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/7622710241817982355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=7622710241817982355' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/7622710241817982355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/7622710241817982355'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/04/blog-post_30.html' title=''/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_Js4OebBNAEc/RjWXQ6jZ2aI/AAAAAAAAAAk/EOAzzYkFmaw/s72-c/pooja4.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-8571945357133111276</id><published>2007-04-30T00:07:00.000-07:00</published><updated>2007-06-06T23:46:33.340-07:00</updated><title type='text'>Loves</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_Js4OebBNAEc/RjWWbqjZ2ZI/AAAAAAAAAAc/el2abI9akmg/s1600-h/loveyoubabe.gif"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_Js4OebBNAEc/RjWWbqjZ2ZI/AAAAAAAAAAc/el2abI9akmg/s320/loveyoubabe.gif" alt="" id="BLOGGER_PHOTO_ID_5059115158444038546" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-8571945357133111276?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/8571945357133111276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=8571945357133111276' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8571945357133111276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/8571945357133111276'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/04/blog-post.html' title='Loves'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_Js4OebBNAEc/RjWWbqjZ2ZI/AAAAAAAAAAc/el2abI9akmg/s72-c/loveyoubabe.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-7661758442554590680</id><published>2007-04-30T00:02:00.000-07:00</published><updated>2007-04-30T00:02:52.340-07:00</updated><title type='text'>OOPS : Explain the Polymorphism principle.</title><content type='html'>OOPS : Explain the Polymorphism principle.: "prolymorphism is the concept of using single entity in many ways according to the users request in the programing structure,Multiple methods are entertained from single category is the nature of the polymorphism."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-7661758442554590680?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.geekinterview.com/question_details/13384' title='OOPS : Explain the Polymorphism principle.'/><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/7661758442554590680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=7661758442554590680' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/7661758442554590680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/7661758442554590680'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/04/oops-explain-polymorphism-principle.html' title='OOPS : Explain the Polymorphism principle.'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-3097627736489553128</id><published>2007-04-25T22:28:00.000-07:00</published><updated>2007-04-25T22:28:45.674-07:00</updated><title type='text'>Bluetooth Samples (Windows CE .NET 4.2)</title><content type='html'>&lt;a href="http://msdn2.microsoft.com/en-us/library/ms863321.aspx"&gt;Bluetooth Samples (Windows CE .NET 4.2)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-3097627736489553128?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://msdn2.microsoft.com/en-us/library/ms863321.aspx' title='Bluetooth Samples (Windows CE .NET 4.2)'/><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/3097627736489553128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=3097627736489553128' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3097627736489553128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/3097627736489553128'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/04/bluetooth-samples-windows-ce-net-42.html' title='Bluetooth Samples (Windows CE .NET 4.2)'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-32059817.post-4403070760432330252</id><published>2007-04-25T22:22:00.000-07:00</published><updated>2007-04-25T22:22:55.729-07:00</updated><title type='text'>Working with Pictures, Video, and Cameras in Windows Mobile 5.0</title><content type='html'>&lt;a href="http://msdn2.microsoft.com/en-us/library/aa454909.aspx"&gt;Working with Pictures, Video, and Cameras in Windows Mobile 5.0&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/32059817-4403070760432330252?l=kraja007.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://msdn2.microsoft.com/en-us/library/aa454909.aspx' title='Working with Pictures, Video, and Cameras in Windows Mobile 5.0'/><link rel='replies' type='application/atom+xml' href='http://kraja007.blogspot.com/feeds/4403070760432330252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=32059817&amp;postID=4403070760432330252' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4403070760432330252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/32059817/posts/default/4403070760432330252'/><link rel='alternate' type='text/html' href='http://kraja007.blogspot.com/2007/04/working-with-pictures-video-and-cameras.html' title='Working with Pictures, Video, and Cameras in Windows Mobile 5.0'/><author><name>Raja</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
