473,406 Members | 2,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

record list

Hello,

I am in charge of modifying software written in Visual C++ 7.0 (dot.NET).
Currently, the program displays a list of records in a simple ListControl.

I would like to replace this listControl with something that displays
records in table format, on attribute per column, neatlly adjusted.
What is the best solution for this?
What if I would like to sort records based on an attribute value , change
the column size, etc...

Thanks in advance for your response.

Jean-Marie Epitalon
Interlab
15340 MOURJOU
France
Jul 22 '05 #1
3 1282
Jean,

For what you ask is the datagrid. (two different versions one for the web
and one for windowsforms)

That is very easy to bind to any datatable or its view the dataview

I hope this helps,

Cor

Jul 22 '05 #2
Thanks, Cor,

I guessed that the answer of my question be the DataGrid.
For what you ask is the datagrid. (two different versions one for the web
and one for windowsforms)

That is very easy to bind to any datatable or its view the dataview


Does this mean that I have to include a managed class into my project?
Will I find it in the class wizard ?
Will I have to learn some technique beyond standard Windows-C++ code ?

Would it be easier to use an ActiveX control (I never did that either) ?

Thanks in advance
Jean-Marie

Jul 22 '05 #3
Jean,

Although this sample gives answers on some difficult questions where the
answers from are not that easy to find, is it easy to try, so do that.

http://www.windowsformsdatagridhelp....3-a3539697edbd

Know that there is in Net and especially not VBNet almost never "a" best
method to do something.

A datatable in this sample is a class (object in fact) that can exist inside
a dataset. A dataset is easy to fill and to update (this include inserts,
deletes and updates) from a database using an adapter.

However to get the power of a datagrid, play a little with this sample.
Beside this more general confection view you can use your own "style" with
it.

To give you some more information about a dataset.
A dataset references to a collection of datatables
Those datatables reference forever back to a dataset to their parent (and
therefore as all elements in a dataset can only exist in one dataset)
Beside the datatable holds the dataset relations between tables and there
columns.
A datatable holds references to columns, which are a description part and
rows which holds the references to the data. That data exist inside the rows
as items. It are all seperate classes and therefore everything is object.
Beside that is very important the dataview which is to use the data in the
datatable filtered or sorted.

I hope this gives an idea.

Cor

Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: Rick | last post by:
Hi all, Is there a MySQL function to get the first record through a query? I would like to open a page of client records with the first one shown. The other records can be accessed from a...
4
by: Skully Matjas | last post by:
I am using the following code (created by the wizard) to allow to bring my form to a particular entery. But when I edit the entery (ex: put new information into a blank cell), it puts that record...
1
by: Skully Matjas | last post by:
Thank you for getting back to me. I am very new at this so i didnot understand what you said, here i will give as much cetails as possible: 1) The combo box i am using is combox39 2) I imported...
6
by: Robin S. | last post by:
Originally I wanted a list box which selects which record is the current one within the same form. Easy enough until Access takes a dump when one is deleted and then someone tries to select it in...
1
by: kkrizl | last post by:
I have a form that displays general information about an alarm permit location. There's a subform that shows detailed information about burglar alarms that have gone off at the location. When a...
3
by: Mark Vergara | last post by:
Hi to all, I want to know if there is a way of getting the position of the particular record in the dataset aside from CurrencyManger.position let say for example we have a record.. cntID ...
7
by: Stephen Poley | last post by:
I have the following situation: - a table of employees, keyed on employee-id; - a table of training sessions, keyed on session-id; - a requirement to log who was present at which session, plus...
3
by: helpful sql | last post by:
Hi, I am working on an app that will display the list of all scheduled call records in our database to the users. All users of the application will see the same list of call records and will...
6
by: AA Arens | last post by:
Hi, I have a database with 2 main forms. Contacts and companies. I share the base with two others via LAN. On the companies form I have buttons to navigate throught the records (>400). We are...
1
by: Sunray | last post by:
I have a form called the sales form and i have 2 sets of listboxes So what happens is. i add items form the bottom set of list boxes which are bound to a data base to the top set of list boxes which...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.