Code Comments
Programming Forum and web based access to our favorite programming groups.Hi,
I'm using compact framework for pocket Pc and I should change the
display values of a column in a grid, so I've a xml file where there is
a field where are saved the follow value 1,2,3 but I don't want to
transfrom it like:
switch (myRow["FIELD"])
{
case 1: DisplayValue = "First";
break;
case 2:DisplayValue = "Second";
break;
case 3:DisplayValue = "Third";
break;
}
so a run time I should see the description and not the value, How can I
do this?
Thanks
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.