Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Displaying data table in C# WPF application

Tags:

c#

wpf

xaml

I am writing a WPF application in C# that needs to display data in a spreadsheet-like format dynamically. What is the best way to go about this?

The application will be getting data outputted from a fire alarm panel, chopping it up, and then displaying it in a neat table (or at least that's the plan).

like image 242
Danny Avatar asked Jun 24 '11 03:06

Danny


2 Answers

Why not use WPF's Datagrid control? It should have all the functionality you need for the requirements you posted, more info here

http://www.wpftutorial.net/DataGrid.html

like image 54
Greg Olmstead Avatar answered Nov 17 '22 00:11

Greg Olmstead


If you are using .Net 3.5, then please download WPF Toolkit and install to your VS 2008.

If you are using .Net 4.0, you can use the build in DataGrid control which you can select from the toolbox.

like image 3
Coder323 Avatar answered Nov 17 '22 00:11

Coder323