DataGrid with SqlCeResultSet
Hi
I am displaying database table content in a datagrid. to display the
values in the datagrid i am using bindingsource combiled with
SqlCeresult set. I am able to display the table contents in the grid
sucessfully. ( I am using VS2005,VB.net 2005, .NET CF 2.0, SQL CE 2005
compact edition, Windows Mobile 5.0 Pocket pc emulator)
My problem.
in the table there is a status field. which is a nvarchar(1) field. so
the values stored in the field are like this
D-> delivery
R -> return
C --> Canceled.
when the data is displayed in the Datagrid, the status field values
are displayed D, R, C. Instead of that i have to display Delivery,
Return, Canceled. i can't modify the table structure to store full
description in the status field. How to do it?.
Thank you
Date:Tue, 07 Aug 2007 18:27:01 -0700
Author:
|