Here we will see about how to Add Choice list in a Table in LightSwitch using Visual Studio 2012.
Adding a ChoiceList In LightSwitch 2012A Choice List represents data to be limited to a small amount of values. For example if there is a field for which Male and Female are the fixed set of values.Here we will see how to use a Choice list in a Table in LightSwitch using Visual Studio 2012.The following is the procedure for using a Choice List in LightSwitch.Step 1Open the Solution Explorer.Step 2Right-click on Data Source and choose Add Table option.Step 3The Table appears in the table designer.Adding a Choice ListStep 1Select the field in the table and go to the property window and click on the "Choice List" link.Step 2The Choice List dialog box appears on the screen. Define the various choices and click the "OK" button.Adding a ScreenStep 1Right-click on "Screens" and choose "Add Screen".Step 2The Add New Screen dialog box appears. From the screen template choose "New Data Screen", select the Screen Name and Select the Screen Data and click "OK".Step 3Press F5 to run the application.
Printing in C# Made Easy