HOW TO: Control the layout of data from a database.

E

E Stafford

I want to have more control over the layout of displayed data in my
windows form instead of using a datagrid.

I'd like to use a DataReader but I can use a DataSet if need be.
In asp.net I can use a repeater control or a DataList control. Is there
anything available in C# .net for windows forms that can produce similar
results?
 
N

Nicholas Paldino [.NET/C# MVP]

E Stafford,

There is nothing like the repeater control in Windows Forms. You would
have to basically create the control that you want, position it, and bind it
to the ^row^ of data you wish. Then you would move to the next row, and
repeat.

Hope this helps.
 
E

E Stafford

Nicholas said:
E Stafford,

There is nothing like the repeater control in Windows Forms. You would
have to basically create the control that you want, position it, and bind it
to the ^row^ of data you wish. Then you would move to the next row, and
repeat.

Hope this helps.
Do you know of any good resources or instruction for creating custom
controls? Hopefuly something that a newbie can understand and follow as
I am very new to C# and .net.

thanks for you response.
 

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