Link to home
Start Free TrialLog in
Avatar of Dnx_7
Dnx_7Flag for Belgium

asked on

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.
SOLUTION
Avatar of Amandeep Singh Bhullar
Amandeep Singh Bhullar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can you provide more information (and code) ?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial