devxlogo

Tip Bank

Identify the Owner of a User Table

If your database is maintained by more than one user and some of those users have rights to create tables, it can be difficult to identify the owner of a

Using Pixels in WinForms .NET

Though .NET no longer supports twips, one twip is still 1/1440 inch. You can use the dpiX and dpiY properties of the Graphics class to obtain the horizontal or vertical

Accessing Server Controls Using JavaScript

Suppose you have a Web server control called TextBox in your Web page: You can access this value in a couple ways using JavaScript: document.getElementById(”).value;ClientID – server control identifier generated