views:

43

answers:

1

Hi all,

I have a bindingsource which has been filled out by

tableadapter.fill(DS, param1);

lets say that this bindingsource has :

char num
A     1
B     2
C     3

how do I get num value with given char 'A' using linq?

I could literate using foreach (DataRowView data in this.p_EM_Select_Event_TypeBindingSource) but I would like to know how to do this in linq

Thanks,

+1  A: 

This should help:

http://msdn.microsoft.com/en-us/library/bb399401.aspx

cheers

Marko