In this article I am going to describes how to use Degree(°) Custom Format Specifier in LightSwitch Visual Studio 2012.
Here we will see how to use the Degree (°) Custom Format Specifier in LightSwitch Visual Studio 2012.In order to get the Degree symbol from the keyboard, go to your Accessories or simply click "Start" --> "Run" then enter "charmap" and hit Enter. By doing this you will get all the symbols.
Use the following procedure to create a sample showing how to use the Section Separator delimiter on a Screen .Step 1Open the LightSwitch Application in Visual Studio 2012 and go to the Solution Explorer.Right-click on "Data Sources" and choose "Add Table".The table appears in the table designer window. Insert the records in the following table.Step 2Now once again go to the Solution Explorer, right-click on "Screens" and choose "Add Screen".The Add New Screen dialog box appears. Select the "Editable Grid Screen" from the Screen Template. Inside the screen information, choose "Student" under screen data and provide some name to the Screen and click the "OK" button.The Screen Designer appears as shown below.Step 3Press F5 to run the application. Provide the information. Step 4Now stop debugging the application. From the Table Designer select the "BodyTemperature" record as shown in the figure below.Then go to the Format Pattern of Property window in the table designer and enter (#°) in the format pattern as shown below.Press F5 to run the application.
Printing in C# Made Easy