Category: Enter key

  • How to use CLR function at SQL Server?

    Creating a CLR function in SQL Server involves the following steps: 1. Define the function as a static method of a class in a language supported by the .NET Framework 2. Register the assembly in SQL Server by using the CREATE ASSEMBLY statement 3. Create the function that references the registered assembly by using the…

  • How to Stop Window Error Sound When Typing ‘Enter’ or ‘Esc’

    In the KeyDown event, set e.Handled = true and e.SuppressKeyPress = true OR [csharp] protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (keyData == Keys.Escape || keyData == Keys.Enter) { return true; } return base.ProcessCmdKey(ref msg, keyData); } [/csharp]