Posted on: 9/28/2012 4:56:16 AM | Views : 193

<asp:EntityDataSource ID="CustomersEDS" runat="server" ConnectionString="name=NORTHWNDEntities" DefaultContainerName="NORTHWNDEntities" EnableFlattening="False" EntitySetName="Customers" Select="it.[CustomerID], it.[CompanyName], it.[ContactName], it.[ContactTitle], it.[Country]" OrderBy="it.[CustomerID]" /> </asp:EntityDataSource> <asp:QueryExtender ID="CustomersQE" runat="server" TargetControlID="CustomersEDS"> <asp:SearchExpression DataFields="Country" SearchType="Contains"> <asp:ControlParameter ControlID="TextBox1" /> </asp:SearchExpression> </asp:QueryExtender>
Hi 
I'm using "SearchExpression" for "QueryExtender". I have attached my code here. Whenever I run my code I get an error saying:
"'Country' is not a member of type 'System.Data.Common.DbDataR ...

Go to the complete details ...