Articles → Light Switch 2011 → Default Value In Light Switch 2011
Default Value In Light Switch 2011
Software Requirement
- Visual studio 2010 is installed on your machine.
- Visual Studio 2010 service pack 1 is installed on your machine.
- Microsoft Visual Studio Light switch 2011 is installed on your machine.
Prerequisite Knowledge
- What is lightswitch?
- What are screens and entities in lightswitch?
- How to create an entity in lightswitch?
- How to create a screen in lightswitch?
- How to work on screen designer in lightswitch application?
Why Default Value Is Required
Creation Of Sample Entity
Click to Enlarge
Add Default Value
Click to Enlarge
Click to Enlarge
Creation Of New Data Screen
- Right click on the Screens folder and click Add Screen… option.
- When you click on it a new screen open up.
- Select New Data Screen as screen type.
- Enter Screen Name.
- Select Screen Data.
- Uncheck Employee Details checkbox.
- Click Ok.
- A new screen will be added to the solution.
Click to Enlarge
Designer View Of New Data Screen
Click to Enlarge
Creation Of Search Data Screen
- Right click on the Screens folder and click Add Screen… option.
- When you click on it a new screen open up.
- Select Search Data Screen as screen type.
- Enter Screen Name.
- Select Screen Data.
- Click Ok.
- A new screen will be added to the solution.
Click to Enlarge
Designer View Of Search Data Screen
Click to Enlarge
Add New Data
- Run the program
- Enter the details.
- Click Save.
- Data is entered into the table.
Click to Enlarge
Search Screen
Click to Enlarge
Conclusion