Advertisement

05.22.2008 at 12:13AM PDT, ID: 23423489
[x]
Attachment Details

Enumerate values in datagrid

Asked by JamesBrian in Microsoft Visual Basic.Net, .NET, Microsoft Visual C#.Net

Tags: VB.Net or C#

Hi all,

my datagrid gets its data from a dataview:

Dim catView As DataView = New DataView(ds.Tables("DMFA_ACRF_NT_ONTV"))
grdSendFromFile.DataSource = catView

The dataset / datagrid has some 2000 rows and 8 columns.
One of these columns holds a value from the database : either 1, 2 or 3
Instead of just showing 1, 2, 3 in the corresponding column in the grid,  I want to 'enumerate' these values.
For example : a '1' would have "Type One" , '2' would have "Type two" and so on


Any suggestions?
Start Free Trial
[+][-]05.22.2008 at 12:36AM PDT, ID: 21621599

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual Basic.Net, .NET, Microsoft Visual C#.Net
Tags: VB.Net or C#
Sign Up Now!
Solution Provided By: hammdan_1980
Participating Experts: 4
Solution Grade: A
 
 
[+][-]05.22.2008 at 02:26AM PDT, ID: 21622064

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.22.2008 at 04:07AM PDT, ID: 21622634

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.22.2008 at 05:13AM PDT, ID: 21622987

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.22.2008 at 05:34AM PDT, ID: 21623142

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628