Diesel Posted January 9, 2009 Posted January 9, 2009 I've been wondering this for a while, might as well pose the question here. I have interface A and class B defined as: public interface A { string Name { get; set; } string Desc { get; set; } } public class B: A { private string m_Name; private string m_Desc; string A.Name { get { return m_Name; } set { m_Name = value; } } string A.Desc { get { return m_Desc; } set { m_Desc = value; } } } [/Code] I want to data-bind an array (or list, doesn't matter) of Class B to a datagrid. How do I do it? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.