Click here to Skip to main content
15,886,422 members
Everything / LightSwitch

LightSwitch

LightSwitch

Great Reads

by Chun Te
An article about applications that is an enterprise system targeted for small & medium enterprises in Malaysia and Singapore
by stuxstu
Job application tracker for those out of work built using Visual Studio Lightswitch 2011.
by Delordson Kallon
The one stop shop for all your asset, equipment and facilities management needs
by Ankita Biswas Bhattacharya
Here, I will explain how you can work with SQL views in lightswitch and how you can save data on screens which are created on Views.

Latest Articles

by kametepe
This article shows how to simply create .rdlc report in Lightswitch Html client without using WCF RIA Services
by Dave Ceddia
. React 16.3 added a new Context API – new in the sense that the old context API was a behind-the-scenes feature that most people either didn’t know about, or avoided using because the docs said to avoid using it..
by Ankita Biswas Bhattacharya
Here, I will explain how you can work with SQL views in lightswitch and how you can save data on screens which are created on Views.
by Ankita Biswas Bhattacharya
This article will explain how to package your lightswitch application in a zip folder in Visual Studio Lightswitch 2013 professional.

All Articles

Sort by Score

LightSwitch 

17 Jan 2012 by Chun Te
An article about applications that is an enterprise system targeted for small & medium enterprises in Malaysia and Singapore
19 Jan 2012 by stuxstu
Job application tracker for those out of work built using Visual Studio Lightswitch 2011.
19 Dec 2011 by Delordson Kallon
The one stop shop for all your asset, equipment and facilities management needs
18 Apr 2016 by Ankita Biswas Bhattacharya
Here, I will explain how you can work with SQL views in lightswitch and how you can save data on screens which are created on Views.
24 Mar 2011 by Kunal Chowdhury «IN»
Attaching an External DataSource in LightSwitch Application
14 Nov 2011 by Matt Milner
A LightSwitch application manages student, parent, and staff information
11 Dec 2019 by kametepe
This article shows how to simply create .rdlc report in Lightswitch Html client without using WCF RIA Services
12 Apr 2016 by Ankita Biswas Bhattacharya
This article will explain how to package your lightswitch application in a zip folder in Visual Studio Lightswitch 2013 professional.
18 Nov 2011 by Glen Banta
Integrating the HSS Interlink UploadFileDialog feature with Microsoft’s application platform, LightSwitch for Visual Studio.
10 Dec 2011 by Keith Craigo
Security Central is a role based application designed for Corporate Legal and Physical Security Departments.
9 Dec 2011 by Royce Bacon
How to search for SSRS subscriptions
25 Sep 2013 by Sergey Alexandrovich Kryukov
No need to ask such questions every time you need to translate between those languages. You can always do it automatically.Please see my past answers:COde Line Interpretatio of C# to VB.NET[^],Need to convert vb code to c#[^],FixedPage to ContentPage convert c# code into...
30 Nov 2014 by GauravSaxena.Net
HiYou can use the following query. As there are 2 tables Departments and Employeesusing(var context =new dbContext(Your contextName)){ var result = from dept in context.tblDepartments group dept by dept.V_DEP_Name into dept1 join emp in...
23 Jul 2018 by Dave Ceddia
. React 16.3 added a new Context API – new in the sense that the old context API was a behind-the-scenes feature that most people either didn’t know about, or avoided using because the docs said to avoid using it..
13 Sep 2011 by David Combrinck
I am struggling to get certain information from my database by using LINQ.The initial database structure that is required for the system looks as follows:Please see for image:...
3 Jan 2012 by Netsuper
The LS application is used to interface to a SharePoint list (used as the dataset) to provide timestamp and delay code inputs to the SharePoint list.
31 Jan 2012 by Vicente Cartas
Birthright Campaign Manager is an open source role playing computer aid for Birthright, a campaign setting for Dungeons & Dragons.
31 Jul 2013 by nwhitfield
Mobile, geo-centric app for Business Users, Consumers and Sales/Marketing Professionals
17 Dec 2013 by Dave Kreskowiak
The red X usually means that a control can't render itself because of some error in your code. It's not with the system so reinstalling it isn't going to do anything.
24 Apr 2014 by Abhinav S
Try12 - How Do I: Deploy a Visual Studio LightSwitch Application?[^]http://msdn.microsoft.com/en-us/library/ff872288.aspx[^]How to: Deploy a Three-Tier LightSwitch Application[^]
5 Jul 2011 by chivukulac
Check the connectivity to the table. see if the screen is connected to the right data. I tried it works
19 Sep 2011 by David Combrinck
After some scope creep and other changes that had to be implemented, I also sorted out this issue.For a detailed view of the code as well as the NEW DB structure according to business needs, please see the following...
20 Dec 2011 by Clement Siby
I have just completed developing a investor tracking system with lightswitch, I created a truck load of permissions and have proceeded to check for them on both the screens and the entities. for some reason none of the permissions are being checked when i run the application. I have even...
12 Jan 2012 by yannduran
Luminous Commands provides two pieces of functionality that were missing from LS RTM but wanted by many users
12 Jan 2012 by Netsuper
The Access Control Manager tracks user access to applications and other products (such as hardware, cellphones, etc.) by creating requests for access by the supervisor of the user
8 Feb 2012 by craigacronin
Hi, We are currently looking whether we build our CRM in Dynamics or Lightswitch. We have built a couple of small applications but came across your project. Would you be willing to share your source code?Dynamics has been a little bit of a nightmare based on the amount of customisation we...
8 Feb 2012 by Christian Graus
I'm not sure who you think you are asking here. Do you mean the source code for the whole site ? Do you mean an article, because, the articles have source code. This is a programming forum for you to ask programming questions, this code request is off topic here.
8 Mar 2012 by sharadrsoni
I am Developing a LightSwitch Application which needs a Login Credential to Access the Application. That I had Done, but if the User Forgot the password than what ???. There is no link given of "Forgot Password" at the login time. How can I get out this problem.And thanks in...
8 Mar 2012 by Pete O'Hanlon
LightSwich passwords are encrypted. This means that, in line with security best practices, they cannot be reversed, so it is not possible to resupply the password to the user. What you do, instead, is send a link to the email address the user was registered against, with a random password (also...
9 Mar 2012 by Member 8515869
How to change and customize Dialog box message that shown some time in lightswitch app when save data and etc, ... or change "OK" Button Caption? to make and application more customize
9 Mar 2012 by Uday P.Singh
Perhaps this[^] will help you.
9 Mar 2012 by Member 8515869
these links are solution:http://janvanderhaegen.wordpress.com/2011/08/22/showing-a-modal-dialog-in-lightswitch/http://blogs.msdn.com/b/lightswitch/archive/2011/07/07/creating-a-custom-add-or-edit-dialog.aspx[^]
27 Mar 2012 by Member 8515869
When i adding new Product and ProductDetails at the same time in a screen I have a problem with Computed Properties in ProductDetails Entity Because There is no ProductID yet and other ID's that are Foreign key in ProductDetails was not selected yet so Computed Properties in ProductDetails...
29 May 2012 by surekha rajguru
Hi,I have Microsoft Visual Studio Lightswitch 2011 & i want to design the screen in Lightswitch such as follows,On Button click on the screen, I want to add my data displayed on the screen into the sql server 2008 database.How can i do it?????????
29 May 2012 by Sandeep Mewara
See & Learn from these:Video: Visual Studio LightSwitch 2011 Tutorial - YouTube[^]MS: Visual Studio LightSwitch Training Kit[^]
1 Aug 2012 by Member 9328877
I am new to Lightswitch 2011.All I want to do is run a query that will show text message if results are returned and another text message if false.. I can do this , but when the query does not change, the message does not appear.I know it is because I used the Procedure SelectionChanged...
2 Aug 2012 by Kenneth Haugland
You should get the TextChange event and check for e.Key = Enter.
20 Aug 2012 by fixthebugg
This is a sample project using lightswitch..http://msdn.microsoft.com/en-us/library/ee256749.aspx[^]
4 Nov 2012 by Sandeep Mewara
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Infact, it does not look like a technical question at all, instead a spam. :doh:
6 Dec 2012 by ashp.net
Can we represent data in form of charts using light switch in visual studio 2012...if we can please provide me the links for learning and referencethank u
11 Feb 2013 by Jeeva Jose
In our project we are using Prim Root Shell and we are not using the default LightSwitch Shell. Whenever I set the startup screen as “MyScreen” that is not loading automatically from the Initial load of application and we need to click manually to open the screen.In LightSwtich have the...
3 Mar 2013 by RajendhiranCiT
Hi, Creating a custom checkbox,it retrieves the values from sharepoint list choice field, values like(Jan,Feb,March,April). User checked values like(Jan,March) from Add\Edit Detail Screen, custom checkbox generate and working correctly but when i navigate Browse data screen multi...
23 Mar 2013 by shivammpi123
Hello All, i am making a visual studio light switch project.And i am adding a WCF RIA service to this project and I am using some references as bellow... using System; using System.Collections.Generic; using System.ComponentModel; using...
3 Jun 2013 by Member 8967718
Help, Help, Help. I have read lots of articles (very good articles) on this. I have been at this for 3 days now and just can't figure out what my problem is. The Problem:I created a Screen based on a WCF and SilverLight Custom Control. The WCF is working find when I use it on the Edit...
3 Jun 2013 by Member 8967718
I got an email stating that richcb updated my question; however, I don't see richcb update.
24 Jul 2013 by The-vister
Hi theirs.I am new with light switch and i have 2 project each one contain some screens, i want to make home page in a third project that give 2 button each button open an application from the others projects. any hit for this and anu one can help me. and thx for you helps
11 Aug 2013 by The-vister
Salem to All.I am working on a light switch application and i am using control from a silverlight class library, i did build a user control in silverlight with is a listbox item container style of it is composed of listbox and textblock. this is my XAML code: ...
11 Aug 2013 by Syed Shabeer
Check this outhttp://social.msdn.microsoft.com/Forums/en-US/9af3a245-db9a-43e5-99dc-aacb352fe916/it-is-not-valid-to-execute-the-operation-on-the-current-thread-on-the-closing-of-a-custom-user[^]Hope this helps
24 Sep 2013 by Sergey Alexandrovich Kryukov
First of all, the question, as it is, makes no sense at all. Lightswitch is nothing but a Visual Studio version, and Visual Studio is nothing but IDE. It does not build any projects, it provides the UI front-end for doing this...
16 Nov 2013 by karthikeyal87
HIAny one know how the Light Switch create a layout as same as RowLayoutControl,Column layout or List control
16 Nov 2013 by CHill60
There is a walkthrough on msdn here[^] which handles layout - key is a group control.Have a go with this first. If you hit any problems then post a question showing your code and explaining your problemThe LightSwitch team blog[^] is a good source for additional information
18 Dec 2013 by Woogie2
I'm trying my hand at a LightSwitch (VB) web application for my local hockey club. I have the data set up as a number of relational tablesOne table is called Game/s withIDRound HomeTeam (A relationship with a table of Team/s linked as HomeGame on that table)AwayTeam (A relationship...
23 Jan 2014 by Bruno C Soares
Hi, I have an application developed in lightswitch. Using wamp server, I made ​​a website (localhost). The database ("localhost / db.mdf") is in the same folder as the program ("localhost / default.htm"). How should I write the connection string knowing that the database does not have any...
23 Jan 2014 by dbrenth
I don't recognize wamp server. However I use ConnectionsStrings.com whenever I have questions about connections strings.Good Luck
24 Apr 2014 by 09hadi
Hi, I am new to Lightswitch applications. Looking to publish a simple application for a client. The thing I fail to comprehend is the data connection and related stuff. In all the tutorials, everyone has given a connection string, but I dont understand that the application will be running on the...
17 Jun 2014 by Vassilis Tsolekas
Dear Shivam,I have faced the same problem while I was working on a tutorial for WCF RIA Services for a LightSwitch application. It is not an assembly that you need to reference. ApplicationData is a class that LightSwitch automatically creates, in order to communicate with the Intrinsic...
18 Aug 2014 by ehabelnahas
Hi all,I need to connect my Visual Studio LightSwitch with VB.NET project to SQL database which is located on a shared drive on a local network .. Database Name is: Proj2014DB.mdf The PC name containing the DB is: PCNO10Drive on PCNO10 containing the...
18 Aug 2014 by Eldon Elledge
Provided that the PC that the Proj2014.mdf is located on is setup to properly run SQL Server (or Express or LocalDB), include the PC Name (or IP Address)\ SQL Server name. See below:Data Source=PCNO01-PC\SQLEXPRESS;Initial Catalog="Proj2014";Integrated Security=True;Pooling=True;Connect...
18 Aug 2014 by Eldon Elledge
It will need to be installed on the PC that has the database file. Based on the needs, there are different versions to look at:LocalDB - on a local PC - Great for Developing and TestSQL Express - Great for light use across the network with a few users.SQL Server - High-End use
31 Aug 2014 by ehabelnahas
Hi all experts,I have a Lightswitch application with an Internal Database,I now need to publish the application on this pc and all other pcs on my network so that all can connection to the same database which designed internally.I have no idea about SQL connection strings... and I...
1 Sep 2014 by coded007
http://social.msdn.microsoft.com/Forums/vstudio/en-US/f5ef3884-8f17-407d-9f92-e6468f078f88/lightswitch-connection-strings-confusion?forum=lightswitch[^]
2 Sep 2014 by ehabelnahas
HiSuddenly my LightSwitch application gives an error "Can't find Log-in.aspx and Log-out.aspx", and publishing process terminates.please help
6 Sep 2014 by ehabelnahas
Hi experts,I downloaded SQL Server 2014 and I followed the next steps:1- I made a SQL Server Instance named: MYSQLserver2- I Created a database called: MyDatabase attached to MYSQLserver3- and already I attached a new LightSwitch project to that database as an external data...
13 Sep 2014 by ehabelnahas
Hi,I have the vb.net code:Private Sub Query3_PreprocessQuery(ByRef query As System.Linq.IQueryable(Of LightSwitchApplication.Stock)) query = From n In query _ Group n By n.Order_Date.year, n.Order_Date.month, n.Product_Name Into g=Group _ ...
18 Sep 2014 by avitools
Lightswitch 2012 project failed to publish when using SQL Server EXPRESS 2012 and publishing Database SchemaHi again. As long as I stay with sql servwe 2008 r2 , there is no problem publishing. But try to use the same vs 2012 with sql server 2012 express and I get the following error when...
30 Nov 2014 by Member 11275599
Hello,I've just started working with Lightswitch and Linq and I'm having a hard time to write the following simple SQL statement as a Linq query:SELECT Departments.Name, SUM(Salary) AS Total FROM EmployeesSetJOIN Departments ON EmployeesSet.Department_Employees = Departments.idGROUP...
21 Dec 2014 by Member 4449297
Hi All,Quick question, has anyone got any example code for exporting data from a table to CSV, in Lightswitch.I can find lots of example for the Web App, but not the HTML5 Client which is based on Javascipt.I have tried to use javascript to generate the CSV but am unable to get the...
23 Jan 2015 by Member 10974961
I want to implement a chart using JQuery /Javascript in lightswitch 2013 with the support of the Office 365/Sharepoint Online 2013. it's very important in my project.Could you please provide a needful information.
15 Apr 2015 by Member 11609637
I have the following code which extends my filter functionality to allow me to search for more than one Zip-code. Ex. (1254,125,145,1455)if (Post_Code_PAR != null){ String[] PostCode_Array = Post_Code_PAR.Split(','); query = from p in query where...
15 Apr 2015 by phil.o
What about:String[] PostCode_Array = (from p in Post_Code_PAR.Split(',') select String.Format("^{0}$", p.Replace("", @"\d"))) .ToArray();?
4 Jul 2015 by Bruno C Soares
Hi!I am having problems with custom controls in LS.This code is beging displayed:Quote:TypeName Format of Custom Control is not correctAnd I am using this tutorial for making this Custom...
31 Aug 2015 by Muhammad Idrees GS
Hi,I am having problem with Microsoft LightSwitch. I am using .Net framework 4.0. Few days back my application was working fine hosted under IIS. But now application started getting stuck on every save request(even a simple table screen, with only 5 total rows causing problem). I am not sure...
14 Oct 2015 by Oppiie
I have a lightswitch project in which I have a custom ModalWindow that should create a new record and set its "nomBrut" (basically its name) property to a string value that the user creates with the help of various TextBoxes and CheckBoxes.Here is an example of what it looks like right...
28 Jul 2017 by Man Down
I'm Working on a project in Visual Studio 2012 (LightSwitch),But when i try run the project or Bulid the project I get the following error message: Assembly 'Microsoft.Data.Services, Version=5.6.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' uses 'Microsoft.Data.OData, Version=5.6.4.0,...
28 Jul 2017 by OriginalGriff
Check your references: one of the assemblies you are trying to use requires a higher version of the .NET framework than the main application does. If you need this assembly, you need to increase the version for your app, as you can;t switch to a higher .NET version once your app is started.
2 Sep 2011 by MESCIUS
A video that demonstrates OLAP for LightSwitch
26 Oct 2011 by Alessandro Del Sole
This article explains how to acquire images from scanners and Webcams and how to store them to a LightSwitch application's database
27 Oct 2011 by Alessandro Del Sole
This article explains how to bind Pie Chart controls from the Silverlight Toolkit to a LightSwitch screen
8 Dec 2011 by PaulSPatterson
The Health and Safety Management System is an application that is used to help organizations better manage and mitigate health and safety statistics and KPIs.
13 Nov 2011 by Kunal Chowdhury «IN»
In this Tutorial, I will show you how to integrate a UserControl in LightSwitch Application.
19 Jan 2012 by Julio Iglesias Vázquez
A mini-CRM that helps with POS records, service request, field technicians workload, inventory, inventory tracking, fuel management and reports.
18 Nov 2011 by ihesie
Church+ is a comprehensive, extensive and integrative church management application
3 Jan 2012 by TexasRob
Demonstrates several LightSwitch capabilities including WCF-RIA services, Native SQL, Name and Addres merge purge
20 Dec 2011 by PaulSPatterson
A LightSwitch created Health and Safety Management System
25 Jan 2012 by Jan Van der Haegen
MyBizz Portal: The "smallest" LightSwitch application you have ever seen
23 Jan 2012 by TheRegan
A system for easily and effectively storing product information and managing promotions
28 Nov 2011 by Florin Badea
This article presents a LightSwitch application used to manage the resources needed to build university timetables
28 Nov 2011 by Florin Badea
This article presents a LightSwitch application that is used to manage users and roles from an existing database
3 Dec 2011 by Laurentz Tonniau
We created a business application for a structural and architectural engineering company. The purpose of the application is to manage all building projects and all parties who are involved in a project.
23 Jan 2012 by Jaganathan Bantheswaran
A tool to generate SQL server DB script from the LightSwitch internal database
25 Sep 2013 by Richard C Bishop
Here you go:Click me![^]
25 Sep 2013 by ringblue
vb to c# and c# to vb
25 Sep 2013 by The-vister
Salem to all;i was searching about printing and repoting in light switch and i did found this solution :http://blogs.msdn.com/b/bethmassi/archive/2010/09/10/using-microsoft-word-to-create-reports-for-lightswitch-or-silverlight.aspx[^]but the problem is the solution is in vb and i did not...
16 Apr 2012 by Member 8515869
I have a simple lightswitch application, with some grid and comboboxs in it, whenever i select different item within combobox an Exception message appear randomly like:Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))and after several click on exception's ok button...
7 Nov 2013 by NewPast
Please see Code Converter[^]
17 Dec 2013 by icecode
I created a simple lightswitch application using vb.net. I published and installed this application. I input data and everything worked fine. That is until i decided to go back into visual studio and removed a column due to it being obsolete and pointless to have so I removed it forgetting that...
24 Nov 2011 by Joel Yeow
The app was created to help remember favourite food
23 Jul 2015 by Member 11825998
This link has complete C# code:https://tejana.wordpress.com/2011/04/25/using-microsoft-word-in-lightswitch-c/[^]
10 May 2013 by chenthil28
Kindly mention the framework version used to give a clear answer for it.To get a data from a cell from a datagridif it's the first row thenctype(dgrd.Items(0).cells(0).Controls(0),DataboundLiteralControl).TextIn the immediate window while debugging check the no. of controls...