LOCATION: HomeSupportSamplesSmartGrid .NET

Press Releases

May 26, 2009
Resco releases Resco MobileForms Toolkit 2009 Volume 2

Proficient set of components now enriched with three new controls for windows mobile development

April 21, 2009
Resco releases Resco MobileBusiness ESP

A new flagship of Resco’s product line Enterprise Solution Prototypes (ESP) brings revolutionary features and is specifically designed for SFA and CRM solutions

More
Latest Versions

July 03, 2009
DetailView .NET v6.7.0.3

July 02, 2009
CompactChart .NET v6.7.0.1

June 30, 2009
Toolbar .NET v6.7.0.2

June 30, 2009
TabControl .NET v6.7.0.2

More

Resco SmartGrid .NET Samples

In this section you can preview code samples to demonstrate the capabilities of the Resco SmartGrid control.

Note:Some samples may require Windows Mobile 5.0 SDK installed to be run. You can download Windows Mobile 5.0 SDK free of charge from Microsoft webpage here.

Sort on HeaderClick sample

This sample demonstrates how SmartGrid can be designed to sort the rows upon HeaderClick. Note that SmartGrid does not sort the rows really, but uses the capability of its datasources or the SQL server to sort the data instead. There are three forms in this sample, each demonstrating a different scenario.

Download C# Sample

Smartphone edit sample

This sample demonstrates how SmartGrid .NET control can be designed to load data from a database and edit them using SmartGrid's bult-in editing capabilities on Smartphone platform.
Note: This sample only works with version 5.2.0.3 or later.

Download C# Sample  |  Download VB Sample

Sudoku sample

This sample is a simple Sudoku application for Smartphone platform. Demonstrates the editing capabilities of SmartGrid .NET control on Smartphone platform.
Note: This sample only works with version 5.2.0.3 or later.

Download C# Sample

Button sample

This sample demonstrates how to implement a button in one of SmartGrid's cells.

Download C# Sample

DateTimePicker sample

This sample demonstrates these features of SmartGrid:

  • Loading data from a SqlCe database
  • Displaying a date in a column
  • Editing date in a column using a System.Windows.Forms.DateTimePicker control

Download C# Sample

Divided Cells sample

This sample demonstrates how to divide cells in a column in SmartGrid.

Download C# Sample

Edit button

This sample demonstrates how SmartGrid can be designed to display a clickable icon in a cell.

Download C# Sample

Multiple columns selection sample

This sample demonstrates how SmartGrid can be designed in such a way that multiple columns can be selected by clicking on their header.

Download C# Sample

Multiple rows selection sample

This sample shows how SmartGrid can be used to select or deselect multiple rows by clicking them.

Download C# Sample

NumericUpDown Sample

This sample shows how to edit data in a column using a System.Windows.Forms.NumericUpDown control.

Download C# Sample

LinkCell Sample

This sample shows how to inherit from Resco.Controls.SmartGrid.CustomCell class and use your own cell in SmartGrid. In this particular sample a new MyCell class is created. MyClass underlines the text inside it so that it looks like a link. If the cell is clicked, the text changes color from blue to yellow indicating, that the cell was clicked.

Download C# Sample

Load data sample

This sample demonstrates the capabilities to load data from Northwind Access database. It uses three method of data loading:

  • Loading through DBConnector object
  • Loading through DataSource object
  • Manual loading through Rows collection

Download C# Sample  |  Download VB Sample

CustomCell sample

This sample demonstrates how to use the CustomCell event to change the cell properties to custom values. The sample loads product sales data from the DataSet file called Sales.xml, which is attached to the project. The DataSet contains three columns; product name (ProductName), yearly sales (Sales), and sales change in % (Change). The sample handles the CustomCell method and does the following:

  • It does the custom formatting for the Sales column.
  • If the Change value is greater then 0 then it change the style of the cell to "Number_blue" and displays the green arrow image, otherwise it change the style to "Number_red" and displays the red arrow down image.

Download C# Sample  |  Download VB Sample

Editable grid sample

This sample loads customer data to the SmartGrid control. Then it uses the TextBox control to allow data edit of the selected cell.

Download C# Sample  |  Download VB Sample

CheckBox sample

This sample demonstrates how to implement checkboxes in SmartGrid using image column. There is also demonstration of default keyboard navigation and how to change the look of the row depending on the contents.

Download C# Sample  |  Download VB Sample