C# Corner

Resources  
  • Read Microsoft Access Database in C#Jan 01, 2000. How to connect and read data from a Microsoft Access (.mdb) database using ADO.NET and C#.
  • Binary Search Using ArrayList Jan 10, 2000. The ArrayList class provide binary search algorithm and more...
  • Meal Scheduler in C#May 04, 2000. In this application once you enter your meal timings. A message box will appear on the screen while you are working and remember you about your meal with light sound.
  • Meal Scheduler in C#May 04, 2000. This service reminds you when it time to eat your lunch, BF or dinner.
  • Write data to an access database using SQL Query and ADO.NETDec 06, 2000. See how to use SQL Statements to write data to an access database.
  • FileStream : Read or Write Data StreamsDec 13, 2000. FileStream class can be used to read/write data to a file with the help of StreamReader and StreamWriter classes.
  • Add, Edit, Delete, View data using ADO+Jan 04, 2001. Free to use Tutorials on using ADO+ on Microsoft's .NET Platform in C# as programming language.
  • The Convert Class : Conversion Made Easy in .NETJan 08, 2001. The Convert class takes care of most of the data type conversions in .NET programming.
  • Using DataList Control in Web FormsJan 12, 2001. This example uses a DataList which contains LinkButton controls, which allows a user to navigate through a list of data.
  • Display data in a Data GridJan 22, 2001. The sample example show you how to use Data Grid to display data in a grid format.
  • A Database Access Class with Overloaded SELECT StatementsJan 24, 2001. A useful database access class with overloaded SELECT and other statements.
  • Database Explorer-IVJan 25, 2001. This is version IV of the Database Explorer, which include the support for Access Database with SQL Server.
  • How to read Windows Registry?Jan 26, 2001. In .NET, the Registry and RegistryKey classes can be used to read and write registry ...
  • SQL Programming using .NETFeb 01, 2001. This program shows several data objects, some draw backs of each and some interesting things.
  • ADODataReader- Writing DataSets to XMLFeb 04, 2001. This file uses ADODataReader and other objects to write DataSets to XML and filling data from the XML files.
  • Web ProxyServer in C# and VBFeb 06, 2001. Web Proxy Server is HTTP proxy server written in C#.It is Multithreaded so many clients can access the web through this WebProxy Server.
  • Ping Utility in C#Feb 16, 2001. Ping is a very useful utility used to determine the speed of a Network Connection. It establishes a socket connection with the given hostname and sends a Data Packet using ICMP Protocol.
  • Schedule Program Using C#Feb 22, 2001. The Scheduling program consists of three main classes. The Form, the DatabaseController used to read and write scheduled events into the database and RowData which corresponds to data extracted from a row in the database.
  • Copying and Pasting on Clipboard using C#Feb 23, 2001. If you use CTRL+C, some data or files are copied to a system clipboard and stored in system memory and when you use CTRL+V, the data is copied back to wherever you paste it. The Clipboard class provides functionality to place and retrieve data from the system clipboard. Usually
  • Write Relational Data to an XML FileMar 15, 2001. This article shows you how you can write data from a database to an XML file using DataSet.
  • View Relational Data in a DataGridMar 15, 2001. This article explains you how easy is reading a database and displaying in a grid using DataSet.
  • Mail Merge ProgramMar 16, 2001. This is a simple mail merge program. This program reads from 3 different text files (by default) and merge all the info to produce mail documents.
  • Programming in ADO.NETMar 19, 2001. A simple example shows you how to read a database table in a dataset and display in a list view control.
  • ADO.NET DataSet ProgrammingMar 20, 2001. A sample project shows you how to add, edit, delete, navigate, save records in a database using DataSet.
  • Mail Merge Program - Part 2Mar 21, 2001. This is a simple mail merge program (Part 2). This program reads from the access database (by default) from a specified table.
  • ADO Vs ADO.NET Web ServiceMar 22, 2001. In this example I'd like to demonstrate one of the most interesting features of the .NET runtime - the concept of Webservices.
  • Accessing .NET Components from COM Clients and COM components from .NET ClientsMar 26, 2001. In this article I am going to explain how to access a .NET component from a COM client and accessing COM from .NET clients.
  • Write XML in C#Mar 27, 2001. In this article, I will show you how to use XmlTextWriter class to create an XML document and write data to the document.
  • Reading XML FilesMar 28, 2001. In this article, I will show you how to use the XmlTextReader class to read an XML document and write data to the console.
  • Inserting Data to an XML DocumentMar 28, 2001. The XmlNode and the XmlDocument classes can be used to insert XML data to an existing document or to a new document.
  • Developing Web Applications in VS.NET Mar 29, 2001. This tutorial describes about Step-by-step tutorial guides you towards developing your first web application.
  • POP3 AccessMar 29, 2001. This is a follow up to my SMTP example that shows how to access your POP3 server.
  • Text to HTML ParserApr 05, 2001. If you have been into developing Web Applications then you might have at many times experienced that when you display multiple lines of data from a database you loose the spacing or formatting between multiple lines of data.
  • Writing Secure Code using C#Apr 06, 2001. Code access security is a mechanism that grants/denies access to resources within a method call. For example, code written by a person may be allowed to write to the disk while code from another one may be forbidden from accessing the disk. This control can be enforced even if the code written by both of them is used within a single application
  • A Complete Virtual Shop Web Service in C#Apr 10, 2001. This is a complete web service example using C#. In this web service, I have build a complete virtual shop to buy and review products.
  • Connecting to a Text file using ADO.NET Apr 20, 2001. A simple step by step tutorial shows you how to connect to a text file using ADO.NET and C#..
  • Understanding How Assert Effects SecurityApr 25, 2001. Assert is a security action that is evaluated at run time. Code Access Permission classes and Permission Sets support a method called Assert. Using the Assert method to control access to resources or actions will allow your code to perform actions that it normally has permission to perform and will allow other callers up stream in the call stack to have access that they would not normally have.
  • Viewing Assembly PermissionsMay 02, 2001. In this article I will show you how you can view the Code Groups that an assembly belongs to and what permissions belong to the assembly. I will demonstrate the Caspol utility supplied with the .NET SDK.
  • Connect to an Oracle DatabaseMay 03, 2001. This sample code shows you how to connect to an Oracle database using C#.
  • Working with Relational Data in ADO.NETMay 03, 2001. Working with hierarchal data was not that easy with the previous version of ADO.
  • Transaction Web SiteMay 16, 2001. When I started working with this technology I faced a problem dealing with session as in any transaction or Database oriented portal this is a must requirement to deal with.
  • Mobile Fun with XMLMay 24, 2001. Here is something really wonderful in Mobile field .This example is for authenticating the Mobile Users against his settings stored in XML file. This is really good where all the ease of XML is applied. Function open the XML file and particular node data validate it against user inputs and do the specified.
  • Web Scanner Part-1Jun 01, 2001. My favourite technology web site is updated throughout the day. I thought it would be nice to have a program that checked every 30 minutes for updates and told me what stories were there.
  • Data Structure Sample ExampleJun 04, 2001. Source code for Data Structure implemetation of Stack, Queue, Doubly linked list and more..
  • Word Jumble In MobileJun 13, 2001. Here is an application where u can Play Word Jumble in Mobile.
  • Working With OleDb Data Adapters Jun 19, 2001. This step by step tutorial guides you to create your database applications using OleDb Data Adapters in VS.NET.
  • ADO.NET: What's changed in .NET Beta 2?Jun 20, 2001. ADO.NET API is one of the changed APIs. In this article, I've covered some of ADO.NET changes in Beta 2.
  • Working with OleDb Data AdaptersJun 20, 2001. This step by step article guides you to create your database applications using OleDb Data Adapters in VS.NET.
  • Displaying data in a ListBox Web ControlJul 06, 2001. Sample example for how to display data in a ListBox Web control.
  • .NET Brings The Fun Back to ProgrammingJul 11, 2001. Today, we are all comfortable sitting in front of our high powered computers running graphical user interfaces and compiling code in sophisticated development environments.
  • XML as Middle TierJul 12, 2001. There is always been a need that there will be an intelligent middle Layer between Database Server and the UI Code. There are many ways but one fantastic approach came in picture with the XML.
  • Mobile with Access DatabaseJul 14, 2001. Till now we had done the Programming using SQL Server and XML as Database.
  • Using WebRequest and WebResponse classesJul 31, 2001. Downloading and uploading data from the web has been a very common programming practice these days.
  • Compute Feature of DataTableAug 01, 2001. The following code is for implementing least known feature of DataTable Compute() method.
  • Working with Data Bound ControlsAug 07, 2001. Step by step tutorials teaches you how to use data-bound controls DataGrid, ListBox, and ComboBox controls .
  • CDataService: A Generic Database Access ClassAug 09, 2001. Using a generic database access component in data-aware applications can simply development and separate data tier from business tier.
  • Populating and Editing a DataGrid in ASP.NETAug 17, 2001. I will show here , how to develop DataGrid, which is able to retrieve data from joined tables and editable.
  • Basic Database operations using ADO.NETAug 21, 2001. I found very interesting database features incorporated into the .NET as ADO.NET.
  • Active Directory Sample IAug 23, 2001. This sample shows how to access Active Directory information in a Windows 2000 domain.
  • Web Services between .NET, Java and MS SOAP Toolkit: Part IAug 24, 2001. WinGhost 2.0 application allows you to show and hide applications running on your machine. I find this program useful at my work as I do lot of programming at any given time I can have a bunch windows open. I use it normally to hide just my windows I don't access that often.
  • File Info on Mobile Aug 30, 2001. Here is an example of Accessing the Information in a File to be given to Mobile User.
  • Simple Game Developed in C#Sep 03, 2001. This article contains the code for a simple game developed using csharp. This game is all about arranging the shuffled numbers in ascending order.
  • Horoscope Unit of Mobile SiteSep 06, 2001. Horoscope Service for Your Mobile.
  • How to By Pass ProxySep 10, 2001. There are many like me who are behind the Proxy and many time you are not able to use the recent Data in your Program from Web as your are not able to retrieve that data because of Proxy coming in between.
  • Accessing Oracle DatabaseSep 21, 2001. This source code shows you how to connect to an oracle database and do operations such as select, insert, update and delete.
  • Mobile Page View UnitSep 24, 2001. This addition to the site retrieves the unit and shows the content of that page.
  • Oracle Database ConnectivitySep 26, 2001. This is a GUI based data entry application which shows how to add, modify and delete records using Oracle Database.
  • Encapsulation in C#Oct 12, 2001. In Object Oriented programming Encapsulation is the first pace. Encapsulation is the procedure of covering up of data and functions into a single unit (called class).
  • Understanding Properties in C#Oct 15, 2001. In C#, properties are nothing but natural extension of data fields. They are usually known as 'smart fields' in C# community.
  • TextReader and TextWriter in C#Oct 16, 2001. This article covers the information of how to read or write (Unicode) character based data through TextReader and TextWriter.
  • Oracle Database ViewerOct 17, 2001. This is a GUI based application which connects to an Oracle database depending upon the DSN, username and password that you provide. It then shows the list of tables on the left hand side in the form of a treeview.
  • Understanding Structures in C#Oct 23, 2001. A structure in C# is simply a composite data type consisting of a number elements of other types.
  • Inheritance and PolymorphismOct 29, 2001. By using the concept of inheritance, it is possible to create a new class from an existing one and add new features to it.
  • Implementing Stacks in C#Nov 06, 2001. With the help of C# we can also implement ADT (Abstract Data Types) with little effort. An example of ADT is a simple stack of integers.
  • Network Programming in C# - Part 2Nov 12, 2001. This is the second part of the series of articles about the network programming with C#.
  • Network Programming in C# - Part 1Nov 12, 2001. The .NET framework provides two namespaces, System.Net and System.Net.Sockets for network programming
  • Creating a Custom Data AdapterDec 03, 2001. A good programmer needs to know how to work with ADO.NET DataAdapters at the code level.
  • Simple Sniffer in C#Dec 03, 2001. This program shows you how to retrieve data from a packet using Sockets.
  • Type Conversions in c#Dec 04, 2001. Type conversion is a process of converting one type into another. Using C# type conversion techniques, not only you can convert data types, you can also convert object types.
  • Using ADO RecordSet in ADO.NETDec 10, 2001. Using ADO recordset in managed code using ADO.NET data providers is pretty simple. Visual studio .NET provides you to add reference to the COM libraries. In this article I'll show you how to access data using ADO recordset and fill a ADO.NET data provider from the recordset data.
  • Data Transfer from SQL Server to ExcelDec 26, 2001. In this application, we will see how we can transfer data from Microsoft SQL Server into Excel spreadsheet.
  • A Quiz Application using Windows FormDec 27, 2001. This code shows you how to validate data in windows forms, add or remove panel control, and write a form based quiz application.
  • Working With Data TypesJan 02, 2002. Explains data types in C# and how to work with them.
  • C# Discussion Forum from Harrison LogicJan 29, 2002. Threaded Discussion Forum that utilizes the .NET framework, with C# as the ASP.NET server side language. Uses MS Access Database for data.
  • Data Binding in DataGrid Control - Part 1Feb 05, 2002. When it comes to data-bound controls and database programming, DataGrid control is the most versatile , powerful and flexible control available in Visual Studio .NET.
  • Data Access through Web Services, Stored Procedures and SQL QueriesFeb 12, 2002. Web Services has been the most revolutionary aspect of the .NET framework developed by Microsoft. This article presents the three different modes through which data can be accessed viz. through Web services, stored procedures and SQL query using the power of ADO.NET and XML.
  • XML Web Services Type MarshalingFeb 20, 2002. This article illustrates that various data types can be passed to and returned from Web Service methods.
  • xBase Engine for C# and VB.NETFeb 25, 2002. This library is written to handle DBF files from C# or VB.NET applications.
  • SOAP Message with Binary AttachmentsFeb 28, 2002. Recently Microsoft announced new format called DIME: Sending Binary Data with Your SOAP Messages.
  • Sorting Object Using IComparer and IComparable Interfaces Mar 01, 2002. The System.Collections namespace contains interfaces and classes that define various...
  • Authenticate Web Service Client - An ASP.NET Web ApplicationMar 04, 2002. This client application shows you how to access Authenticate Web service from an ASP.NET Web application.
  • Authenticate Web Service Client - Windows ApplicationMar 04, 2002. This client application shows you how to access Authenticate Web service from a Windows application.
  • Authenticate Web ServiceMar 04, 2002. In this example we will build a web service that authenticates userid and password from an a very simple MS Access database. This web service exposes only one method to the client.
  • Create a SQL Server Database dynamically in C#Mar 05, 2002. In this article, I’ll show you how to create a new SQL Server database and its objects such as table, stored procedures, views and add and view data. I’ll also show you how to change database table schema programmatically. You’ll see how SQL statement ALTER TABLE is useful when you need to change a database table schema programmatically.
  • Reflecting Data to .NET Classes: Part I - From HTML FormsMar 06, 2002. Reflection allows us to examine internal details of assemblies and classes at runtime (programmatically).
  • Publication Application Developed in C#Mar 07, 2002. This program retrieves publishers, title and author information from the SQL Server "pubs" Database.
  • Reflecting Data to .NET Classes: Part IIMar 08, 2002. This article continue the series of "Reflecting Data to .NET Classes". In the first article, we discussed the concept “Reflecting Data”. The techniques behind it were also explained and demonstrated. The source of data demonstrated in this article will be XML documents.
  • Adding Controls to a DataGrid at RuntimeMar 19, 2002. This article below sheds some light in above area i.e. user can add any control based on his/her choice and can use it to edit the details in the data grid.
  • Xite EncryptionMar 25, 2002. This class contains methods/functions for easily decrypting and encrypting data.
  • .NET Remoting: The Interface ApproachMar 26, 2002. .NET Remoting provides a powerful and high performance way of working with remote objects. Architecturally, .NET Remote objects are a perfect fit for accessing resources across the network without the overhead posed by SOAP based Web services. .NET Remoting is easier to use than Java's RMI, but definitely more difficult than creating a WebService. In this article, we will create a remote object, and access this object using the Interface.

About Data-Access-Layer

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
VSLive! Anaheim