This is a migrated thread and some comments may be shown as answers.

Changing the country code in a "country" bound datafield to it's full name

1 Answer 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 21 Oct 2011, 02:24 PM
So I have a RadGrid that is bound to the result of a SOAP call that returns a bunch of clients. Each client's country is returned as the 3 digit iso3 code (examples: "USA" for Unites States or "AUT" for Austria).The country column is bound using a GridBoundColumn.

I already have a table that contains the iso3 codes and the full names of the country that I can reference.

I'm wondering how can I most efficiently change the iso3 output to show the full name to the user.
 

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Oct 2011, 03:26 PM
Hello Greg,

One approach is to create a new datatable with two datatables which you are using. And then bind the grid using the new datatable.

Hope it helps.

Thanks,
Shinu.
Tags
Grid
Asked by
Greg
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or