C# Corner

Resources  
  • 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#.
  • 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.
  • A Database Access Class with Overloaded SELECT StatementsJan 24, 2001. A useful database access class with overloaded SELECT and other statements.
  • Directory Picker in C#Feb 07, 2001. A directory tree control let you select files or directories from any file structure on your computer system.
  • ADO.NET DataSet ProgrammingMar 20, 2001. A sample project shows you how to add, edit, delete, navigate, save records in a database using DataSet.
  • Basic Database Operations in ADO.NETAug 08, 2001. This Article will show the basic database transactions select, insert update and delete.
  • 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.
  • 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.
  • 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.
  • Using MS Agent in C# - Part-IIIJan 09, 2002. In this article, I will show you how to write a program which lists all the animations of the loaded characters which speak to us using synthesized speech, recorded audio, or text in a cartoon word balloon.
  • DNS Resolver using DNSAPI.DLLApr 15, 2002. This is a DNS resolver using the dnsapi.dll, it can do all sorts of DNS lookups and not just simple a record lookup like the Dns class in the .NET framework.
  • Assembly Browser: Browsing a .NET AssemblyMay 17, 2002. This program lets you browse an assembly and lists the methods and the parameter name and parameter type for each assembly.
  • Use CurrencyManager and MemoryStream to Display ImagesJul 01, 2002. This article and attached sample code demonstrates you how to use the CurrencyManager and MemoryStream to display images. The current demonstration displays all the records of the employees with their company and the personal Information.
  • 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.
  • Recording Sheet Music Using C# and .NETFeb 07, 2003. This is a article that allow you to record and replay the music you performed on the piano.
  • MWControls v1.0.3.0May 05, 2003. This latest version includes Multi Select TreeView Control which lets you choose between a few different ways of selecting TreeNodes.
  • 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.
  • Building a Navigation System in ASP.NETJul 16, 2003. This article shows you how to display single record per page and navigate through single record using ASP.NET.
  • Deleting a DataGrid Data Based on a Column ValueJul 24, 2003. In this article we'll see how to delete the records of a DataGrid based on a column value in the database table.
  • 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.
  • Display Sorted Records in Crystal ReportsOct 03, 2003. This article shows you how to use Crystal Reports options to sort a report records.
  • Edit/Update a Chosen Database RecordDec 09, 2003. This article and available source code shows how to edit and update a database record through a DataGrid control
  • DNS Client in C#Dec 22, 2003. The attached source project contains the library and source code for DNS client application. This client supports A, MX, and PTR records.
  • Real Life SQL and .NET : using SQL with C#: Part XJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part VIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part IVJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part IIIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • A Macro for Creating Properties from Private FieldsMay 12, 2004. Macros are a useful way of speeding up your coding efforts, however writing them can be a somewhat daunting task. Luckily, .NET gives you a pretty powerful recording feature for recording macros from key strokes.
  • Setting Ink Overlay Properties in Tablet PCJun 02, 2004. In this article, I will write an application that allows us to set the Ink Overlay properties dynamically based on the values selected by the user.
  • Tablet PC Ink Editing Modes - Select and Delete InkJun 25, 2004. In my previous articles, I discussed how to use Ink and set its properties to draw on a Windows Forms and Windows controls. In this article, I will discuss some more features of Tablet PC Ink including selecting and deleting ink, Ink collection, and Ink object.
  • Moving to ASP.NET: Part 1Aug 24, 2004. The attached white paper, Moving to ASP.NET, examines trends in the adoption of ASP.NET, and provides guidelines for selecting the migration approach that best meets specific business needs.
  • Selecting and Highlighting Multiple Columns in a Data GridJul 21, 2005. This article shows how to select multiple columns in a DataGrid and highlight the columns selected.
  • Multi Selection of DataGrid Rows without Ctrl ClickJul 31, 2005. This article shows how to select multiple rows in a DataGrid without using CRTL.
  • Learning Visual Studio 2005 IDE - Document Outline in Windows Forms 2.0Aug 02, 2005. We all have seen Document Outline feature in Visual Studio 2003, which allows ASP.NET developers to select a control on a Web Form and in code editor, it would select the code respective to that control.
  • 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.
  • Select/Deselect all Checkboxes at Server side in ASP.NET using C#Jan 11, 2006. In this article we will see that how to select/deselect all checkboxes using C#.net server side code inspite of simple Javascript code.
  • Birthday Wish Scheduler in C#Feb 02, 2006. In this article we are going to see how to build a windows service for fetching record from database and wishing the person whose birthday falls on that particular day.
  • Monitoring System Usage using Windows ServiceMay 29, 2006. This article shows how to record system usage using Windows Service in C#.NET
  • Client-Side XML Data Islands Jun 17, 2006. This article demonstrates how to send xml data to the web client, filter records from xml at client side by using XPath expression and populate all products of selected category into product drop-down.
  • Building applications with DLinq DesignerJul 01, 2006. DLinq designer is the visual design surface to create the entity objects and bound the controls to the dlinq objects with relationships. We can easily create the windows form using the designer. The developer need not take more time to design the User Interface. The designer itself suggests you the controls suitable for the selected fields.
  • Crystal report with Dynamic ColumnNov 03, 2006. The objective of this article is to provide a process which can be followed to develop a crystal report with dynamic columns using parameterized column fields and formula fields. Before going for this the developer has to decide the maximum number of columns he/she has to display and as per the no. of columns the size of the paper. The developer can define the size of the paper by selecting Printer Setup in File menu.
  • Strategy for querying Microsoft Access as an In-Memory Database using DataSets and ADO.NETJan 09, 2007. This article describes how you can read tables in from MSAccess up front in your application and then query the tables in-memory using some powerful features of the DataSet and ADO.NET
  • Simple Web and RGB Color Picker UtilityFeb 08, 2007. The article addresses the construction of a simple utility application useful for selecting an RGB or web color.
  • Concurrency violation: the UpdateCommand affected 0 records. Mar 27, 2007. When you use a DataAdapter object to write changes back to a database by means of a stored procedure, you may receive the following error message: Additional information: Concurrency violation: the UpdateCommand affected 0 records.
  • 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.
  • Enhanced Oracle Explorer in C# and .NET Using Windows FormsApr 27, 2007. This application will allows to do multiple simple activities on oracle database like running select statements and getting selected procedure's definition simultaneously in a thread-based GUI.
  • C# Asynchronous, Multi Threaded Development... Digging In. Part IIMay 13, 2007. In this article we'll dig a bit deeper into what is actually happening when we use the asynchronous calls using C#. Just as in my previous article, we'll simulate a long running I/O bound process as if we were fetching records from a database, making a web service call or reading or writing from a file and see how we can write more performant code by letting the main thread continue on and not wait for the results. 
  • On-line Address Book in ASP.NET 2.0May 25, 2007. This is an On-line Address Book project. This project is very useful to keep the record and addresses of person. Here in this project we can view all record, edit any record, delete any record, search a record and update any record. This project will be very useful to those who are new or going to his/her first ASP.NET project.
  • Manage Ads with AdRotator Control in ASP.NET 2.0Jun 15, 2007. The AdRotator control available in ASP.NET 2.0 allows you to manage and run ads on a website. The AdRotator control selects and displays an ad randomly each time a page is refreshed.
  • Select Items with Where in LINQ and C#Jun 21, 2007. This article shows how to select exact match and in between items from a collection using LINQ and C#.
  • Generic Data Layer - One time creationSep 06, 2007. This article will explain how to create a generic data layer that can be used with very less amount of coding. It is a known fact that, most of the time we create applications for Create , Select , Update, Delete. And every time, we end up with writing similar set of code for every execution of our stored procedures.
  • 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.
  • How to display the records in DataGrid by using the PagingSep 11, 2007. Through this article you will learn the concept of Paging in detail. You can display the large records in DataGrid by using Paging.
  • 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.
  • Find the First and Last Days of the Month with C#Oct 31, 2007. This article shall describe a very simple approach to finding out the first and last day of the month based upon either a selected date or selected month.
  • DetailsView Rich Data ControlFeb 01, 2008. DetailsView is a data-bound control that renders a single record at a time from its associated data source.
  • SQL Server backup utility using VB.Net and SQL-DMOFeb 05, 2008. This article allows you to take backup of any SQL Server database using SQL-DMO library. It allows you to take backup of selected tables, views or stored procedure.
  • Selecting Checkboxes inside the GridView ControlFeb 27, 2008. This article explains about how to select checkboxes inside the GridView control using javascript.
  • Killing Processes From a Windows Form Application in C#May 01, 2008. This article provides you a simple example of how to use the System.Diagnostics.Process library to display a list of running processes, and to select and kill processes by their process name and ID.
  • Working with Parameter Fields in Crystal ReportsJun 24, 2008. This article is intended to illustrate how to use Parameter Fields in Crystal Reports. Parameter fields enable the creation of reports that could be used in a variety of ways, prompting the user for all kinds of information specifically for record selection and report titles.
  • Cascading Deletes in LINQ to SQLJul 03, 2008. This article will discuss alternative methods for performing cascading deletes using LINQ to SQL. Cascading delete refers to the action of removing records associated by a foreign key relationship to a record that is the target of a deletion action.
  • Enhanced Desktop Recorder in .NET using C# and Windows FormsJul 22, 2008. This application provides features that will allow Desktop recording, sharing and broadcasting etc easier.
  • Generic Data Access using LINQ to SQL and C#Jul 22, 2008. This article discusses the construction of a generic data access layer built on top of a LINQ to SQL implementation.
  • Select, Add, Update, and Delete Data in a ASP.NET GridView ControlNov 23, 2008. This articles describes you how to view, add, update, and delete data using an ASP.NET 2.0 GridView Control in SQL Server database and C#.
  • OpenFileDialog in SilverlightNov 30, 2008. The OpenFileDialog allows users to select one or more files on the local computer or on a networked computer. This article demonstrates how to create and use an OpenFileDialog control in Silverlight using XAML and C#.
  • Silverlight Date Picker ControlDec 08, 2008. The DatePicker control in Silverlight 2 enables you to select a date by either typing it into a text field or by using a drop-down Calendar control.
  • Reading Text Files using OpenFileDialog in SilverlightFeb 04, 2009. In this article, you will learn how to select and read files using OpenFileDialog in Silverlight 2.
  • Simple & Complete GridView Functionality in .Net 2.0Feb 18, 2009. This article provides a single GridView which is capable of Displaying Data from database, Updateing it if required, Deleting the existing records from database based on a Confirmation Message and Inserting a new record(which is beyond the implicit usage of GridView).
  • Easy LINQ to SQL Based Master-Detail Editor C#Feb 22, 2009. This article describes a simple approach to creating a LINQ to SQL based master-detail view with the ability to save changes made to the data. With practically no coding involved, the application below will allow the user to edit the master record as well as the detail records.
  • Recruiting the right candidateMar 07, 2009. Every team member either contributes to or erodes the team’s success. No matter how experienced you are, the art of selecting the right person is more art than science.
  • Using a Combobox to Select ColorsMar 19, 2009. This is a short article on how to use a combo box control to display and select all the named colors.
  • How to keep track of modified values of controls in a web pageApr 10, 2009. Many times we come across the situation where we want to keep track of the fact that which control values in a page are changed at the time of page submission. Here in this article, we see how to do that.
  • Master-detail data-binding using two Web pages in ASP.NET 2.0Apr 29, 2009. This article is intended to illustrate how to implement the master-detail presentation pattern using the ObjectDataSource components and two Web pages in ASP.NET 2.0. Master-detail presentation pattern is one of the techniques most used in enterprise applications intended to visualize one-to-many relationships, for example, let’s suppose the following a common business scenario where we want to display a list of subcategories of products, and allow the user select a particular subcategory in order to display the list of associated products.
  • Search and selection of data using LINQMay 27, 2009. In this article I will explain how you can use LINQ, when we should search and select some data according to parameters, defined by users.
  • Tip: How to Highlight Rows in a DataGrid Using a CheckBoxJun 25, 2009. This code snippet shows how to select or highlight selected rows in a DataGrid based on a CheckBox column similar to yahoo or hotmail emails.
  • Kiss your databse only once!!!Jul 29, 2009. This article explains about how to update the multiple records in the data controls to the server in a single transaction.
  • Rows.Count, Column.Count and IEnumerator using ADO.NET with C# and Database ServerJul 29, 2009. In this article I will explain you how to make a SQL database connection and show information in data grid. Count the number of rows and columns in the table and show the records in text boxes using IEnumerator interface.
  • Read and write the text file using vb.netJul 31, 2009. The code snippet in this article shows how to read and write text files in VB.NET.
  • Selecting TreeView Nodes in Silverlight 3Aug 05, 2009. We will see in this article about selecting TreeView nodes in Silverlight 3.
  • Select, Update, and Delete Data in a ASP.NET GridView Control.Aug 06, 2009. This articles describes you how to view, update, and delete data using an ASP.NET 2.0 GridView Control in SQL Server database and C#.
  • Add, Delete and Update command in DataListAug 10, 2009. In this article, I will show you how to use an ASP.NET 2.0 DataList control to Add, Select, update, and delete data in a SQL database.
  • Example of DataGrid in ASP.NETAug 11, 2009. The basic operations of DataGrid Like Edit, delete, Update, Insert record and show the data at the same page.
  • Inserting records in a database using stored procedure and ADO.NET technology.Aug 13, 2009. In this article I will explain you how to use CommandType stored procedure to insert records in a database in a disconnected manner.
  • Zero Server Controls technique in ASP.Net, C# (XML Insertion, JavaScript tricks using AJAX deletion and XSLT record display using JavaScript)Sep 07, 2009. Insert a record using XML, Delete a Record using Ajax and Display Results using XML and XSLT through JavaScript. No Server Side Controls have been used.
  • Adding CheckBoxes in SharePoint GridView (SPGridView)Oct 29, 2009. In this article, I am going to show how to add a checkboxes in SPGRidVIew. I will iterate through the SPGridView to find out the selected rows.
  • Multi Select Delete in DataGrid in Silverlight 3Dec 01, 2009. In this article we will see how we can have a CheckBox Column. And with the help of CheckBox we can multiselect rows and perform delete operation.
  • Select all CheckBox in DataGrid and delete rows in Silverlight 3Dec 02, 2009. In this article we will see how we can select all rows of DataGrid and delete all selected.
  • Taking Command in ADO.NETJan 07, 2010. In this article I will explain Taking Command in ADO.NET.
  • 9 simple steps to run your first Azure Table ProgramJan 11, 2010. Azure has provided 4 kinds of data storages blobs, tables, queues and SQL azure. In this section we will see how to insert a simple customer record with code and name property in Azure tables.
  • Returning Large Volume of Records from SOAP based WCF ServiceJan 17, 2010. In this article I will explain; How to return large volume of data (around 50000 records) from SOAP based WCF service to any client.
  • Show Parent Child Records in Windows Form like Ms AccessFeb 17, 2010. In this article I am going to teach you that same thing how show such records in hierarchical view.
  • Edit Row Details in Context Menu in DataGrid in WPFFeb 22, 2010. In this article we will see how to edit the selected row details in ContextMenu.
  • Creating a Sound Recorder in C and C#Mar 23, 2010. In this article we will learn how to record audio and play sound files in C and C#.
  • Select Multiples cells in DatagridviewApr 01, 2010. In this article I will explain how to select multiple cells in datgridview using c# windows application.
  • Country Application for Window 7 mobileApr 09, 2010. In this article, I am going to show you a Country Application. User will select country from drop down and details of selected country will be displayed.
  • How to Display Records as First-Next-Previous-Last in a Textboxes Using Windows ApplicationJun 01, 2010. In this article you will know how to display records in a textboxes as First,Next,Previous and Last records.
  • CheckBox in C#Jun 03, 2010. A CheckBox control allows users to select a single or multiple options from a list of options. In this article, I will discuss how to create a CheckBox control in Windows Forms at design-time as well as run-time. After that, I will continue discussing various properties and methods available for the CheckBox control.
  • How to: Select distinct values from DatasetJun 07, 2010. In this article you will see how to get the distinct values from the Dataset.
  • OpenFileDialog in C#Jun 11, 2010. An OpenFileDialog control is used to browse and select a file on a computer. This article demonstrates how to use a windows Forms open file dialog in C#.
  • CheckBox in C#Jun 11, 2010. A CheckBox control allows users to select a single or multiple options from a list of options. In this article, I will discuss how to create a CheckBox control in Windows Forms at design-time as well as run-time.

About Select-records

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!
Download Free eBooks