|
|
|
|
|
|
| | Total Hits: 86 | Today: 0 | Author: Prajnan Das | Rating:  |
| |  System.Collections.Generic.List offers some power features to work on the collections backed by the underlying list. This article explains some of them which can be exploited to develop robust object oriented code. It models a simple Stock Exchange as an example.... |
| | Total Hits: 50 | Today: 0 | Author: admin under | Rating:  |
| |  When developing server controls sometimes you want to know (in your code, I mean) whether it's designtime or not. Things like caching and optimization might not be suitable to do when in designtime and the trick to know is checking the Context variable.... |
| | Total Hits: 201 | Today: 0 | Author: nitstheone. | Rating:  |
| |  In this article I will explain how to write code in C# to achieve asynchronous File IO using anonymous method. The sample code with this article can be used like a template, just fill in the sections as per your requirement and use it.
Here is some explaination of the code :
I have started off my defining some variables... |
| | Total Hits: 128 | Today: 0 | Author: Bipin Joshi | Rating:  |
| |  When you move your mouse pointer on any of the link in the browser, the corresponding hyperlink is shown in the status bar. As a webmaster or developer of a web site, many times you want to hide such hyperlinks in your pages. This is needed frequently in download pages to hide the original content location or payment related pages. In this small code sample we will use ASP.NET HyperLink web control to display our links and then write code to hide them from the site visitors.... |
| | Total Hits: 81 | Today: 0 | Author: Bipin Joshi | Rating:  |
| |  The default page processing model in ASP.NET is post back oriented. That means when you click a post back causing control (such as button) your form gets submitted back to the server. Server side events are raised and the entire page output is sent back to the client. This can cause significant network overhead. The Client Callback feature allows you execute code from a web form without posting the form back to the server. You just retrieve the required value and update a small part of the overa... |
| | Total Hits: 420 | Today: 0 | Author: Jon Boyce | Rating:  |
| |  The .NET platform has simplified a lot of things in Beta1. Simplifications Range from window controls to Enterprise web services. In this tutorial we will go through some steps for teaching you how to use the clipboard to transfer data to and from your .NET applications or any other application. To transfer clipboard data in .NET we need to use three classes, Clipboard, DataFormats and IDataObject. These classes reside in the System.WinForms namespace.... |
| | Total Hits: 141 | Today: 0 | | Rating:  |
| |  A common task for developers is to have to calculate tax for an item depending upon a total price. This quick code example shows you how to convert from double to decimal data types and perform a simple tax calculation.... |
| | Total Hits: 288 | Today: 0 | Author: Nauman Laghari | Rating:  |
| |  The Article introduces a C# developer to building framework. After reading, you'll get how the big names have performed most of the magic in Application Frameworks, like the Java Applet and Servlets Framework as well as the Microsoft Foundation Classes. This article is just an introduction to the complex topic. A short code sample is provided for practically demonstrating the purpose.... |
| | Total Hits: 329 | Today: 0 | Author: Kamran Shakil | Rating:  |
| |  This articles explains how to use your C# program in a web server (without using ASP.NET). You can either use IIS (built-in to Windows 2000/NT/XP Professional), or Apache.... |
| | Total Hits: 520 | Today: 0 | Author: Brad Kingsley | Rating:  |
| |  This code shows how to validate against an XML file for Forms Authentication security in ASP.Net. Please read one of the earlier articles on Forms Authentication for an introduction and to see the required settings in the web.config file. The code below is just a modification of the login.aspx page.... |
| | Total Hits: 685 | Today: 0 | | Rating:  |
| |  C# does not support optional method arguments. However, there may be times when you are using components that were created in a language that supports optional arguments, such as legacy COM components or components created with Visual Basic .NET. This article explains how to take advantage of optional arguments.... |
| | Total Hits: 1343 | Today: 0 | | Rating:  |
| |  This article explains the usage of key and mouse events. The following code shows you how you can read mouse position on mouse move.... |
| | Total Hits: 960 | Today: 0 | | Rating:  |
| |  Why go through the hassle of creating the same components and event handlers for every C# Windows application? This article offers a template for quickly creating menus, toolbars, buttons and other Windows components.
... |
| | Total Hits: 1241 | Today: 0 | Author: Khalid Shaikh | Rating:  |
| |  The code required to simply start up winsock in a Windows environment, and enumerate all the IP addresses on your local machine.... |
| | Total Hits: 1675 | Today: 0 | Author: Waheed Khan | Rating:  |
| |  In this article Waheed Khan will show you how to use Windows API function GetForegroundWindow, and GetWindowText.... |
| | Total Hits: 1777 | Today: 0 | | Rating:  |
| |  In Win32 SDK, we have an API GetVersionEx that returns the information in OSVERSIONINFO structure. And then we can look at the values of various members of structures to decide what version of operating system we are running on. To accomplish the same task, .NET SDK provides a class named Environment. In this class there is a static method named OSVersion that returns OperatingSystem object. This object can be used to get the value of operating system version.
... |
| | Total Hits: 1313 | Today: 0 | | Rating:  |
| |  Here is an example of how a Jagged Array works. The code I have included here also contains the decleration and it's operation.... |
| | Total Hits: 1849 | Today: 0 | | Rating:  |
| |  This is an example of a timer in C#. It gives you an understand of time/clock and time conversion functionality.... |
| | Total Hits: 904 | Today: 0 | | Rating:  |
| |  Here is a very quick and easy way to create a Dll and use it in C#... |
| | Total Hits: 795 | Today: 0 | | Rating:  |
| |  This article demonstrates how to start the application that is associated with a given document extension or file type without needing to know the name or location of the associated application. For example, you can start Arcade.bmp with the application that is associated with the .bmp file extension, which is MSPaint.exe in most cases.... |
|
|
|
|
|
|