Embed progress bar into a tabular structure

Hi,
I want to have a tabular structure with only a couple of fields, but i want one of the fields to display the data as a progress bar. Is there any quick way of embedding a standard windows progressbar into the column?

Thanks

[241 byte] By [Gravedigger] at [2007-12-16]
# 1
Check out the MSDN article on creating a download manager.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/datagridcolumnstyle2.asp

In my experience, there is no EASY way to add various Controls into DataGrid columns. I've seen two approaches. One is to "fake" a DataGrid and use other controls to mimic the dataGrid look and experience (potentially a lot of work depending on your plans for the datagrid).

The other is to implement your own DataGridColumnStyle. The MSDN article shows you how to do that. i would recommended downloading the code and walking through the ProgressDataGridColumnStyle to see how to implement your own.

Nate

nathankoterba at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 2
Thanks for the reply.
Hmm, i'd really like to use the built in 'xp' progressbar.

I only require a very simple table structure, it doesnt have to be sorted or anything. I want to use it to display search results, with a progress bar which represents how much they match, then allow the user to select one row.
I think i'm going to have to implement the whole thing by my self.

I havent done much control creation before, so i'm thinking for this that i'll actually need two controls. One to represent a row, using textboxes and a progress bar etc, and another to collect any number of rows together in a table. Am i right in thinking this is the bestway to go with this do you think?

Cheers for any help

Gravedigger at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...