If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Dynamic Data Linq to SQL problems

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-11-09, 15:13
Ethel Ethel is offline
Registered User
 
Join Date: Mar 2009
Posts: 1
Dynamic Data Linq to SQL problems

Hi All,

I am trying to create a site using Linq to SQL and need to have a search box at the top of each page relating to the data from the tables. I have found information on the ASP.net site about a Dynamic Data Filter that is supposed to do this but I can't get it to work. I have gone through each step as outlined but I only get the controls and when I try to bind them to the data I either get a non working control or an error.

Has anyone used this and if so what might I be missing?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 08-11-09, 16:32
Teddy Teddy is offline
Purveyor of Discontent
 
Join Date: Mar 2003
Location: The Bottom of The Barrel
Posts: 6,042
You'll need to provide more information, and probably some code.

In general you should be able to use something like:

YourEntity.Where(o => o.SomeField.Contains(yourParameter));
__________________
oh yeah... documentation... I have heard of that.

*** What Do You Want In The MS Access Forum? ***
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On