| A C# class that deals with System Registry |
| The Code Project |
| This C# class Retrieves, Creates, Deletes Registry values and keys, and even more... |
|
| A first look at C++/CLI |
| The Code Project |
| A brief look at the new C++/CLI syntax and how it improves over the old MC++ syntax |
|
| A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 2 |
| The Code Project |
| The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid |
|
| Advanced Data Mapping in .NET |
| DotNetJunkies |
| In this article, Tin demonstrates 3 automated mechanisms for data mapping: mapping from Database table columns to object properties, mapping from HTML form fields to object properties, mapping from ASP.NET Web controls to object properties. |
|
| Allowing Users to Upload Multiple Files at Once |
| DotNetJunkies |
| This article demonstrates how to allow users to upload multiple files from thier computer (the client) to your server. |
|
| Allowing Users to Upload Multiple Files at Once |
| DotNetJunkies |
| This article demonstrates how to allow users to upload multiple files from thier computer (the client) to your server. Specifically, this article will demonstrate how to set up a page that has 5 HtmlInputFile controls where a user can choose 5 images to upload. Only .jpg and .gif extensions will be accepted on the server and each one will be saved to a different directory::so any image that has the extension .jpg will be saved to the jpgs direcory and .gif will be saved to the gifs directory and everything else isn't saved at all. |
|
| Array Types in .NET |
| MSDN |
| Arrays are mechanisms that allow you to treat several items as a single collection. The Microsoft® .NET Common Language Runtime (CLR) supports single-dimensional arrays, multidimensional arrays, and jagged arrays (arrays of arrays). All array types are implicitly derived from System.Array, which itself is derived from System.Object. This means that all arrays are always reference types which are allocated on the managed heap, and your app's variable contains a reference to the array and not the array itself. |
|
| Auto-Generating Wrapper Classes for Stored Procedures, Part 1: Using the AutoSproc Tool |
| MSDN |
| Get an overview of the AutoSproc code generation tool and how it works. The AutoSproc tool (based on classes exposed from the System.Reflection.Emit namespace) saves you time by using reflection to auto-generate wrapper classes for stored procedure calls. |
|
| Boxing and Performance of Collections |
| C# Corner |
| A few days ago, a post alerted me on C# Corner discussion forums about collection and performance issues during boxing and unboxing. A collection such as an ArrayList stores data as 'generic objects' and boxing and unboxing operations may be used to store and retrieve data from a collection. During process of boxing and unboxing, it may be possible that the performance of conversion is being affected due the large number of items stored in a collection. I've done a bit of research over this and here is my conclusion. |
|
| Boxing and UnBoxing in C# |
| The Code Project |
| This article explains the concepts of Boxing and UnBoxing in C# |
|
| C# and its Types |
| C# Corner |
| In learning a new language the first pace is usually to learn basic concepts such as variables,operators,types,expressions etc. Variables represent storage locations. Every variable has a type that determines what values can be stored in the variable. C# is a strongly type-safe language, and the C# compiler assurance that values stored in variables are always of the suitable type.In this article let us see about the types in C#. |
|
| Changing printer setting using C# |
| The Code Project |
| Changing printer setting using C# |
|
| Code Generation in the .NET Framework Using XML Schema |
| MSDN |
| Learn the difference between typed datasets and classes generated by the xsd.exe tool. Extend this process by reusing the infrastructure classes supporting it, staying compatible with the XmlSerializer. |
|
| Common .NET Libraries for Developers |
| MSDN |
| Identifies and defines many of common namespaces that you will use when developing .NET applications, and provides examples of the most common classes and methods in those namespaces. |
|
| Controlling object life time and garbage collection in .NET |
| The Code Project |
| This article discusses scenarios where we have to take care of an object's life time and cannot rely on JIT's marking of objects for garbage collection |
|
| Creating a Stored Procedure for Custom Paging with the ASP.NET DataGrid Control |
| DotNetJunkies |
| The DataGrid control is the most flexible and robust data bound control offered by ASP.NET. The DataGrid control renders as an HTML table in the user’s Web browser that can contain any other combination of controls, can be dynamically manipulated using scripts and server-side code, accommodates in-row editing and updating of displayed data, sorting of columns, and built-in paging. The built-in paging supplied by the DataGrid control may either be semi-automatically managed by the control or be manually mana |
|
| Creating dynamic data structures |
| FLWS.com.au |
| In the first part of this series - Creating custom collections - I showed how to wrap a .NET collection class to create a new enumerable collection with a custom name. In that article I used an ArrayList as my underlying storage container. Was that a good choice? Should I have used a HashTable? What's the difference anyway? Well, as you are probably aware, there are many differences between a HashTable and an ArrayList, but what you may not already know is that these differences can dictate how the underlying data is stored in memory. In this article I'll explain the different structures that are used to store data in memory and demonstrate why different collection classes require different underlying structures. |
|
| Data Types in C# |
| DotNetJunkies |
| Wajahat explains the basic data types in C# and the Common Type System. |
|
| Displaying a NotifyIcon's Balloon ToolTip |
| The Code Project |
| This article shows one approach to displaying a balloon tooltip for a notify icon created using the FCL's NotifyIcon class. This relatively new feature of notify icons is not supported by the NotifyIcon class and adding this feature to my own code was not immediately obvious without some creative coding. This is why I am presenting it here. The other reason is that I am hoping somebody can tell me that I'm doing it all wrong and that there is a much more 'correct' solution. |
|
| Dynamically Changing Database Stored Image Sizes |
| DotNetJunkies |
| Earlier today, I recieved an email asking if I could demonstrate how to resize images that are stored in a database and display them in a web page. Instead of simply rendering the image bits directly to the HttpResponses output stream I'll be first changing the size of the image, all done in memory |
|
| Dynamically Changing the Color of Edited Items in a DataGrid |
| DotNetJunkies |
| In this article we will illustrate how to change the font color of all items that have been edited in a DataGrid. Essentially, it works like this: A user edits item one in a DataGrid. After the item has been successfully updated the next time the page is rendered (within the same session) the edited items text will be red and bold. The user can then edit an additional item (Item 23) and that also will be red and bold. So now, both item 1 and 23 will be red and bold
so the user can visually see what items h |
|
| Enumerate and Host Control Panel Applets using C#. |
| The Code Project |
| Demonstrates how to enumerate and host Windows Control Panel Applets using C# and unmanaged C++. |
|
| Enumerates |
| DotNetJunkies |
| In this article, Pierre demonstrates how the class System.Enum can be useful. He also runs through an example of the new functionality applied to enums through the .NET Framework. |
|
| Exploring Delegates |
| C# Corner |
| Delegates are a kind of type safe function pointers which are actually declared as class derived from System.MulticastDelegate. |
|
| FIX: Null Values Are Returned for Fabricated DataColumns When a DataSet Is Deserialized from a DiffGram |
| Microsoft Support |
|
(325697) - When you deserialize an ADO.NET DataSet from XML in the DiffGram format, null values are returned for fabricated DataColumns whose values are computed by using aggregate functions with expressions that reference columns in a child DataTable . The...
|
|