| A Calculator using C# |
| The Code Project |
| This is basic Calculator program written in C# which makes use of thevarious Windows Form controls. |
|
| 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 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 |
|
| A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 4 |
| The Code Project |
| The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid |
|
| Adding a Blank Row to a DataGrid (Used to INSERT rather than UPDATE) |
| DotNetJunkies |
| In this article we will be illustrating one way to add a blank row to a DataGrid. Why would you want to do this? Who knows, maybe to enable a user to add a new record. This article will show you how to add a new row to a DataGrid by manipulating its DataSource - in this example a DataTable. Note that we will be simulating saving the new item back to the
database. |
|
| 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. |
|
| An RSS 2.0 Blog Reader Written In MyXaml |
| The Code Project |
| An RSS 2.0 Blog Reader Written in MyXaml |
|
| 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. |
|
| Ask the DotNetJunkies: Working with Properties and Data Types |
| DotNetJunkies |
| How do I change forecolor of Label programmatically? I have tried... lblTest.forecolor="green" but keeping getting "System.String cannot be converted to System.Drawing.Color" error. Any help would be appreciated. This is a good question because it gives me the opportunity to address some of the fundamentals of how the .NET Framework handles data types. In classic ASP a color name and a string didn't seem any different in that they were both string values. In .NET data types are much more important and much |
|
| ASP.NET Web Service |
| The Code Project |
| We can now use ASP.NET to create Web Service that is based on industrial standards included XML, SOAP and WSDL. This is a basic introduction to building Web services. |
|
| 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. |
|
| BUG: JLCA Incorrectly Matches the Automatic Variable of Type BYTE |
| Microsoft Support |
| (819601) - You have a Microsoft Visual J++ project that contains a variable of type byte as an argument for a method. When you use the Java Language Conversion Assistant (JLCA) tool to convert you Visual J++ project to Microsoft Visual C# .NET, JLCA converts... |
|
| Building a Generic Database Tool Using .NET and Three Tier Architecture |
| DotNetJunkies |
| In this article, Sun shows how easy it is to develop a n–tiered Web application to create a generic database tool using ASP.NET and the .NET Framework. The system is quite simple and is able to handle the management of any simple table in any database. It provides an excellent starting point for providing a generic database tool. |
|
| Building a Web Service to Provide Real-Time Stock Quotes |
| DotNetJunkies |
| There are many benefits to using a Web Service, including the versatility of the client that consumes the Web Service and the reusability of the code. This article provides an example of a useful Web Service that provides real-time stock quotes through information scraped from public Web sites. |
|
| C# Calculator Using Windows Forms |
| C# Help |
| This is a basic calculator program using Windows Forms. You will be able to do mathematical operations like addition,subtraction etc. |
|
| C# From a Java Developer's Perspective |
| http://www.25hoursaday.com/ |
| What follows is an overview of similarities and differences between the language features and libraries of the C# and Java programming languages based on my experience using both languages. All code snippets below were tested on Microsoft's .NET Framework Beta 2 for C# snippets and Java™ 2, Standard Edition (J2SE™) version 1.4 Beta 2 for the Java snippets. |
|
| C# Intermediate Language Disassembler(ILDASM) |
| C# Help |
|
|
| 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. |
|
| 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 |
|
| Converting a DataReader to a DataTable |
| DotNetJunkies |
| In this article I'll demonstrate how to make a helper function that takes DataReader object as a parameter and returns a fully populated DataTable object with all the data from the DataReader in it. |
|
| Creating a Custom Web Control To Consume an XML Web Service |
| 15 Seconds |
| This article provides you with instructions on how to use a simple text editor and the DOS prompt to create a Web server control that gets its data from an eXtensible Markup Language (XML) Web service and simply displays the results on the page. This is very useful since the actual Web server control is a single package. All you need to do is provide people with your assemblies (.DLL files), and then they can simply drag and drop your Web server control onto their pages and the control will take care of the rest. This makes for a very modular approach at site design because it encapsulates many of the redundant tasks normally encountered when developing any type of Web application. |
|
| Creating a Details Popup Window Grid in a DataGrid |
| DotNetJunkies |
| In this article, Donny walks through an example illustrating how to make a HyperLinkColumn in a DataGrid spawn events that would pop up a new window with details of the row that the user clicked on. |
|