المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Binding enum to GridView



C# Programming
01-30-2010, 05:11 PM
hi all,

I want to bind enum with a GridView.
my enum is like this:


enum tType
{
abc = 1,
xyz = 2,
pqr = 3
}


Now i want to display values of this "tType" in my GridView column.
Can anybody tell me how to do it?

Thanks,
Nagendra.