Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1233
Binding to an interface that inherits from another interface
posted

If I am binding a grid to a binding list of a given interface using an ultradatasource, and the interface inherits from another interface, is there a way to bind to the parent properties?

 Public interface y
{
 Datetime audit;
}
Public interface x : y
{
 string x;
}

I am binding the grid to interface x, but I also want to include the properties of interface y.  I have confirmed that if I don’t inherit y and include those properties my objects work.  The problem is that that I pass interface x to routines that accept interface y.