Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enum column in datagrid that is binded (Urgently)

Status
Not open for further replies.

panadoll

Programmer
Feb 28, 2002
52
SG
Hi,

I need help urgently. I am using vb.net to do a program. Currently i encountered a problem.

My datagrid is bound to the dataset. However, the data in 1 of the column is in 0 or 1 e.g. status.

I want to use enum or some other methods to convert these 0s & 1s to Inactive and Active upon display on datagrid.

I hope I can avoid transversing through the list to manually change the value.

Is there any way that i can use to solve this problem?

Thank you in advance
 
Can you do this change when you first populate the dataset (eg. in a sql statement) so that you don't have to do anything in the datagrid?

Durkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top