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 EnlargeAdd Default Value
Click to EnlargeClick to EnlargeCreation 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 EnlargeCreation 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 EnlargeAdd New Data
- Run the program
- Enter the details.
- Click Save.
- Data is entered into the table.
Click to EnlargeSearch Screen
Click to EnlargeConclusion
Posted By - | Karan Gupta |
|
Posted On - | Tuesday, January 24, 2012 |