Tag Archives: ASP.NET
ASP.NET Label control
The label control in ASP.NET is the most commonly used control on a webform. Label controls are rendered as static text and end users cannot change its value. Adding label to a webform: <asp:Label id="identifier" runat="server" Base attributes Text="Some label … Continue reading
Declaring server controls in ASP.NET
Below are examples showing the syntax for declaring controls or adding controls to webforms. Controls using beginning and end tags: <asp:control runat="server" id = identifier attributes ></asp:control> Controls with self closing tags <asp:control runat="server" id = identifier attributes /> Declaring … Continue reading
Control types in ASP.NET 2.0
HTML server controls HTML server controls are controls that are similar to the HTML elements and have syntax similar to the HTML syntax. ASP.NET server controls ASP.NET server controls are feature-rich controls that are robust and have been abstracted beyond … Continue reading
Shut Down, Restart and Log Off PC using .NET, C#
Using .NET and C#.NET, We can perform Shut Down, Restart and Log off operation on current PC. In .NET Framework we have a namespace Using System.Diagnostics which has the required class and methods to perform these operations from a .NET … Continue reading