Hi All, I am new to LINQ . Here i am getting one problem while using query results more than once in my code. Dim col = From obj In db.MyStoredProc( ) _ Select obj.TextField, obj.ValueField Call PopulateComboBox(DropDownlist1, col, " TextField " , " ValueField " ) Call PopulateComboBox(DropDownList2, col, " TextField " , " ValueField " ) While executing this code i am getting error that " The query results cannot be enumerated more than once." Can anyone advise me on this ,how can i use one query
Read More...