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.
  • 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.
  • 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.
  • 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.
  • 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.
  • Fun With Panel ControlAug 31, 2001. Panel Control is useful control in Mobile Programming and till now, we hadn't explore it.
  • 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.
  • 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.
  • .NET Commander ver Alpha 1.0.0Apr 15, 2002. The .NET Commander is a Windows application written in C#. This application is a double panel file manager with an interface very similar to the popular Windows Commander.
  • 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.
  • 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. 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.
  • 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 Wizards using PanelsNov 15, 2002. Wizards can be generated in different ways. This article shows you how to create wizards using panels.
  • Opening and Viewing Text and Image FilesMar 08, 2003. We will start this article with a simple application where we will learn how to open and view text and image files using the OpenFileDialog class. In doing so, we will learn some basics of GDI+ drawing, menus and panel control.
  • 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
  • StatusBars in Real ApplicationsSep 05, 2003. In this article we will investigate the StatusBar control of .NET Framework library.
  • 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.
  • 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.
  • Transparent Panel in C#Apr 22, 2004. The attached source code shows how to create a transparent Panel in C#. Download the source code for more details.
  • 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.
  • 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).
  • 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.
  • Programmatic Interaction with Control Panel Using VS.Net 2005Feb 21, 2006. This is simple sample on using Shell and some of its methods. Provided code will open windows that represent Control Panel’s applications. It’s just demonstration on shell usage.
  • Scrolling News Web Control using ASP.Net and C#Feb 27, 2006. This article shows to create scrolling news web control using ASP.Net and C#, simple to understand and can be used as a control in any of the ASP.Net page.
  • 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.
  • Gradient Panel Custom ControlDec 07, 2006. This article describes a quick and simple approach to creating gradient panel custom control.
  • Mimic the Appearance of Outlook's Sidebar with the Multi-view ControlDec 14, 2006. This article describes a simple way to mimic the appearance of Microsoft’s Outlook sidebar within an ASP.NET 2.0 web application. The approach is based upon the use of the existing Multi-View control contained in the standard ASP.NET 2.0 toolbox and does not require much time or effort to implement. This article includes a sample web application that presents an example of the approach in use.
  • 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.
  • 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.
  • Extending ASPX Panel Control to produce Rounded CornersMar 05, 2007. This article shows how to create a custom control which encapsulates scripts. Also shows how to add method attributes to interact with VS Designer and ToolBox as well as providing intellisense dropdowns.
  • Docking Controls - Standard and CustomMar 16, 2007. This article addresses the user of the standard 2005 toolstrip container control used in conjunction with toolstrips and discusses an approach to building a custom dockable tool palette.
  • 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.
  • XAML Layout using the Panel ClassApr 12, 2007. This article describes how to use the DockPanel element to achieve standard layouts in XAML. While there are a number of interface elements that can be used to position controls in your application, DockPanel provides one of the easiest mechanisms for defining scalable layouts.
  • 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.
  • An "Outlook Like" controlOct 01, 2007. This is a control that behaves like the Tab control but have visual cues that look more like the Navigation panel in outlook. And since this is more of a tab control than a navigation panel control, you are free to add as many tabs as you like.
  • Using PropertyGrid in .NETJan 04, 2008. This article describes how to use the PropertyGrid control in .NET
  • ASP.NET Multiple File UploaderJan 04, 2008. This article tells you how to allow users to upload more than one file at a time.
  • 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.
  • AJAX DragPanelExtender ControlFeb 26, 2008. AJAX DragPanel allows you to move your panel one place to another place around a Web page. This article and attached code shows how to use DragPanelEtender control in ASP.NET 2.0.
  • 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#.
  • DockPanel in SilverlightDec 05, 2008. The DockPanel control is a layout control that acts as a container for child controls. The DockPanel allows child controls to dock in left, right, top, or bottom sides of the panel.
  • Ajax DropShadowExtenderDec 09, 2008. DropShadow is an extender which applies a "Drop Shadow" to a Panel.
  • WrapPanel in WPFFeb 05, 2009. A WrapPanel control is used to arrange child controls to arrange vertically or horizontally. This article demonstrates how to create and use a WrapPanel control in WPF using XAML and C#.
  • WPF Controls,Layout panel and Graphics primitivesFeb 11, 2009. In this article you will learn how to use Controls,Layout Panel and Graphics primitives in WPF.
  • 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.
  • FileUpload Control in Update Panel using ASP.NET AJAXApr 29, 2009. This article shows how to use a FileUpload Control in an Update Panel using ASP.NET AJAX to upload a file and how to show that file.
  • 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.
  • Drag n Drop an element from one Panel to another in Silverlight 3Aug 01, 2009. In this article we see the code to drag and drop an element from one panel to another in Silverlight.
  • 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.
  • Scrollable Stack Panel in Silverlight 3 using Blend 3Aug 06, 2009. In this article how to create scrollable Stack Panel in Silverlight 3 using Blend 3.
  • Wrap Panel in Silverlight 3Aug 10, 2009. In this article we will explore Wrap Panel in Silverlight 3. We will see how the Wrap Panel is useful.
  • 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.
  • 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.
  • 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
  • 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.
  • Show Data in WPF DataGrid using DataSet data templateOct 26, 2009. This article will demonstrates how to show data in wpf datagrid using dataset data template.
  • How to use AJAX HoverMenuExtender control using Grid ViewOct 28, 2009. This article will show how to use Ajax HoveMenuExtender control with Grid View.
  • Show/Delete/Edit data in WPF DataGrid using LINQ to SQL ClassesOct 29, 2009. This article will demonstrates how to Show, Delete, and Edit data in WPF Data Grid using LINQ to SQL Data Classes.
  • Upload File With Update PanelOct 29, 2009. In this I am going to show how we will upload file with update panel in asp.net.
  • Radio Button in Silverlight 3.0 Data GridNov 19, 2009. In this article, I will explain how to put Radio Button as one of the column in Silverlight Datagrid. I will also show how to work with radio button as column of Datagrid.
  • Dealing with Percentage Size in WPFDec 03, 2009. This article demonstrates how to implement HTML Table percentage like feature in WPF using Grid panel.
  • Canvas in WPFDec 14, 2009. In this article, you will learn how to use a WPF Canvas panel using XAML and C#.
  • DockPanel in WPFDec 15, 2009. In this article, you will learn how to use a WPF DockPanel using XAML and C#.
  • Working with WPF Grid PanelDec 17, 2009. In this article, you will learn how to use a WPF Grid Panel using XAML and C#.
  • WrapPanel in WPFDec 23, 2009. In this article, you will learn how to use a WrapPanel in WPF using C#.
  • DataGrid Customization in Silverlight 3Jan 07, 2010. In this article I will describe how to use the data grid control.
  • DataGrid and Datalist Controls in ASP.NET Feb 08, 2010. In this article I will explain DataGrid and Data list Controls in ASP.NET.
  • Clipping or Cropping Images in WPFFeb 10, 2010. Clipping a region is a process of displaying partial area of a region by setting the outline of a region. In WPF, the clipping has been extended to all elements that are inherited from UIElement that includes controls, images, panels, Windows, and Pages.
  • CRUD Operation in DataGrid in WPFFeb 17, 2010. In this article you will learn how to use CRUD Operation in DataGrid in WPF.
  • Display Images in the Grid View ControlFeb 17, 2010. In this article you will learn how to Display Images in the Grid view control.

About Grid-panel

NA

SPONSORED BY

C# Corner Chandigarh DevCon16
Chandigarh DevCon16 is a one-day Developer Conference where programmers, technologists, authors, and members meet, demonstrate, plan, and hang out.
Visual Studio Live - Redmond 2016