• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 165
  • 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.

0
ambuli
Asked:
ambuli
1 Solution
 
MadDangCommented:
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.
0
 
amitrsharmaCommented:
you can use CListCtrl with with extended style
SetExtendedStyle(LVS_EX_FULLROWSELECT|LVS_EX_GRIDLINES);
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

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