DataBinding to GridView
Posted
by liran
on Stack Overflow
See other posts from Stack Overflow
or by liran
Published on 2010-05-08T11:19:34Z
Indexed on
2010/05/08
11:28 UTC
Read the original article
Hit count: 318
Hello,
I Have a gridview object and i want to bind it to Object..
My Object is
namespace DataBinding
{
public class BindingObject
{
public ColorInfo Color { get; set; }
public string Name { get; set; }
public struct ColorInfo {
public string Red { get; set; }
public string Green { get; set; }
public string Blue { get; set; }
}
}
}
I want that in the gridview i will see only the Name Property And Red property.. Now when i bound it my gridview see like this: Color column and Name Column and i want Red column and Name Column..
How i do this..
Thanks..
© Stack Overflow or respective owner