This article shows how to create a basic application using two HTML Client Screens in LightSwitch using Visual Studio 2012.
This article shows how to create a basic application using two HTML Client Screens in LightSwitch using Visual Studio 2012.Procedure for creating an application in LightSwitch.Step 1Open the Solution Explorer.Step 2In the Solution Explorer, right-click on the data source and choose "Add Table".Step 3The table appears.Step 4In the Solution Explorer, right-click on "Screen" and choose "Add Screen".The Add New Screen dialog box appears, choose "Browse Data Screen" from the Screen Template and select Employees in the Screen Data and click "OK".Step 5
Once again go to the Solution Explorer and add another Screen.This time we will add an Add/Edit Details Screen and use the same Screen Data.Step 6Open the Browse Screen Designer.In the Screen Designer right-click to add a button.
Step 7The Add Button Dialog Box appears. From that select "Choose an existing method", and specify "Employees.addAndEditNew".
Step 8Press F5 to run the application.Provide the data to the screen and click on the "Save" button.
Printing in C# Made Easy