<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8661521718904678975</id><updated>2018-05-20T01:00:08.053-07:00</updated><category term="LightSwitch"/><category term="Lightswitch HTMLClient"/><category term="Sql Server"/><category term="Visual Studio 2010"/><category term="Visual Studio 2012"/><category term="Desktop"/><category term="IIS"/><category term="SharePoint"/><category term="Silverlight"/><category term="AI"/><category term="Angular 2"/><category term="Angular 4"/><category term="Artificial Intelligence"/><category term="Azure"/><category term="C1"/><category term="DevExpress Reporting"/><category term="E-Commerce"/><category term="Telerik Reporting"/><category term="angularjs"/><title type='text'>Do Interesting Things....</title><subtitle type='html'>Make programming as an Interesting part of life.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.harshgarg.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>harshdeep gupta</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>44</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-3921940996092545768</id><published>2018-01-28T20:44:00.003-08:00</published><updated>2018-01-28T20:44:58.509-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AI"/><category scheme="http://www.blogger.com/atom/ns#" term="Artificial Intelligence"/><category scheme="http://www.blogger.com/atom/ns#" term="E-Commerce"/><title type='text'>Artificial Intelligence And E-Commerce</title><summary type="text">

n the present era, machines, and technologies are outsmarting human beings. Such mind-boggling technologies, when embedded in businesses, open new doors for us, which were until now unapproachable.

Artificial Intelligence is such a breakthrough in the automated era. The vision seeks adaptation of human-specific characters by machines, especially computers. Computers featuring robustness, </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/3921940996092545768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=3921940996092545768' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/3921940996092545768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/3921940996092545768'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2018/01/artificial-intelligence-and-e-commerce.html' title='Artificial Intelligence And E-Commerce'/><author><name>Harsh Gupta</name><uri>http://www.blogger.com/profile/14749819854116700410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://2.bp.blogspot.com/-z065y0h1dmw/Wm6lsRrVroI/AAAAAAAAADU/n8tqO9mB_CUJQKxmUp50UT0IdMiVc3BSgCEwYBhgL/s72-c/image001.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-8996651280502894563</id><published>2017-08-08T23:18:00.000-07:00</published><updated>2017-08-08T23:22:09.065-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Angular 2"/><category scheme="http://www.blogger.com/atom/ns#" term="Angular 4"/><title type='text'>How to use data-balloon in angular 2?</title><summary type="text">

Today we are going to discuss that how to use data-balloon in the angular 2/4 application. You must know that why we are using data-balloon in our application and what kind of features it is going to provide to us. For this click on this link and check out its features. 



It is easy to use in simple HTML application, but we have a problem to use this in the angular 2/4 application. In the </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/8996651280502894563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=8996651280502894563' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/8996651280502894563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/8996651280502894563'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2017/08/how-to-use-data-balloon-in-angular-2.html' title='How to use data-balloon in angular 2?'/><author><name>Harsh Gupta</name><uri>http://www.blogger.com/profile/14749819854116700410</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-8837383798110288089</id><published>2016-10-01T05:06:00.001-07:00</published><updated>2016-10-01T05:07:42.319-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sql Server"/><title type='text'>Compare Id from a Comma separated value in Sql Server</title><summary type="text">

I have a column in which UserIds are stored in a comma separated form 
(as shown below). Now I have a problem that I need to check whether the 
current user is available in that list or not. 



I was using split function for this but that was taking too much time. As we need to perform this action on millions of records and table is having 20 other columns which we need to returns.  

Id     </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/8837383798110288089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=8837383798110288089' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/8837383798110288089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/8837383798110288089'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2016/10/compare-id-from-comma-separated-value.html' title='Compare Id from a Comma separated value in Sql Server'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-8369490432605583931</id><published>2016-04-13T13:09:00.001-07:00</published><updated>2016-04-13T13:10:04.034-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="angularjs"/><title type='text'>Another Form of Ternary Operator In AngularJS</title><summary type="text">

Once I was working on an AngularJS application. I have a requirement
that under ng-repeat I need one object value with comma separated but ‘.’ in
last. We can achieve this with the help of ternary operator very easily, but I
found something different. This is like 



{{ !$last
&amp;&amp; &#39;, &#39; || &#39;.&#39;}}






The above
solution resolved the problem also, but the interesting thing is that who it is
</summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/8369490432605583931/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=8369490432605583931' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/8369490432605583931'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/8369490432605583931'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2016/04/another-form-of-ternary-operator-in.html' title='Another Form of Ternary Operator In AngularJS'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-5466220070703140130</id><published>2015-11-28T12:16:00.000-08:00</published><updated>2015-11-28T12:16:47.573-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Telerik Reporting"/><title type='text'>Could not load file or assembly &#39;Telerik.Reporting, Version=9.2.15.1105, Culture=neutral, PublicKeyToken=a9d7983dfcc261be&#39; or one of its dependencies.</title><summary type="text">

I am working on Telerik Reports. The application is working fine on local system or in debugging mode, but it gives an error (Could not load file or assembly &#39;Telerik.Reporting, Version=9.2.15.1105, Culture=neutral, PublicKeyToken=a9d7983dfcc261be&#39; or one of its dependencies) when I am trying to deploy the application. In order to resolve this issue we just need to copy the specified dll from &quot;</summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/5466220070703140130/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=5466220070703140130' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/5466220070703140130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/5466220070703140130'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2015/11/could-not-load-file-or-assembly.html' title='Could not load file or assembly &#39;Telerik.Reporting, Version=9.2.15.1105, Culture=neutral, PublicKeyToken=a9d7983dfcc261be&#39; or one of its dependencies.'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-8fI7p9Vx46g/VloJ11LQRZI/AAAAAAAABJ4/-_CTt88Xfjc/s72-c/TelerikError.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-5427912980164925675</id><published>2015-09-22T14:55:00.001-07:00</published><updated>2015-09-22T14:55:40.212-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LightSwitch"/><category scheme="http://www.blogger.com/atom/ns#" term="Silverlight"/><title type='text'>Copy Screens In LightSwitch using XML Editor</title><summary type="text">

I was working on LightSwitch application and came across with an issue to copy screen. Then I tried a way to copy the screen using XML Editor. As LightSwitch screens can be edited in XML only. Here are the steps that we can follow and copy screens easily.  



Step 1: Create a with extension Copy of your screen. (e.g you want to copy Home.lsml screen then create new screen with name </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/5427912980164925675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=5427912980164925675' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/5427912980164925675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/5427912980164925675'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2015/09/copy-screens-in-lightswitch-using-xml.html' title='Copy Screens In LightSwitch using XML Editor'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-zDvo3voiwCs/VgHNTUj611I/AAAAAAAABIU/T_cc5uA2BdE/s72-c/HomeCopy.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-7708704324941950279</id><published>2015-04-11T11:32:00.003-07:00</published><updated>2015-04-11T11:34:39.297-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C1"/><category scheme="http://www.blogger.com/atom/ns#" term="Desktop"/><category scheme="http://www.blogger.com/atom/ns#" term="LightSwitch"/><title type='text'>Could not load file or assembly  &#39;C1.Silverlight.5&#39;</title><summary type="text">

While working on the Lightswitch Using C1 component, I was facing an issue that application is running in Debug mode but it was not working in Release mode. Whenever I try to run a lightswitch application in Release mode then I was facing the below issue. 



Could not load file or assembly  &#39;C1.Silverlight.5, Versión 
5.0.20142.419, Culture=neutral, PublicToken=2aa4ec5576d6c3ce’ or one of 
its</summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/7708704324941950279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=7708704324941950279' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/7708704324941950279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/7708704324941950279'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2015/04/could-not-load-file-or-assembly.html' title='Could not load file or assembly  &#39;C1.Silverlight.5&#39;'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-QwffOUxa5C8/VSlpEmJaiGI/AAAAAAAABG4/Zy7hvxHUQTg/s72-c/C1Error.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-6142467665874669081</id><published>2015-03-04T10:28:00.003-08:00</published><updated>2015-03-04T13:23:44.775-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="Sql Server"/><title type='text'>Link server under Server Objects in Sql server</title><summary type="text">

While working on the different applications. Some times we need to link other servers with our local server so that we can execute some queries. We can link any online server with our local sql server or one VPS to another VPS. Even with this we can link Azure Sql server to any one.

Here are the queries which will help us to link the Server. 

&lt;!--[if gte mso 9]&gt;
 
  Normal
  0
  
  
  
  
  </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/6142467665874669081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=6142467665874669081' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/6142467665874669081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/6142467665874669081'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2015/03/link-server-under-server-objects-in-sql.html' title='Link server under Server Objects in Sql server'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-6868692225773976545</id><published>2015-01-15T13:37:00.000-08:00</published><updated>2015-03-04T13:38:20.103-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lightswitch HTMLClient"/><title type='text'>How to change dynamically Theme in Lightswitch HtmlClient.</title><summary type="text">

One day I was working on LightSwitch HtmlClient and I was thinking that can we change the theme of the application dynamically? Then I thought that if we can change the css files dynamically then it is possible. So I just created one js function then will help us to make it possible. Here are steps how can we use this. 

Step 1:

Download js file and add its reference on your default.htm file.
</summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/6868692225773976545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=6868692225773976545' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/6868692225773976545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/6868692225773976545'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2015/01/how-to-change-dynamically-theme-in.html' title='How to change dynamically Theme in Lightswitch HtmlClient.'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-652817032150459018</id><published>2014-12-28T05:57:00.002-08:00</published><updated>2014-12-28T05:59:36.143-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lightswitch HTMLClient"/><title type='text'>Customize the LightSwitch HTMLClient Application UI.</title><summary type="text">

Rating Stars uses in LightSwitch htmlclient application.



As Karol Zadora-Przylecki has written a article to customize the UI of the LightSwitch application. He has explained a very well in the his article how to use stars for rating in LightSwtich. This is such a nice article. It helps me a lot. 

I wanted to use the same method in LightSwitch htmlclient. I have searched so much over </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/652817032150459018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=652817032150459018' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/652817032150459018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/652817032150459018'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2014/12/customize-lightswitch-htmlclient.html' title='Customize the LightSwitch HTMLClient Application UI.'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-4EHi5MA173s/VKALg2btBlI/AAAAAAAABE4/A7aELSGZVF8/s72-c/LightSwitch%2BContent.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-3021303947441239161</id><published>2014-10-25T16:07:00.000-07:00</published><updated>2014-10-25T16:11:42.053-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LightSwitch"/><category scheme="http://www.blogger.com/atom/ns#" term="Lightswitch HTMLClient"/><title type='text'>Use the search while selecting items in Detail Picker controls in Lightswitch htmlclient</title><summary type="text">

Model
Picker functionality use in Lightswitch htmlclient.

&lt;!--[if gte mso 9]&gt;
 
  
 
&lt;![endif]--&gt;

&lt;!--[if gte mso 9]&gt;
 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-US
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
  
  
   
   
   
   
   
   
   
   
   
   
   
  
&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;
 
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
</summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/3021303947441239161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=3021303947441239161' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/3021303947441239161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/3021303947441239161'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2014/10/use-search-while-selecting-items-in.html' title='Use the search while selecting items in Detail Picker controls in Lightswitch htmlclient'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/--roWE04G54U/VEwpFwZOU6I/AAAAAAAABCk/DmRQ9nPG5J4/s72-c/tableStructure.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-6356819784152791883</id><published>2014-09-18T08:18:00.001-07:00</published><updated>2014-09-18T08:25:57.317-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LightSwitch"/><title type='text'>How to create a single login page for both clients (Desktop and htmlclients) in visual Studio Lightswitch?</title><summary type="text">

While working on the lightswitch, I was thinking that can we create a single login page for both clients. Then with the help of  Matt Thalman post, I have done this. See below how you can do this.



&lt;!--[if gte mso 9]&gt;
 
  
 
&lt;![endif]--&gt;
&lt;!--[if gte mso 9]&gt;
 
  Normal
  0
  
  
  
  
  false
  false
  false
  
  EN-US
  X-NONE
  X-NONE
  
   
   
   
   
   
   
   
   
   
  
  
   
   
   
</summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/6356819784152791883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=6356819784152791883' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/6356819784152791883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/6356819784152791883'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2014/09/how-to-create-single-login-page-for.html' title='How to create a single login page for both clients (Desktop and htmlclients) in visual Studio Lightswitch?'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-qyYTsdGZo1o/VBr1Fs4EAnI/AAAAAAAAA_8/ZTfLqXai8Co/s72-c/Server.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-4147819744693184217</id><published>2014-07-19T07:53:00.002-07:00</published><updated>2014-07-19T07:53:58.375-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lightswitch HTMLClient"/><title type='text'>Filtered Query in LightSwitch Htmlclient.</title><summary type="text">



While working in LightSwitch Htmlclient, some times we need to apply filters on Screen. e.g we want to filter data according to Customer ID, Some time want to filter data according to Customer Name and so on. In the following paragraphs I am going to discuss how can we apply various filter queries. 



Integer Filter Query:



&lt;!--[if gte mso 9]&gt;
 
  
 
&lt;![endif]--&gt;

&lt;!--[if gte mso 9]&gt;
 
  </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/4147819744693184217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=4147819744693184217' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/4147819744693184217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/4147819744693184217'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2014/07/filtered-query-in-lightswitch-htmlclient.html' title='Filtered Query in LightSwitch Htmlclient.'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-3075730719356597252</id><published>2014-06-15T12:22:00.000-07:00</published><updated>2014-06-15T12:23:08.806-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Desktop"/><category scheme="http://www.blogger.com/atom/ns#" term="LightSwitch"/><title type='text'>Use of Simple Message and Message Box Result in C# and vb.net</title><summary type="text">

When we are developing applications then sometimes we need to show message. In both C# and vb.net it is possible to show a message. There are two type of messages that I am going to explain and you will find the code of example in both C# and vb.net. 

Simple Message 
Message Box Result Option  


Here you will find the way. How and where we can use these two?



Simple Message: Simple message </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/3075730719356597252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=3075730719356597252' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/3075730719356597252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/3075730719356597252'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2014/06/use-of-messageboxresult-in-c-and-vbnet.html' title='Use of Simple Message and Message Box Result in C# and vb.net'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-ACmch__R2qE/U53oyU9tDwI/AAAAAAAAA-k/4Ua66HGKYT8/s72-c/Message.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-3733024997179118464</id><published>2014-06-08T14:45:00.000-07:00</published><updated>2014-06-08T14:45:17.428-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lightswitch HTMLClient"/><title type='text'>How to change back image and modify CSS in LightSwitch HTMLClient?</title><summary type="text">
While working on a LightSwitch HtmlClient. I was reading Jan Van der Haegen&#39;s book. I got an idea that how can we modify an existing CSS. Here I am going to tell you that how can we change the back ground image of default back icon.



Steps how can we do this?

Step1:  Run the application and check the back icon before going to do any thing.

 Step 2: Open user-customization.css file which </summary><link rel='enclosure' type='http://harshgupta71.blogspot.in/' href='http://harshgupta71.blogspot.in/' length='0'/><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/3733024997179118464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=3733024997179118464' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/3733024997179118464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/3733024997179118464'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2014/06/how-to-change-back-image-and-modify-css.html' title='How to change back image and modify CSS in LightSwitch HTMLClient?'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-n2nlM2WGvDc/U5TWFSf0n0I/AAAAAAAAA-U/jdYEcKWDAl0/s72-c/Final.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Chandigarh, India</georss:featurename><georss:point>30.7333148 76.7794179</georss:point><georss:box>30.5149218 76.4566944 30.951707799999998 77.1021414</georss:box></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-8215379012410326773</id><published>2014-01-15T11:11:00.000-08:00</published><updated>2014-03-17T04:28:04.939-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lightswitch HTMLClient"/><title type='text'>How to apply css on display name or Title of the display in LightSwitch Htmlclient?</title><summary type="text">

&lt;!--[if gte mso 9]&gt;
 
  
 
&lt;![endif]--&gt;While working in the lightswitch htmlclient, I gone
through Rohit Agarwal’s article Spice
Up Your HTML Client UI With Code. By Reading this article we are able to append
some text near about the display name of the application. But I have a problem
that how we can apply the css on display name?



I want to apply some css effect on title of the display. 

</summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/8215379012410326773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=8215379012410326773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/8215379012410326773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/8215379012410326773'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2014/03/how-to-apply-css-on-display-name-or.html' title='How to apply css on display name or Title of the display in LightSwitch Htmlclient?'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-eZN7SmrJvD0/UyXm3A0U2EI/AAAAAAAAA6w/zeKjfnJBJHo/s72-c/Start.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-5084416090177495697</id><published>2013-12-19T03:14:00.002-08:00</published><updated>2013-12-19T03:17:59.917-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LightSwitch"/><category scheme="http://www.blogger.com/atom/ns#" term="Lightswitch HTMLClient"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2012"/><title type='text'>Change Event in LightSwitch HtmlClient</title><summary type="text">

Change Event in LightSwitch HtmlClient?

While Developing an application in Lightswitch HtmlClient I faced a problem that how can we get the price of selected Product when a sales person sales an item. We can do this thing on change event of the product selection. But in Lightswitch HtmlClient Application we can call the change event with the help of addChangeListener function. Following are </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/5084416090177495697/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=5084416090177495697' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/5084416090177495697'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/5084416090177495697'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2013/12/get-value-according-to-select-drop-down.html' title='Change Event in LightSwitch HtmlClient'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-F4BoZ9Lfw9s/UrLTOpSW_zI/AAAAAAAAA3Y/JQXr95gqL3E/s72-c/Product+Select.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-3510188987425221461</id><published>2013-11-18T01:31:00.001-08:00</published><updated>2013-11-21T02:12:22.082-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LightSwitch"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>SharePoint Site does not appear to be a valid site. SharePoint 2010 (or later) with an installation of WCF Data Services is required.</title><summary type="text">

When we are trying to add the SharePoint data source to our project then if we get  the error SharePoint Site does not appear to be a valid site. SharePoint 2010 (or later) with an installation of WCF Data Services is required. We can resolve this by enable SharePoint to our project. Following is the step by step solution.



Step1: Adding SharePoint data source to project



   


Step2: Add </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/3510188987425221461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=3510188987425221461' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/3510188987425221461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/3510188987425221461'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2013/11/sharepoint-site-does-not-appear-to-be.html' title='SharePoint Site does not appear to be a valid site. SharePoint 2010 (or later) with an installation of WCF Data Services is required.'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-k-_3CreCGgs/Uonb1PJ8mWI/AAAAAAAAA1o/B3WutbfgyOU/s72-c/Adding.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-1220655483569437006</id><published>2013-11-08T02:29:00.000-08:00</published><updated>2013-11-08T02:33:18.262-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IIS"/><category scheme="http://www.blogger.com/atom/ns#" term="Lightswitch HTMLClient"/><category scheme="http://www.blogger.com/atom/ns#" term="SharePoint"/><title type='text'>How to Upload an Image using LightSwitch htmlclient in sql server and in SharePoint List?</title><summary type="text">

In LightSwitch we can upload an image. If we are using
sqlserver then we can upload an image and store this image in database. But If
we are using Sharepoint list then we have to create list of Document Library,
Image will upload to this list and storing the path of the Image to general
list. Like this we can solve Image uploading problem.






Storing Image in Sql
Server




I am using the </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/1220655483569437006/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=1220655483569437006' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/1220655483569437006'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/1220655483569437006'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2013/11/how-to-upload-image-using-lightswitch.html' title='How to Upload an Image using LightSwitch htmlclient in sql server and in SharePoint List?'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-nBJN4SDtQCI/Uny8GcGW-eI/AAAAAAAAA0w/x9e89LheVHo/s72-c/1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-1555118225292735543</id><published>2013-09-27T02:40:00.000-07:00</published><updated>2014-06-01T10:24:18.853-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LightSwitch"/><category scheme="http://www.blogger.com/atom/ns#" term="Lightswitch HTMLClient"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2012"/><title type='text'>Select current user in Lightswitch HTMLClient dropdown?</title><summary type="text">


We need to do this to protect the OData service points. Only setting this on the client side code (shown later) is not enough. A user could access the OData service point directly and alter the value. Using the code above prevents this. 



 However, the UserName is not populated when we run the application.



To fix this, we first switch to File View.




We add a page to the Server project </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/1555118225292735543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=1555118225292735543' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/1555118225292735543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/1555118225292735543'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2013/09/select-current-user-in-lightswitch.html' title='Select current user in Lightswitch HTMLClient dropdown?'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-hLxpVvlmg28/UkVPbNjNmXI/AAAAAAAAAxE/N9msracvrmQ/s72-c/Windows-Live-Writer-Retrieving-The-Current-User-In-The-L_002.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-982698982599353448</id><published>2013-09-22T07:23:00.001-07:00</published><updated>2013-09-22T07:26:00.453-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LightSwitch"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2012"/><title type='text'>JsonModelGenerator -  Model loading failed</title><summary type="text">

I have a VS2012 Update 3 Lightswitch project with a Silverlight and HTML client. It had been working fine for several months but now I get the latest version form the TFS and I&#39;m getting a 
&quot;JsonModelGenerator - Sequence contains more than one matching element&quot; 
in file Microsoft.LightSwitch.Build.Tasks.targets line 208 column 5 
where project is the HTMLClient.I am stuck with this error. But </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/982698982599353448/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=982698982599353448' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/982698982599353448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/982698982599353448'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2013/09/jsonmodelgenerator-model-loading-failed.html' title='JsonModelGenerator -  Model loading failed'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-2822565572180596004</id><published>2013-09-12T04:30:00.000-07:00</published><updated>2013-09-12T04:37:00.883-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LightSwitch"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2012"/><title type='text'>Error while Updating project from LightSwitch 2011 to LightSwitch 2012</title><summary type="text">

I have faced an error when I was updating my lightswitch 2011 project to latest version lightswitch 2012. Whenever I was trying to run project in Form Authentication mode then every time project is not loading. It went to in loading  stage and no display appears. When we upgrade our project then one file can be miss from our project. Copy that file and paste at desired location. Now Project </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/2822565572180596004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=2822565572180596004' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/2822565572180596004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/2822565572180596004'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2013/09/error-while-updating-project-from.html' title='Error while Updating project from LightSwitch 2011 to LightSwitch 2012'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-Ezxm_-W31rk/UjGlLz1uOeI/AAAAAAAAAwc/-QakcGbxfeY/s72-c/web1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-4178943740015899447</id><published>2013-08-17T16:13:00.001-07:00</published><updated>2013-08-17T16:45:34.011-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LightSwitch"/><category scheme="http://www.blogger.com/atom/ns#" term="Sql Server"/><title type='text'>How to Use pivot function in sql server and in Lightswitch?</title><summary type="text">


How to Use pivot function in sql server and then in Lightswitch?



In this post you will know that how can you use sql server pivot
function in visual studio lightswitch. Mainly pivot function is used to convert
rows into columns. Here is an example of school time table with respect to a
particular staff. With this example I will try to explain this concept. We will
insert data row wise and </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/4178943740015899447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=4178943740015899447' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/4178943740015899447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/4178943740015899447'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2013/08/how-to-use-pivot-function-in-sql-server.html' title='How to Use pivot function in sql server and in Lightswitch?'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-66CGnRXW0h4/UhACR8a6Y1I/AAAAAAAAAtE/YWDsuvreOak/s72-c/Time.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-3199536282833612866</id><published>2013-08-04T02:19:00.000-07:00</published><updated>2013-08-17T16:46:10.210-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="LightSwitch"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2012"/><title type='text'>TF31003 tfs Error in Visual Studio 2010 and Visual Studio 2012</title><summary type="text">

TF31003 tfs Error in Visual Studio 2010 and Visual Studio 2012


I am working with the Visual Studio LightSwitch 2010 and 2012 htmlclient version. Suddenly I got an error while connecting to tfs. The error is like as



TF31003: 
Either you have not entered the necessary credentials or your user 
account does not have permission to connect to the Team Foundation 
Server at https://***.</summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/3199536282833612866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=3199536282833612866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/3199536282833612866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/3199536282833612866'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2013/08/tf31003-error-in-visual-studio-2010-and.html' title='TF31003 tfs Error in Visual Studio 2010 and Visual Studio 2012'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-rL7xHqWIEz4/Uf4eN4EuqWI/AAAAAAAAArk/WTV77iAbIYY/s72-c/rsz_solution.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8661521718904678975.post-5823015856720844720</id><published>2013-07-20T22:58:00.003-07:00</published><updated>2013-07-20T22:58:54.249-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio 2012"/><title type='text'>Load operation failed for query &#39;GetAuthenticationInfo&#39;. Could not load file or assembly &#39;Location&#39; or one of its dependencies. The system cannot find the file specified.</title><summary type="text">

I find this error when I am trying to upgrade my application from lightswitch2011 to Lightswitch2012. After a long search I found the solution that some of the reference files are missing from the specified location. While we are including some extension then some files are not copping to the location. Then this kind of errors occur.

  

When some of the files are missing in he specified </summary><link rel='replies' type='application/atom+xml' href='http://www.harshgarg.com/feeds/5823015856720844720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8661521718904678975&amp;postID=5823015856720844720' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/5823015856720844720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8661521718904678975/posts/default/5823015856720844720'/><link rel='alternate' type='text/html' href='http://www.harshgarg.com/2013/07/load-operation-failed-for-query.html' title='Load operation failed for query &#39;GetAuthenticationInfo&#39;. Could not load file or assembly &#39;Location&#39; or one of its dependencies. The system cannot find the file specified.'/><author><name>Harsh Gupta</name><uri>https://plus.google.com/116498628451903088103</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh4.googleusercontent.com/-CYmMmlIlZi0/AAAAAAAAAAI/AAAAAAAABBY/YRV2F9YF17s/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-4Cv5bCpF3is/UetzpPIsmkI/AAAAAAAAAp0/nqt_H0G3CMs/s72-c/Error.png" height="72" width="72"/><thr:total>1</thr:total></entry></feed>