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#.
  • TCP Date Client/ServerJan 03, 2000. Free to use Tutorials on Communicating using TCP Sockets on Microsoft's .NET Platform using C#...
  • Asynchronous Request in .NET (C#)Jan 09, 2000. This code sample shows how to call a COM component in .NET framework using C#.
  • Generate Unique Number in C#Jan 09, 2000. Generate a unique number using random class and display it on the console.
  • FileDownloader : Download files using HTTPJan 10, 2000. This application contains a Form and a Class module . From Form we create a thread which execute the procedure to handle the NET download. This application can be enhance to do more down load as in Download manager by creating more threads.
  • Binary Search Using ArrayList Jan 10, 2000. The ArrayList class provide binary search algorithm and more...
  • Symmetric Encryptor Beta1Jan 11, 2000. Free to use Encrypt/Decrypt using 2 Symmetric Algorithms 'DES' and 'RC2' coded in C#.
  • Use C# to write comments and documentationJan 12, 2000. Comments and Documentation is one of the most hated tasks by programmers. By using C# programmers can can automatically builds the documentation and comments in the code. This documentation is a XML file which is more or less self explanatory.
  • A Graphics Component in C#Jan 15, 2000. In this example we have an XYGraph Component and a form that uses it.
  • Read a file using C#Jan 15, 2000. This program just demonstrate the use of FileStream & StreamReader.
  • Yahtzee Program using C#Jan 24, 2000. The Visual C# environment has given the programmer the ability to create applications in RAD mode without the steep learning curve for the C++ programmer. (I do miss templates though!). The above application, yahtzee, is based on a popular poker-like dice game.
  • Printing in C#Jan 26, 2000. An application show you all Printing, Print Preview functionality using C#.
  • Business Card Designer Using C#Jan 30, 2000. For those of you that don't want to go out and buy a fancy business card utility, this article may prove to be just the trick for designing easy colorful business cards.
  • Creating and Using Custom Attributes in C#Feb 27, 2000. Attributes are classes that allow you to add additional information to elements of your class structure.
  • Feature I LikeOct 04, 2000. This article explains how easy to create a component using C#.
  • How to read a value from Console?Oct 07, 2000. This article explains how to get the input from the console using ReadLine.
  • Get IP Address of a HostDec 03, 2000. The .Net DNS class can be used to get a host name or an IP of a given host name. To use DNS class in your project, you need to include System.Net
  • CSDownloadURL : Download Contents of a Web PageDec 03, 2000. CSDownloadURL is a class which has two functions - SetURL and DownloadURL. The set URL sets the current URL and GetDownload downloads the URL contents and returns its contents in a string.
  • Creating an Empty Project using VS.NETDec 04, 2000. This tutorial guides you towards your first C# Empty project step by step. After that I'll show you how to add a class to the project and few members to the class and call this class members from the main method.
  • 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.
  • Creating C# Class Library (DLL) Using Visual Studio .NETDec 09, 2000. This tutorial explains how to create a C# class library(dll) and call it from a C# console client application.
  • Tutorial: Creating C# Class Library (DLL) Using Visual Studio .NETDec 09, 2000. This step-by-step tutorial shows you how to create a class library (DLL) in Visual Studio .NET.
  • 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.
  • ColorDialog : How to use?Dec 21, 2000. Changing color of your Window and its controls is a piece of cake in C# using ColorDialog class.
  • ColorDialog in C#Dec 21, 2000. A ColorDialog control is used to select a color from available colors and also define custom colors. This article demonstrates how to use a ColorDialog in Windows Forms and C#.
  • 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.
  • Calling a COM Component From C# (Late Binding)Jan 08, 2001. This code sample shows how to call a COM component in .NET framework using C#.
  • 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.
  • Reading and Wtiting XML DocumentsJan 16, 2001. In this article you will see how to read and write XML documents using XML API available in .NET Framework class library.
  • Using ListViews in C#Jan 18, 2001. As a Visual C++ user for 10 years I can say that Microsoft deserves praise for their new ListView class. The MFC ListView class was, well, unpleasant to use. C# makes life a bit easier with a richer property and method set for ListViews. Also, you can now, set the ListView to select an entire row in report mode, something that in Visual C++ you had to write a whole custom ListView control to do. Note also the nice grid lines.
  • Get a database table propertiesJan 22, 2001. Get a table properties such as column names, types etc using DataColumn and DataTable.
  • 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.
  • Creating your own cool Volume Control using GDI+Jan 23, 2001. In this article, I'll give you an example of creating your own control.
  • 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.
  • Horoscope Web ServiceFeb 08, 2001. An article talks about web services and how to develop them using .NET.
  • Making UI more responsive using ThreadingFeb 12, 2001. This example shows how threads can help us to make User interface more responsive when we have some background jobs.
  • Chat Server and Client in C# Using Remoting TechnolgyFeb 16, 2001. The application is a simple Chat server and Client, which is conversion of Java RMI chat server and client. The Java client was a Applet and present application client in WinForm.
  • 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.
  • Chat Server and Client in C# Using Remoting TechnologyFeb 16, 2001. This application is a simple Chat server and Client, which is conversion of Java RMI chat server and client. The Java client was a Applet and present application client in Windows Forms.
  • 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
  • Interactive ButtonsFeb 26, 2001. By using control properties, you can give your program an interactive look as you see on web sites.
  • Verbatim String LiteralsMar 01, 2001. I used to wonder, if I could somehow represent "\" as "\" instead of the escape sequence for black slash ("\\") in string.
  • Using the ref ParameterMar 06, 2001. The ref keyword on a method parameter causes a method to refer to the same variable that was passed as an input parameter for the same method. If you do any changes to the variable, they will be reflected in the variable.
  • Splitter Control in C#Mar 06, 2001. This article demonstrates how to use Windows Forms Splitter control using C#.
  • Using the out ParameterMar 07, 2001. Did you ever need your method return more than one value? The out keyword can be used to do the same.
  • Testing .Net Components Using NUnitMar 08, 2001. Write unit tests before starting development". Writing test allows me to see immediate results of every code change.
  • Effective C#: Working with StringsMar 12, 2001. Using string might degrade the performance of your application. This article explains about what precautions you should take when you are going to use strings in your application.
  • Loading a Form IconMar 13, 2001. In .NET framework, the Icon class represents a Windows icon, which is a small bitmap image used to represent an object. The icon class is defined in System.Drawing namespace.
  • Using Transforms with GDI+ in C#Mar 15, 2001. Transforms are matrices that allow you to rotate and translate your graphics shapes. In this example we are going to rotate a very powerful element in C# called the GraphicsPath.
  • 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.
  • Complex Numbers ClassMar 20, 2001. This small example demonstrates using some of the interesting language elements of the C# language.
  • 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.
  • Simple Web File DownloadMar 23, 2001. This is a simple program that shows how to download files from the web and save them. The program uses the HttpWebRequest and HttpWebResponse classes to request and retrieve the requested file.
  • Simple SMTP MailerMar 26, 2001. This is a simple program which shows how to send mail via SMTP without using any framework support. While using the .NET SMTP classes may be a little easier, it is good to be able to go under the hood and get your hands dirty to understand what is going on at the socket level. For simple text messages, this implementation works fine.
  • 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.
  • 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.
  • Drag and Drop Using C#Mar 30, 2001. Drag and Drop in C# has been a question on the UseNet and many websites on C# so I have decided to tackle the problem here. This is an update of the directory tree component download on this web site.
  • Using Delegates to Choose Right FunctionApr 01, 2001. The need to call different class method based on some string passed to class is an old problem.
  • 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.
  • Love CalculatorApr 11, 2001. This is an application can be used to calculate degree of love.
  • Using Microsoft Message Queues to build Scalable SolutionsApr 12, 2001. This tutorial shows you how to create, send, and received messages using MSMQ from the .NET base class library (System.Messaging) and C#.
  • Creating a Login User ControlApr 16, 2001. In this article, we have started with an introduction to the UserControl and have learnt to use the ADO+ DataReader.As we seen User Controls simplifies several common Web application scenarios.User Controls allow developers to easily define custom controls using the same programming techniques for writing Web Forms.
  • 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.
  • Reading XML File using XmlDocumentApr 26, 2001. In this article Reading XML File using XmlDocument.
  • XML Strengths and Weaknesses with DOM, ASP, and XSLApr 30, 2001. In this article we're going to take a look at some of the terminology that comes with using XML and its related technologies, as well as how to create and transform XML documents with XSL using Microsoft's MSXML parser. To test the code samples shown in this article you should be running Windows NT/2000/XP with IIS installed. You should also have SQL server 2000 installed on the same machine.
  • Connect to an Oracle DatabaseMay 03, 2001. This sample code shows you how to connect to an Oracle database using C#.
  • Using .NET Framework Multithreading and GDI+ to Enrich the user experienceMay 04, 2001. This tutorial shows you how to create, send, and received messages using MSMQ from the .NET base class library (System.Messaging) and C#.
  • Auto CompilerMay 05, 2001. This is a utility to make it easier to compile from the command line. One of the problems with using the command line.
  • Line Numbering Utility in C# and JavaMay 08, 2001. This is the first of the series of programs I wish to write to help myself get a handle on C#.
  • Regular Expressions ExampleMay 14, 2001. The following example shows the use of Regular Expressions in C#.This program has basic validation scripts for validation easily useable in all programs.
  • Operator Overloading ExampleMay 14, 2001. The code uses the feature of Operator Overloading in C#. It shows how different operators are overloaded and can be used in a easy manner.
  • Using Reflection and With Class2000 to view the .NET System.Drawing library Part IMay 29, 2001. Using the power of .NET and the power of COM InterOperability through WithClass 2000, you can view the System.Drawing library in a rough UML diagram.
  • Flames for FunMay 31, 2001. This is my second application using C#. In this Application I used GDI+.
  • The out and ref Paramerter in C#Jun 12, 2001. The out and the ref parameters are used to return values in the same variables, that you pass an an argument of a method. These both parameters are very useful when your method needs to return more than one values.
  • 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.
  • Using ref and out ParameterJun 20, 2001. When we pass a parameter as ref to a method, the method refers to the same variable and changes made will affect the actual variable.
  • 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.
  • TCP/IPLib SampleJun 22, 2001. This compopnent contains both a TCP/IP server and client. TcpIpClient inherits from System.Net.Sockets.TCPClient and is very straight forward. After construction, specifying the host and port, a network connection is established by calling Connect(). Internally, upon a successful connection, the client receives a TcpIpPacket, which contains a unique cookie that is used in any subsequent transactions.
  • Time TickerJun 26, 2001. Graphics Class encapsulates a GDI+ drawing surface. The FromHWND method is used to create a new instance of the Graphics class from a window handle. Clear method fills the entire drawing surface with the specified RGB color by using Color class. DrawString method draws a string using Font and SolidBrush classes.
  • Creating Exe on the FlyJun 29, 2001. You can create an Exe on the fly using .NET classes.
  • FTP Explorer in C# Version 2.0Jul 10, 2001. FTP Explorer is a GUI - FTP client application developed in C# using Visual Studio.NET Beta 1.
  • Sending Mail in ASP.NET using C#Jul 13, 2001. This article contains the listing for a simple web form to send email.
  • Mobile with Access DatabaseJul 14, 2001. Till now we had done the Programming using SQL Server and XML as Database.
  • Using/Debug Option During CompilationJul 15, 2001. This source code below is an an example of how to use /debug option during compilation.
  • Tic Tac ToeJul 16, 2001. TicTacToe is a demonstration of the AI game playing minimax algorithm. The game plays out every possible combination of moves from each position and consequently is unbeatable. This example uses .NET Beta 2 and was written using a text editor.
  • Developing Windows Applications Jul 23, 2001. This tutorial explains you step by step how to create your Windows Applications using Visual C#.
  • Difference Using Directive and StatementJul 26, 2001. This article explains difference between using directive and using statement with sample example.
  • A Better Notepad using C#Jul 30, 2001. We can use windows registry for saving default setting of notepad. We can used notepad in C# easily.
  • 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.
  • Providing Style on Mobile PagesAug 03, 2001. This articles explains how to provides style in the mobile pages using Mobile Internet Toolkit.
  • Printing out your W2 Form using C# and .NETAug 07, 2001. This article covers a fairly practical aspect of using a computer - dealing with forms. The concepts in this article can be used to create any Form Application so that you can design forms that you can Fill Out, Open, Save, Print and Print Preview.

About SMS-using-GSM

NA
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