Riddhi Valecha

Riddhi Valecha

  • 442
  • 3.3k
  • 411.6k

Fill combo box in silverlight using collections !!

Oct 12 2012 8:23 AM
Dear All,
I have a table and I want to load a combobox in silverlight using LINQ-to-SQL Classes.
Table-
ID
FName
1
Keyur
2
Nishant
Now, In my silverlight Page, I want to load the combobox with FName columns.

I have to compulsarily use System.Collection.Generics - eg - list.

My Linq Query - var fnames = from names in TblNames select new { names.FName};

I am getting an error in using IList Interface.

Please help me out..

Thank You all in advance !!



Answers (10)