Any tips for a component or something?

M

Mats Lycken

Hi,
I'm writing a winforms project where I need to display data from a DataSet
in a list.
Each data item should be displayed in a group with some textboxes and labels
and it should
be editable and update the underlying datasource.
A asp.net repeater would be ideal, but I can't find something similar for
winforms.
I've looked and some datagrids, like infragistics, that support custom row
layout.
But it doesn't really do the trick and it feels kind of overkill to use a
fullfledged datagrid
for that simple operation.
Does anyone have any tips on components that does the same thing as asp.net
repeater
for winforms, or maybe a tip on another solution to display data.

Thanks in advance
/Mats
 
M

Mats Lycken

Thanks for the reply!

The thing is that my rows aren't ordinary rows per say, I want a really
custom look to them.
This is to increase readability and create a better overview of the data.

The layout will be something like this:

---------------------
| |
| Textbox |
---------------------
--------------------- --------------------- ---------------------
| | | Textbox | |
Textbox |
| Textbox | --------------------- ---------------------
--------------------- Checkbox Checkbox

I've written a usercontrol that displays that and sort of a container
control too,
but I'd really like to use the convenience of just binding it to my
datasource and
then not needing to worry about any data getting lost or getting out of
sync.
 
C

Cor Ligthert

Mats,

Not that I have a solution, however don't forget that a webpage has no
bottom, so the repeater can stretch down as much data there is.

Just something I thought about.

Cor
 
S

Steven Castle via DotNetMonster.com

err im a bit noob but...couldnt u use the datagridview form?
You know the winform for viewing and inputing data convienintly into a datagrid?
It will be bound to the datasource and you can format the hell out of it...?
maybe im missing something...
 
S

Steven Castle via DotNetMonster.com

oh... now ive actually read your first post i see you want a customize datagrid....eg.."list"
eerrr override the datagrid display/paint somehow..?

or somehow use multiple datagridview forms aligned to look like theyre joined, and have the active form as..the active item...

just a thought, probably impossible... : )
sorry i cant help..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top