You are here:   Forum
Register   |  Login

 

Forum Notice

This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


Forums

Unanswered
Topic Replies Views Last Post
Oddball results when connecting to published LS database
by angus454 in LightSwitch Beginners
0 978
06 Feb 2013 12:45 PM
Computed Column, dropping out of code
by Craig in LightSwitch Hackers
0 2087
05 Feb 2013 05:12 AM
The next LightSwitch User Group will be February 13th at 7:00pm
by Michael Washington in General Discussion
0 752
31 Jan 2013 07:11 PM
Referance Sql Client
by jbaillie in LightSwitch Beginners
0 1426
30 Jan 2013 11:38 AM
Referance Dll
by jbaillie in LightSwitch Beginners
0 839
30 Jan 2013 11:34 AM
Question about deployment
by hive8 in LightSwitch Beginners
0 928
18 Jan 2013 06:53 AM
Roles - Group Inheritance vs Direct Assignment (Group inheritance not working)
by AM in LightSwitch Beginners
0 1196
18 Jan 2013 04:12 AM
Lightswitch Training Kit - EhancingBookStore - Sql Server connection
by bbetts in LightSwitch Beginners
0 2233
16 Jan 2013 05:04 PM
Hardware - Software Requirements
by jim in LightSwitch Beginners
0 1130
10 Jan 2013 11:57 AM
foreign Key Indexing
by Andy Drury in LightSwitch Beginners
0 2123
10 Jan 2013 04:14 AM
custom lookup picker screen
by omar awwad in LightSwitch Hackers
0 1709
08 Jan 2013 10:38 AM
Profiling a Lightswitch application
by juancarlosr in LightSwitch Hackers
0 1584
07 Jan 2013 03:37 PM
UI Automation Testing lightswitch
by dvr in LightSwitch Hackers
0 2026
03 Jan 2013 07:41 AM
Does Light Switch uses only SQL Server Express Edition?
by chaithanya in LightSwitch Beginners
0 1325
01 Jan 2013 10:00 PM
Calculate selective lines from order detail
by Michael in LightSwitch Beginners
0 1505
28 Dec 2012 07:13 AM
Stored Procedure as a Data Source for Tree Control
by svetoslav80 in LightSwitch Beginners
0 1764
24 Dec 2012 05:41 AM
Can't use System.Data.SqlClient in LightSwitch
by Letha in LightSwitch Beginners
0 2600
19 Dec 2012 01:22 PM
Create a Border Excel Document
by jbaillie in LightSwitch Beginners
0 1057
16 Dec 2012 11:41 AM
how to load data to a grid automatically??????
by andres in LightSwitch Beginners
0 1348
05 Dec 2012 08:45 AM
LightSwitch HtmlClient Event/Method
by sstigi in LightSwitch Hackers
0 1721
04 Dec 2012 05:18 AM
Page 5 of 20 << < 34567 > >>

Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

I am in a SQL queries class and I am thinking about how all of the parts of LightSwitch work. I like that we are doing all of these queries in code using SQL Management Studion and setting up exports to excel so I see how to manually edit them. I was wondering how to add them to a client solution manually. We Use queries in LightSwitch to create screens and filters and have buttons that export to excel. As well I use as excels ability to use Power Pivot to directly load data from a database based on what the pivot table does. Can view the queries in code if I dig into the text files built using the Visual Studio IDE and the GUI provided by LightSwitch. I need to learn how to manually place these lines of code within classes in a project solution so I can start work on making the same queries embedded in WPF. LightSwitch embeds them in solution parts for Silverlight I assume. I guess I just want to learn the basics of how to embed SQL statements and
Read more...

I have some code that runs under _Inserting on the Jobs table on the server. I also have a System table with a single record and a property of the LastCode (Last JobCode used in a record). DataWorkspace dw = this.Application.CreateDataWorkspace(); Job result = (from j in dw.Data.Jobs.OrderByDescending(Job => Job.JobCode) select j).FirstOrDefault(); System system = dw.Data.System.FirstOrDefault(); Int32 LastCode = int.Parse(result.JobCode); Int32 NewLastCode = LastCode + 1; system.LastCode = NewLastCode.ToString(); dw.Data.SaveChanges(); Which was created out of this post. If I place it in the _Inserted table it fails locally and when published, however running from _Inserting in debug mode locally on the machine works perfectly fine. When I publish this to Azure (V11 DB currently) everything else seems to work however when I try and add a Job I get "Object reference not set to
Read more...

Hello, Is backing up the entire project directory all that is necessary to fully restore a Lightswitch HTML project? I presume that as long as you have the entire project backed up, you can open the project with LS and just publish it again to build everything that goes into C:\inetpub\ ? If there is anything tricky or 'gotcha' about this scenario, please let me know! Thank you!! For instance: any other files that should be grabbed, if services should be stopped before file copies are attempted, etc. I already found a script to clean up the LS directories before backing things up. Thank you!
Read more...

Hello everyone I have a problem and need help. One of my main projects in LS is published as an application Out Of Browser on an Azure Web Sites. After the last publish that occurred in this week, despite having done publish the "Desktop" mode, new application installations occur in Web mode (in the case of this application triggers an exception, because the use of features that are only available in mode OOB). I noticed that Microsoft has updated the Silverlight Client a few days, and I'm suspecting that this problem has something to do with it. The problem does not occur when the application is already installed on the PC, only if a new installation occurs. Does anyone know what could have happened? Victor Perez
Read more...

My client does not like the default menu drop down that LightSwitch comes with.  Is there a way to change this behavior so that the menu is listed horizontally across the site?  I understand that LS is looking at development from a mobile environment but the client wants what the client wants.  Let's assume that this will not be used on a mobile device.   I did see a post by Michael Washington that utilizes AngularJS.  Is this the direction I should be going to make the UI more customized? Thank you.
Read more...

1234
Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation