• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 163
  • Last Modified:

How to display table in GUI

Hi Experts,

I want to display some data from a comma separated file in my GUI app.  It is a simple name with three different properties.

Name | Prop1 | Prop2 | Prop3
  abc   | 2        | 3        |4

What control should I use to display the data?  In MFC I recall there are some table control.  

Question 2:  What database should I use if I need to store the data in database?  I have noticed that MSSQL server is installed in my PC with VS8, should I use this?  I am new to .Net so please explain if I am missing some basics.

Thank you.

1 Solution
First of all it would be nice to know what kind of gui you would like to display to. if you want to display to a Windows Form then i would use the DataGridView. if we are talking about a web application then There are a couple of options... But from your description i am guessing that you are using a windows form.

The question about database entirely depends on what you are expecting to use it for. if you are only needing it to be used on the local machine by the local user then the SQL server 2005 express will be just fine. but do some research as there are many database tools out there. bottom line you need to chose a database that fits your needs.
you can use CListCtrl with with extended style

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now