1
123qwe
I have a Windows Forms-based solution in Visual Studio 2005, containing two
projects one a Windows Control Library and a Windows Application. the Control
Library has a Custom Control which aggregates a DataGridVew control. This
custom control is consumed in the Form (part of Windows application project).
When I try binding the DataGridView with a collection of Custom Objects at
runtime, the code executes properly without any exceptions but its not
showing up the data. where as when I write similar code using the
DataGridView dropped directly on a Form its works perfectly fine.
Note: the Custom class I am using to bind is a WCF Data contract class
(since it work fine with the grid on Win form, ideally it shouldnt be a
problem with the Grid on the User control).
please help.
projects one a Windows Control Library and a Windows Application. the Control
Library has a Custom Control which aggregates a DataGridVew control. This
custom control is consumed in the Form (part of Windows application project).
When I try binding the DataGridView with a collection of Custom Objects at
runtime, the code executes properly without any exceptions but its not
showing up the data. where as when I write similar code using the
DataGridView dropped directly on a Form its works perfectly fine.
Note: the Custom class I am using to bind is a WCF Data contract class
(since it work fine with the grid on Win form, ideally it shouldnt be a
problem with the Grid on the User control).
please help.