473,404 Members | 2,137 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,404 software developers and data experts.

What control should I use to display an editable table of data?

Hi! I've got some data that I want to display and edit in table-format,
just like you would in Excel.

It seems like this should be fairly straightforward, but I can't find
any controls that do what I want. The closest one I've found is a
ListView, but it will only let me edit the first column of data.

What control should I be using? My data is very simple (about 10
ArrayLists, each with 2 strings followed by 2 floats).

Thanks : O )

Jan 9 '06 #1
4 1340
Have you looked at the DataGrid (in .NET 1.1 and before) or the
DataGridView (in .NET 2.0)? They are grid controls meant for the display
and editing of tabular data.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<jo*****@gmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
Hi! I've got some data that I want to display and edit in table-format,
just like you would in Excel.

It seems like this should be fairly straightforward, but I can't find
any controls that do what I want. The closest one I've found is a
ListView, but it will only let me edit the first column of data.

What control should I be using? My data is very simple (about 10
ArrayLists, each with 2 strings followed by 2 floats).

Thanks : O )

Jan 9 '06 #2
No, I hadn't, I was under the impression that DataGrids only supported
external DBs as data sources.

I'll give that a look, thanks!

Jan 9 '06 #3
A data grid will support anything that implements IList, actually, and
there are a lot of things out there that do. =)
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<jo*****@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
No, I hadn't, I was under the impression that DataGrids only supported
external DBs as data sources.

I'll give that a look, thanks!

Jan 9 '06 #4
Yeah, that makes a lot more sense : O )

Thanks again!

Jan 9 '06 #5

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

Similar topics

7
by: deko | last post by:
SELECT tblTxAcct.TxAcctName, tblTxType.TxTypeName, Nz(qryTxAcctListCt.TxCount, 0) AS TxCt FROM (tblTxAcct INNER JOIN tblTxType ON tblTxAcct.TxType_ID=tblTxType.TxType_ID) LEFT JOIN qryTxAcctListCt...
24
by: Bob Alston | last post by:
Most of my Access database implementations have been fairly small in terms of data volume and number of concurrent users. So far I haven't had performance issues to worry about. <knock on wood> ...
1
by: Al Wilkerson | last post by:
Hey, I have a Web Form with a drop down list, textbox, and search button. When click the search button an SQL server database is queried fordata. Once I have the data in a dataset I use the...
4
by: emzyme20 | last post by:
Hi, I am trying to populate a list control that is bound to a data table but the display member needs to come from a different data table. I have two list controls in C#, one displaying...
1
by: John Phelan-Cummings | last post by:
When I add the name of a new individual in a, bound form, it will not display that person’s name in a label control of a second unbound form. I have a scheduling program that I am working on. ...
1
by: polder_udo | last post by:
Hello i have some questions reguarding C#. Sorry for the probably very basic questions but i just started C# and need some informations to start up in the "right way". I need to develop some...
2
by: anuragpj | last post by:
I had made a database table of a persons profile. now I want to show the data to the user in form of a editable html form so that the user can update his profile and database table should also be...
2
by: adrin | last post by:
hello, i am a c# newbie, and i'm writing an application that requires to show some numerical data in a table(it is a distance matrix). i wonder if there is any component that serves such...
3
by: Emma Middlebrook | last post by:
Hi there, I've been trying to implement a repeater control in an ASP.NET 2 page but I can't seem to get the layout exactly how I want and I'm not sure if it's something that I am doing wrong or...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.