• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2162
  • Last Modified:

How to display progressbar in datagridview

Hi experts

i bind a datagridview with a bindinglist(of Object)

the object contains a progressbar :

public class theObj

private _pb as progressbar

public sub new
_pb = new progressbar
end sub

public readonly property MyProgressBar as progressbar
get
return _pb
end get
end property

end class

the binding works but the datagridview use the "tostring" method of the progress bar that's why i see "system.windows.forms.progressbar"

how can i display the progress bar properly WITHOUT telling the datagridview that such column is a progress bar?

is it possible?

Thank you,

Regards.
0
Dnx_7
Asked:
Dnx_7
2 Solutions
 
Amandeep Singh BhullarCommented:
You need to tell datagridview regarding the column type.
Else it will not work properly

For details on using progress bar, you can refer to:
http://www.vbforums.com/showthread.php?t=414067
0
 
Jorge PaulinoIT Pro/DeveloperCommented:
Can you provide more information (and code) ?
0
 
CodeCruiserCommented:
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now