C# Corner

Resources  
  • A GridView Component in C#Apr 05, 2000. This example shows you how I've wrapped a ListView in a UserControl and turned it into a simple grid control.
  • 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.
  • 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.
  • Database Explorer : Part 2Jan 22, 2001. Attached is a C# program which is a enhanced version of the previous article on ADO.NET.
  • 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.
  • ADO.NET Database Explorer with Query Analyzer : Part 3Jan 24, 2001. This is the part three of the Article Database Explorer. This parts adds some more and valuable functionality.
  • 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.
  • Creating a screen saverJun 21, 2001. Creating a screen saver is an interesting topic. A screen saver is a maximized form that contains no borders and caption.
  • Move Grid PuzzleAug 15, 2001. This is a console based application the user will be prompted for move such as L-Left, R-Right, U-Up, D-Down, E-Exit.
  • 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.
  • Button Chaser ProgramAug 29, 2001. Here is a fun program which causes the user to chase a button around the screen.
  • Screen Capturing a Form in .NET - Using GDI and GDI+Sep 15, 2001. This article shows way to do form capture in GDI is to get the device context to the screen and bit blast it to a Bitmap in memory.
  • CartWheel Man - Animating GraphicPathsNov 27, 2001. This simple application illustrates how GraphicsPaths can be animated to look like something is moving across the screen.
  • 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.
  • C#RIS : Tetris Game in C#Feb 14, 2002. I have written a Tetris clone that demonstrates how to use off-screen graphics buffering for smooth animation and utilizes a multi-dimensional array approach to designing a game grid. The classes are largely self-explanatory and the techniques are documented in code well enough to explain what is going on.
  • 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.
  • Returning a DataSet From a Web Services: Step-by-StepApr 01, 2002. This Example Shows how to create a Web service which returns a DataSet object and a Client which displays the DataSet in a Grid.
  • BattleShips GamesApr 02, 2002. This application presents a grid of 100 squares to the user. The user has thirty five attempts to find to find the computers fleet. The computer randomly positions five ships of varying sizes around the board.
  • Globalized Property GridApr 17, 2002. The property grid is a nice control to display properties and values. You create an instance of your class and assign it to the property grid. By using reflection a property grid extracts the properties of the class and displays its values.
  • Nemesis-7rc1 (Codename Deviate)May 13, 2002. Nemesis-7 is a full-screen 2D shoot’em up that makes use of the DirectInput, DirectSound and DirectDraw interfaces from DirectX. The player controls a spaceship which he uses to duel the computer opponent. I implemented some artificial intelligence to make the CPU play more human.
  • An Editable GridView Control in C# and .NET - Part 1May 28, 2002. I've gotten a lot of e-mail about my GridView control Article, so I've decided to write a follow up article on a more powerful control that allows you to edit the cells within the control and change the colors of the cells.
  • 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.
  • Paging in Mobile Web FormsJun 10, 2002. The biggest difference between web applications designed specially for use on Mobile Devices is the limitation imposed by the small screen size of Mobile devices.
  • Nemesis-7rc1 ( Codename Deviate)Jun 13, 2002. Nemesis-7 is a full-screen 2D shoot’em up that makes use of the DirectInput, DirectSound and DirectDraw interfaces from DirectX. The player controls a spaceship which he uses to duel the computer opponent. I implemented some artificial intelligence to make the CPU play more human.
  • An Editable GridView Control in C# and .NET - Part II Persisting in XMLJun 19, 2002. In this article we will take advantage of the XML classes available to us to persist the GridView control that we talked about in our first article in this series. The two classes we utilize in our code are XmlTextWriter and XmlTextReader.
  • An Editable GridView Control in C# and .NET - Part IIJun 19, 2002. In this article we will take advantage of the XML classes available to us to persist the GridView control that we talked about in our first article in this series. The two classes we utilize in our code are XmlTextWriter and XmlTextReader.
  • Editable GridView Control in C# and .NET - Part-III Printing the GridViewJun 24, 2002. In our last two articles, we talked about how to create an editable GridView and how to make it persistent in XML.
  • Editable GridView Control in C# and .NET - Part IV Exporting the GridView to ExcelJun 27, 2002. In this article we will take the contents of our GridView control and spill it into an Excel spreadsheet using this wrapper mechanism.
  • Editable ListView in C#Jul 01, 2002. Based on the similar technique used my previous article, the Editable Listbox, we can edit columns and rows of a ListView control.
  • Editable ListBox ControlJul 01, 2002. A ListBox is a read-only list of items. But let us suppose your application needs to edit an item in a listbox at runtime.
  • DataGrid Customiztion Part-III:Implementing Search Feature in a DataBound GridAug 21, 2002. In this article, I will show you how to exchange two DataGrid columns by dragging and dropping.
  • Generating Maze using C# and .NETSep 25, 2002. Did you ever get the feeling that cubicles were laid out with the idea that there could be no escape? (Must be I am a bit overworked these days). Today's article focuses on how to generate a maze using the depth first search algorithm. This is a very simple but clever algorithm that creates a maze by randomly stripping one available wall between two cells for every cell in the grid.
  • Generating Maze using C# and .NETSep 25, 2002. This article focuses on how to generate a maze using the depth first search algorithm. This is a very simple but clever algorithm that creates a maze by randomly stripping one available wall between two cells for every cell in the grid.
  • How To Print a Data Grid in C# and .NETJun 04, 2003. I wrote this article in response to the question, "How the heck do I print out a DataGrid and its contents
  • Dynamic Data Grid for Windows Forms Sizing RoutineNov 11, 2003. This article and the attached source code project is called GridLayoutHelper and it allow you to size a Windows Forms DataGrid much like you can an ASP.NET DataGrid.
  • Display Alphabetically Sorted Data in a Data GridDec 24, 2003. This code sample shows you how to display data sorted alphabetically based on the values in the database.
  • Screen Capture and Save as an ImageDec 30, 2003. The following example source code shows how to capture the screen and save it to an image.
  • Using ApplicationContext to Encapsulate Splash Screen FunctionalityJan 05, 2004. The enclosed article also gives a detail explanation of what happens behind the scenes when a WinForm application is started.
  • QuickModeler 2.0 : A Reverse Engineering Tool for Visual Studio .NETJan 08, 2004. QuickModeler is an Add-In for Visual Studio .NET which provides reverse engineering and easy UML modeling functionality to the development environment. It comprises features like autolayout, inheritance and association modeling, cross language modeling, grid, clipboard, etc.
  • Localization in COBOL .NETJan 09, 2004. This article will show you how to use the power of LOCALIZATION within Visual Studio .NET to create one screen and have it display different languages.
  • Grid View Control V - Sizing and Tabbing in the GridViewMay 05, 2004. This article is in response to forums question how do I resize and use tabbing in GridView control.
  • Using SyncFusion Grid in Virtual Mode with C# and .NETMay 27, 2004. This article and attached source code shows how to use SyncFusion Grid control in virtual mode to display and manipulate data from a data source.
  • Using Property Grid in C#Jun 30, 2004. Property Grid control is one of the control we deal with all the time when writing UI applications. This article and attached source code shows how to use the Property Grid control in your applications.
  • Coloring the Console in C# Oct 25, 2004. When working with console applications in C#, you always see a black and white screen. What if we want to change the background color of the console? We can change the foreground and background color of our console application by using win32 API SetConsoleTextAttribute().
  • How to Populate a DropDownList insides a DataGrid through an XML FileNov 16, 2004. In this article, we will show how to fill a DropDownList inside a DataGrid through an XML file. We will also show how the contents of one DropDownList changes dynamically as we change the index of second DropDownList (both inside the grid).
  • Writing HTML Content to the Screen in Word Document Format In a ServerFeb 10, 2005. This article explains a smple way to create a Microsft Word document representation of some HTML in a server.
  • Capture Desktop Activities As a MovieFeb 18, 2005. This article shows to capture screen activities as a movie using Windows Media Encoder 9 SDK and C#.
  • Editable ListBox in C#Jun 09, 2005. The attached sample code demonstrates how you can create an editable ListBox control, which will let you edit ListBox items at runtime.
  • 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.
  • Using Genetic Algorithms to come up with Sudoku PuzzlesSep 23, 2005. Sudoku is a new type of puzzle from Japan that will keep you entertained for a time and may even get you hooked. This article demonstrates how to generate a fully populated Sudoku grid using genetic algorithms.
  • Navigating Data Grid using Client ScriptingNov 10, 2005. It's very common practice to use the Data Grid to present data over web pages. Though the Data Grid is provides the richer UI presentation if not coded and handled effectively it can have great performance issues. This article gives the code sample for navigating the data grid using the Client Scripting (thereby can be used for lots of validation before doing the Post Back to the server) and minimizing the round trip to server
  • Presenting Child Data along with Parent Row in Data GridNov 10, 2005. This article explains how we can bind the parent and child data to a Data Grid with minimum code effort using the Repeater control.
  • Flickerless Drag and Drop of Graphic Primitives Using .Net GDIAug 14, 2006. This article shows you how dragging and dropping graphic primitives smoothly onto the screen without flicker is easily achieved using .Net's GDI.
  • Inserting new row in GridView in ASP.NET 2.0Sep 04, 2006. The GridView was not designed to insert new rows, but there is a way to accomplish this with very little code. This article shows how to do that.
  • SQL Server Backup file in standard Zip formatOct 12, 2006. This is SQL Server Backup and restore tool, the system will store the backup files in standard Zip format ,the user-friendly screen let you backup and restore SQL Server database to local harddisk or remote network driver easily and quickly.The program can restore database easily.
  • How to change screen resolution in C#Oct 13, 2006. All programmers are facing common problem is how to change screen Resolution dynamically. In .Net 2005 it's very easy to change the screen resolution. Here I will explain you how can we get the Screen resolution and how we will change the resolution at dynamically and while unloading the page it will come as it was before. In dot net we can access the values of user's screen resolution through the Resolution class. It also affects all running (and minimized) programs.
  • Build Your Own Visual Studio: An Application Framework for Editing Objects at Run TimeDec 22, 2006. This article describes a generic application framework that may be of some use in projects that would need an interface similar to Visual Studio. The application demonstrates approaches to providing a toolbox, a workspace, an object treeview, and an object editor.
  • Capturing Screen Resolution InformationJan 22, 2007. This article describes a simple approach to capturing and displaying screen related information.
  • Snap it! - How to Take a Screen Shot Using .NETJan 23, 2007. This article explains how to create a snapshot tool in .NET and Windows Forms.
  • Bind Objects to a DataGridView ControlFeb 12, 2007. This article describes a simple approach to displaying object property data within a data grid view control.
  • Grypto-Grid Solution to Digital SignaturesApr 04, 2007. This article describes as to how a Grid middleware can be easily used for a Cryptography problem.
  • Introduction to XNA: The Microsoft 2D and 3D Game Development PlatformApr 20, 2007. This article introduces you to the XNA Framework that makes game development easier than it ever was before. This sample features a star trek ship which you can move around the screen and shoot at the enemy Klingon Ship. The demo comes complete with authentic sound.
  • How Do I Bring a Microsoft Word Table into a DataGridView?Jun 12, 2007. This Article will answer the question: "How do I import a table in MS Word into a DataGridView using Visual Studio's built in Tools for Office.
  • Fully editable grid Using The Repeater ControlSep 04, 2007. How to create a fully editable, sortable and paging grid by using the repeater control.
  • Prompt for Service Account During Windows Service InstallationOct 18, 2007. This article shows how to customize the installation of a windows service in Visual Studio 2005 to prompt for a service account username and password. This process involves passing values from the install screen to a customized installer.
  • ASP.NET Multiple File UploaderJan 04, 2008. This article tells you how to allow users to upload more than one file at a time.
  • Using PropertyGrid in .NETJan 04, 2008. This article describes how to use the PropertyGrid control in .NET
  • Add a Splash Form to a Windows ApplicationFeb 05, 2008. This article shows you a method of how to add a splash form to a windows application programmatically.
  • 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.
  • Filter data dispalyed in a DataGridView using BindingSource and DataViewFeb 27, 2008. In this article i will show you how to use the BindingSource or the DataView to filter data in a given data grid view.
  • Dispaly a Picture in Grid CellFeb 29, 2008. This article helps to load picture in Grid Cell.
  • Client Side Validation of GridView control with javascriptMay 21, 2008. This article shows how to use client side validations in GridView control with JavaScript.
  • The Concept of Shopping Cart in ASP.NET with C#Jul 16, 2008. This article will just give you the brief idea how to make simple shopping cart with dropdown GridView and data table.
  • DataPager in ASP.NET 3.5Jul 31, 2008. The ListView is a hybrid control between a DataGrid and Repeater that combines the templating of the Repeater and the editing features of the data grid, but doesn't support paging, so the DataPager serves as an external control to provide paging features.
  • Working with WPF Table using XAML - Part IAug 12, 2008. In this article, I will use WPF table in XAML format. This one defines a flexible grid area that contains rows and columns. At the contrast of the Grid object witch is defined in the System.Windows.Controls, the table object is defined in the System.Windows.Documents namespace.
  • How to Define and Configure a Grid Control Within a WPF Aplication Using XAML: Part IAug 13, 2008. In this article, I will try to make a representation of the Grid object witch is directly derived from the Panel abstract class and we can say that is a flexible area that contains rows and columns, it plays a role of container in a given WPF window.
  • How to Define and Configure a Grid Control Within a WPF Application Using C#: Part IIAug 18, 2008. In a previous article, we discovered how to define and configure a Grid control using XAML. In this second article I’ll demonstrate how to do the same task using the code behind, I mean using C#.
  • UniformGrid in WPFAug 20, 2008. This article show how to use UniformGrid in WPF(Windows Presentation Foundation).
  • Working with the Uniform Grid in WPFAug 22, 2008. In this article I will introduce the Uniform Grid object. The uniform grid object arranges content in its area so that all the cells in the grid have the same dimension. It represents a perfect solution if someone prefers to prevent the headache of ordering controls within an ordinary Grid object.
  • Grid control on .NET Compact FrameworkAug 27, 2008. In this article I will show some typical issues one can encounter when developing mobile applications and how to solve them using a grid control that was designed for mobile devices from the scratch.
  • How to convert a simple DLINQ Query to a data set objectSep 01, 2008. In this article I will represent a trick of how to convert a given DLINQ query to a data set object in order to make use of it as a data source for several controls such as grid view, data grid view and so forth.
  • 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#.
  • Full Screen Applications in Silverlight 2.0Jan 19, 2009. In this article we will see how to set our Silverlight applications to run in full screen mode.
  • Full Screen Mode in SilverlightMar 16, 2009. Silverlight provides functionality to display the Silverlight plug-in in full-screen mode i.e. effectively take over the entire screen of a computer hiding everything else from sight - including the browser frame
  • Validation Controls within GridView control in ASP.NET 2.0May 05, 2009. This article is intended to show how to add customized validation features to GridView control in order to avoid mistakes when the users enter data and violates the underlying business rules.
  • Cell Merging In GridViewMay 19, 2009. In many asp.net applications, we use the GridView control for displaying data. It is a very helpful control and powerful indeed. Many operations can be done using the grid view control but the UI presentation is more important as it is the look-n-feel that matters a lot. In this small article, I will demonstrate how the cells of the grid can be merged as I have been asked to do the same in one of my recent projects.
  • 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.
  • Export Data Grid in Excel Word And Text FileJul 03, 2009. In this article I am going to show how we can export data grid in excel, word and notepad file.
  • ADO.NET using C#Jul 22, 2009. In this article I will explain you how to make a SQL database connection and show information in data grid.
  • 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.
  • Exploring Grid Panel in Silverlight 3 Using Blend 3Jul 29, 2009. In this article we will explore how can we add Rows and Columns in Silverlight 3 using Blend 3.
  • Splash Screen in Silverlight 3 ApplicationJul 30, 2009. In this article we will see how the default Splash Screen can be changed in Silverlight 3 Application.
  • Grid Splitter In Silverlight 3 Using Blend 3Aug 03, 2009. This article discusses how to use a Grid Splitter control in Silverlight 3 using Expression Blend 3.
  • Dataform and Datagrid in Silverlight 3 ApplicationAug 10, 2009. In this article we will see how Data Form is helpful in editing a set of data.
  • Introduction to screen object in JavaScriptAug 13, 2009. This article explains about screen object of JavaScript.
  • Export Grid to ExcelAug 13, 2009. In this article we are going to read and understand how in a web application we can export a grid data in the excel file.
  • WPF Animations Part I- Color AnimationSep 07, 2009. WPF is a new framework that has many advanced capabilities. Animations are one of those capabilities, where an object can be animated via rotating, stretching, scaling, moving it across the screen, changing its color, etc. In this article I am going to show color anmiation on a coltrol.
  • How To: Using the Silverlight DataGrid with the ObservableCollectionSep 26, 2009. This article gives a brief introduction to creating an application with the Silverlight DataGrid and binding customer data to the grid through the ObservableCollection
  • Clearing the Console Screen using API Sep 27, 2009. Learn how to clear the Console screen using Win32 API calls. Also learn additional techniques like how to clear a specific portion of the screen or to move it.
  • DataGrid in WPFSep 28, 2009. This article is a part 1 of my WPF DataGrid series. In this part, you will learn how to create a DataGrid using XAML and C# and set its properties. The article will also show you how to apply data binding on a collection.

About Editable-Grid-Screen

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