How to display table in GUI

Posted on 2007-10-20
Last Modified: 2013-12-17
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.

Question by:ambuli

    Accepted 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.

    Expert Comment

    you can use CListCtrl with with extended style

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
    This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now