C# Corner

Resources  
  • Printing in C#Jan 26, 2000. This sample shows you how to print a text box contents in C# and .NET.
  • 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.
  • 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.
  • Graphics Animation SampleMay 16, 2000. After finishing a text program (lottery) its time for some fun. Everytime a have to work with a new language.I write a small program to bounce some balls in a box.
  • Boxing and UnboxingFeb 21, 2001. Boxing and Unboxing are fairly new terms introduced in C#. Author explains some concept of them.
  • Adding Items to a ListBoxMar 06, 2001. Sample code shows you how to add items to a list box.
  • Quote ResponderMay 09, 2001. The program will periodically check your mail for incoming email requests for a stock quote.
  • Word Pad in C#May 11, 2001. This application explores the Rich Text control in C#,its properties and methods. Explains the usage of common dialog boxes File open, File save and Font dialog box.
  • 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.
  • Message Box BuilderAug 14, 2001. This program will help you using MessageBox Class. Program generates code from what you choose.
  • Visual MatrixAug 17, 2001. User can easily add ,sub any limit of matrices. Edit boxes are created dynamically.
  • Boxing and Unboxing in C#Aug 20, 2001. Boxing and unboxing is a essential concept in C#'s type system. With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object.
  • Editor in C#Sep 03, 2001. C# Editor shows you how to use toolbar, status bar, dialog boxes, menus and other Windows forms controls.
  • Scrollable Picture BoxSep 13, 2001. This project contains a UserControl that allows you to place an Image inside and scroll around the Image.
  • Is there any need to Boxing and UnboxingSep 21, 2001. With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object. Boxing and unboxing enables a unified view of the type system wherein a value of any type can ultimately be treated as an object.
  • Working with Windows Forms ControlsOct 12, 2001. This program shows you how to use Windows Forms controls such as Check Boxes, Radio Buttons, and Combo Box.
  • Checked ListBox Control In C#Oct 18, 2001. The following source code will provide the use of CheckedListBox Control In C#.
  • FlashCards Language Program : How to read and save Images in a Sql Server Database using ADO.NETNov 09, 2001. I thought it would be fun to write a simple program that displayed flashcards from a database and at the same time, show you how to read and write images to the database. This program is a simple flashcard program that talks to a single table in a Sql Server Database.
  • Adding Controls to Windows Forms at RuntimeNov 13, 2001. In this example I'll show how one can create and add controls to their Windows Forms at runtime.
  • Email Notifier with Microsoft Agent--- GENIENov 16, 2001. Email notifier with Microsoft Agent is a TCP/IP application that notifies the user if there is email in the user's email server.
  • Debugging Techniques in C#Dec 04, 2001. Debugging GUI applications for me mostly consists of printing out debug statements in the form of a dialog box with some text.
  • Graphics Programming in C#Dec 26, 2001. The new improved version of GDI is called GDI+. The .NET framework provides a rich set of classes, methods and events for developing applications with graphical capabilities.
  • Developing a Record Navigation Form with Unbound ControlsDec 26, 2001. Developing a record navigation form with unbound controls. The form enables you to navigate through the records one at a time. In this application we have used a combo box, two text boxes and various command buttons.
  • Multilingual Support in C#Jan 03, 2002. Many major languages of the world like Arabic, Hindi and Chinese are not written in Roman Script, so special features are provided for dealing with these languages. This article will tell how to implement multilingual application using C#.
  • Playing with DataGrid ControlJan 08, 2002. The article gives a user the overview to show the importance and versatility of the DATAGRID control.
  • Owner Draw ListBox Control in Windows Forms and C#Feb 08, 2002. In this article, we will see how to write owner drawn ListBox control using C# and Windows Forms.
  • Boxing and Performance of CollectionsMar 14, 2002. In this article, I will compare some performance issues of values and references types during boxing and unboxing operations.
  • Low Cost Credit Card VerificationMar 15, 2002. The last digit of a credit card is a check digit that is used to detect keystroke errors when a check card is entered into a computer.
  • XML Schema ValidatorApr 16, 2002. The XML Schema Validator checks if a given XML document is well formed and has a valid schema model.
  • Check Your Mobile Device CapabilitiesMay 16, 2002. This sample is a utility to determine the capabilities of a Mobile Device. The MobileCapabilities class available in the Mobile Internet Toolkit provides a list of useful information on the client device.
  • Spell Check Web ServiceMay 31, 2002. In this example we will create a Web Service which provides spell check functionality.
  • Utilizing Assembly Information for Your Automated Splash DialogJun 05, 2002. There are cases when you need to reuse the same splash screen or about box in many applications.
  • SpellCheck.NET Parser in C#Jun 25, 2002. SpellCheck.net is free online spell checking site. Whenever I need to check my spelling I visit this site , so I decided to write a parser for this site.
  • Windows Forms Printer Selection ListJul 30, 2002. In this example we will create a sample windows form containing a combo box which will list the printers installed on the machine on which the program runs. The default printer for the machine is set as the default selection in the combo box.
  • Using Active DirectoryJul 31, 2002. This sample code can sense current context in Active Directory, checks for the existence of attributes, provides a list of all the attributes in Active Directory and can add a user to Active Directory.
  • Understanding Generic Type in C#Aug 15, 2002. Before we start tampering around the code, lets understand why we need a generic type?
  • Passing Data Between a Windows Form and Dialog BoxesAug 29, 2002. In this example, we will create a windows form application to demonstrate the transfer of data between a windows form and a dialog box displayed from the windows form.
  • TWINXBASE ServiceSep 09, 2002. This service scans in a directory by using FileWatcher component and when a file arrives, then the service will check the extension of the file, if the file has the extension .DBX then it will read the contents of the file and communicate with the database (C:\FILESERVICE\DB\MyDB.mdb) and insert / update / delete the records in the database -table.
  • Single Instance Control ComponentSep 23, 2002. This article is on a single Instance control component which checks whether any instance of your application is running on the System.
  • Accessing Text Files using ODBC Data ProviderNov 12, 2002. In this article, I will show you how to access Access database files using ODBC data provider.
  • ImageCanvas Web User Control for ASP.NETDec 31, 2002. Most of you must have seen picture box control of windows forms. We can set image of picture box control and control will render that image in form.
  • Mail Checker 1.0Jan 16, 2003. In this article, author shows how to create a program to check your IMAP mail.
  • Hash Password GeneratorFeb 10, 2003. This visual tool generates the hashed password using either SHA1 or MD5 hashing algorithm depending on the choice you make. It will display the hashed password in the read only text box, it can also copy the hashed password to clipboard on your choice for easy paste operation.
  • SQL Demo Login in C#Feb 23, 2003. This sample code contains a reusable control that allows you to build a dialog box that queries for SQL-Server connection parameters.
  • Regular Expression ValidatorMar 14, 2003. This tool is useful when you are creating Regular Expression. This tool will help you in checking syntax of the regular expression typed in.
  • Hotmail using C# - An HTTPMail Client under .NETMar 21, 2003. The great thing about the POP mail protocol is that it is a well-documented open standard and writing a mail client to collect mail from a POP box a relatively painless process.
  • How to Detect a Dialup Connection?May 15, 2003. In the article we'll see how to check connectivity with internet using VB.NET.
  • DataGrid and CheckBox ControlsJun 17, 2003. How to have checkbox that is checked or unchecked depending on a field value stored in the Database, and then allow the user to click on it and record the new checkbox state in the database.
  • Boxing and Unboxing of Value Types : What You Need to Know?Jul 21, 2003. Programmers new to C# can encounter less than ideal performance and even unexpected results due to boxing and unboxing of value types.
  • Check Internet ConnectionAug 25, 2003. How to check if your computer is connected to the internet with C#. It's much more easier that other tutorials I've seen in other sites.
  • Installing a Service ProgrammaticallySep 04, 2003. With the arrival of .NET, creation of a windows service has become a piece of cake by just selecting Windows Service as project type in the New Project Dialog Box.
  • Generating Combo Box in DataGrid ColumnsJan 09, 2004. DataGrid programming in .NET is real fun. And that too if you’re trying to get it programmed in a Windows Forms world its double the work. You got to write a whole lot of code for a simple extensibility of the existing features of datagrid. One good example is having a combobox in one of the columns of the datagrid.
  • Masked TextBox ControlJan 26, 2004. This Masked Edit TextBox intelligent user control enhances the function of TextBox control, which can mask the Date, IP Address, SSN, Phone number, digit, decimal and check the validation, automatically set delimit location.
  • Generics in C#Mar 08, 2004. Parametric Polymorphism is a well-established programming language feature. Generics offers this feature to C#. The best way to understand generics is to study some C# code that would benefit from generics.
  • Image Processing in C#Apr 13, 2004. This application explains basic concepts of image processing including brightening, converting to gray and adding notes to an image using C# and GDI+.
  • ClickMania GameDec 21, 2004. This is an old game, first implemented in 1996 or so... It has a great addictive power. You will quickly find out the rules. I used the winmm.dll library for playing sounds, the picturebox.Paint event to draw bitmaps in a Picturebox and a recursive function to check the balls next to each other for the colors.
  • Using ListBox in C#Dec 28, 2004. The source code demonstrates how to use a listbox control in C# - adding, deleting and altering strings.
  • Sokoban Pro Game in C#Jan 21, 2005. Sokoban Pro is a modern version of the classic Sokoban puzzle game. The game rules are extremely simple, yet the game is very challenging and addictive. The rule of the game is to move all the boxes in the right places. You can only push a box, not pull.
  • SmartPhone Album Program with C#Mar 16, 2005. This article shows how to represent image’s thumbnail in ListView control, how to work with multi-forms and pass information with each other in a smart phone application, how to do simple image-processing, how to scroll picture in a picturebox and use the smart phone’s dpad keys.
  • Localizable Message Box ControlApr 02, 2005. This is localizable MessageBox control. Buttons on standard windows message box controls are always Yes, No, Abort, Cancel, OK, Ignore, Retry. I needed different text on my message boxes so I decided to develop custom message box control.
  • What the heck is Generics?May 20, 2005. This article provides the use of Generics and scenarios in which it will be useful.
  • Checked List Box Sample in C#May 31, 2005. This example shows how to use CheckedListBox control in C# and Windows Forms.
  • Adding & Retrieving items from listbox and check list boxJun 02, 2005. The attached source code shows how to add and retrieve items of Windows Forms ListBox and CheckListBox controls.
  • Accessing Registry using ASP.NETJul 08, 2005. In this article, we will see how to access the registry using ASP.NET. We will see one simple example to check where Visual Studio installed on our machine.
  • Adding a ComboBox Column Style to a DataGrid in Windows Forms Jul 30, 2005. The sample introduces how to add the Combobox DataGrid Column Style into a DataGrid on your .NET Windows form.
  • How to Select all Checkbox when Header Checkbox is SelectedDec 30, 2005. Here I have provided the code using javascript to check/uncheck all checkboxes when header checkbox is checked. I recommend JAVA Script because its executed at client side and saves request Round-Trip time.
  • A Loader and Game Pad for Playing SudokuJan 13, 2006. This C# application will allow you to load existing Sudoku games, manually create your own games, save, print, and check Sudoku puzzles, and more. The article also describes how to use the XmlDocument class to persist Sudoku templates and games in progress.
  • Using Management Objects to check Online PrintersJan 20, 2006. This article shows to check online printers using management objects.
  • The GrouperJan 25, 2006. The Grouper is a special groupbox control that is rounded and fully customizable. The control can paint borders, drop shadows, gradient and solid backgrounds, custom text and custom icons.
  • C# 2.0 Nullable TypesFeb 14, 2006. The designers of C#2 have added the concept of nullable types to deal with a weakness of value types versus reference types. It is then essential to have properly assimilated these two notions.
  • The C# Value Type and BoxingFeb 17, 2006. Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the performance of our applications. One of the things we need to be aware of is how the Common Language Runtime (CLR) deals with references to value types.
  • A Practical Approach to .NET Testing using Visual Studio 2005 Test Team SuiteMar 22, 2006. This article will cover practical approach to White box Testing Techniques using Microsoft Visual Studio 2005 Test Team Suite. It covers concepts with a simple, easy to follow example.
  • Generics in C# 2.0Apr 17, 2006. This articles comes in series with my last article - <a href= http://www.c-sharpcorner.com/UploadFile/Saurabh.Mishra/GenericsInC2PartI04122006074306AM/GenericsInC2PartI.aspx class=normal>Limitations in ArrayLists</a>. In this article, I specifically talk about Generics and how they improve upon arraylists and how they solve the issues posed by ArrayLists.
  • Fuligginedialogs in C#May 09, 2006. In this article the author explained how we can expand feature of the framework for an immediate use of MessageBox.Show(); function.
  • Six Java features C# developers will kill for...Jul 06, 2006. Not everything on the .NET framework is perfect, and Microsoft still has more improvements to implement. This time we will look at six features available to Java developers but unfortunally absent from C#.
  • Tip: How to Suppress if Duplicate a Memo Field in Crystal Reports?Jul 21, 2006. If you create a report with memo field in Visual Studio 2003 and check Suppress if Dupliate checkbox, you will notice the suppress on memo field does not work. This tip shows how to do it.
  • Handling new line and carriage return with TextboxAug 08, 2006. This article shows how to handle newline and carriage return with Textbox while working with Databases.
  • Mortgage Calculator in C# and .NETSep 05, 2006. This article shows you how to create a mortgage calculator in .NET for computing a home loan. It also illustrates how to override a TextBox in order to create your own masked text box that includes thousand separators.
  • ASP.NET MessageBoxSep 11, 2006. The attached source code contains a class WebMsgBox, which is a message box written in C# for ASP.NET applications.
  • Building control derived from Windows Forms control in Visual Studio 2005: Part ISep 13, 2006. Reusability and component oriented development is one of the features of .NET development. This approach may be applied to any project. In this article I share how you can build your own Windows control derived from an Windows Forms control in Visual Studio 2005. The examples are written using C#.
  • System Date Time Check FormatOct 18, 2006. This program executes the system date time format. Is it in dd/mmm/yyyy or other format and the which cultuerInfo is the system running on.
  • C# Friendly Assemblies: Looking at Building Truly Reusable ComponentsNov 01, 2006. This article discusses how we can hide our base class implementation and require referencing of our objects through their interfaces. This keeps our own projects loosely coupled and also allows us to publish our assemblies as truly reusable components because they are 100% “Black box”.
  • Restricting User InputDec 28, 2006. This article describes an approach to restricting the user’s input to letters only, numbers only, letters or numbers only, and special characters only. The approach is simple to implement and can be used whenever it is necessary to restrict a user’s response to instances where it is necessary to capture information from the user into a form’s text box control.
  • Extend the Textbox Control to Validate Against Regular ExpressionsJan 05, 2007. This article describes an approach to validating text box entries against a regular expression.
  • Stock Tracker Custom Control in C# .NETMar 07, 2007. This article describes the construction of a custom control used to check stock prices as made available through a public web service.
  • Display Currency Values with a Custom ControlMar 12, 2007. This article shall describe the construction of a custom control used to display currency values. The control is intended for use in Win Forms application development.
  • Bulk Uploader in ASP.NET 2.0Mar 28, 2007. The FileUpLoad control enables you to upload file to the server. It displays a text box control and a browse button that allow users to select a file to upload to the server.
  • Enforce Text Case with Custom ControlsApr 02, 2007. This article shall describe the construction of three custom controls; each is used to format its text content to be either all upper case, all lower case, title case, or normal (as typed) case regardless of the format of the input.
  • Build a Simple Watermarking Utility in C#May 07, 2007. This article shall describe an approach to building a simple watermarking utility that may be used to add watermarks to any supported image file format. The resulting application shall permit the user to open any supported image file format into a scrollable picture box.
  • How do I Check for Duplicate Items in a ListView?May 09, 2007. This "How To" Shows you how to Check for Duplicate Items in a ListView
  • Spell check enabled RichTextBox custom controlMay 16, 2007. This article describes a quick and simple approach to applying a spell check function to the rich text box control and bundling both features into a single custom control. Of course there is nothing novel or particularly interesting about performing spell checking upon a selection of text using the Word.DLL.
  • How to Submit Form When User Press Enter Key on DropDownList BoxMay 25, 2007. This small codes written in JavaScript will help you to submit form when user press enter key on dropdownlist.
  • Boxing and UnboxingJun 12, 2007. Details about the value type, reference type and details about the boxing and unboxing in C#.
  • A Scrollable MessageBox in C#Jul 30, 2007. This article demonstrates how to create a message box that contains messages that scroll. This message box also allows you to read the message in from a file as well as change fonts and color properties.
  • WPF ListBoxAug 31, 2007. This tutorial shows you how to work with the ListBox control available in WPF.
  • WPF Database Communication Adding new Record to the DatabaseSep 06, 2007. WPF Database communication Adding new record to the database (XAML-MS-Access), I have a XAML form with FirstName, LastName, Email & Contact fields in it on click of submit button it will first check if the same email address is exists in the table else it will add new record I have made use of OleDbTransaction to perform add functionality.
  • Selecting multiple Checkboxes inside multiple GridViewsOct 04, 2007. Ths article describes how to check/ uncheck multiple Checkboxes inside two or more GridViews on same page with Masterpage and usercontrols.
  • Host a combo box column within a DataGridView control Feb 26, 2008. In this article I willl show how to host a data grid view combo box column within a data grid view control.
  • Selecting Checkboxes inside the GridView ControlFeb 27, 2008. This article explains about how to select checkboxes inside the GridView control using javascript.
  • Windows FormsApr 19, 2008. This article shows you a small game by using simple text box ,buttons and dropdown list.

About check-box

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!
techbash 2016