bindingsource.filter with parent-child
bindingsource.filter with parent-child
bindingsource.filter with parent-child
bindingsource.filter with parent-child
bindingsource.filter with parent-child
bindingsource.filter with parent-child bindingsource.filter with parent-child bindingsource.filter with parent-child bindingsource.filter with parent-child bindingsource.filter with parent-child bindingsource.filter with parent-child bindingsource.filter with parent-child bindingsource.filter with parent-child
bindingsource.filter with parent-child bindingsource.filter with parent-child
bindingsource.filter with parent-child
Go Back  Xtreme Visual Basic Talk > > > bindingsource.filter with parent-child


Reply
 
Thread Tools Display Modes
  #1  
Old 10-11-2017, 09:16 PM
brolly brolly is offline
Newcomer
 
Join Date: Nov 2014
Posts: 2
Default bindingsource.filter with parent-child


I have the following tables with tblSetItem serving as an intersection table for a many-many relationship between Sets and Items. The table relationships are created in the base dataset.

tblSetItem
SIID (PK)
SetID (FK)
ItemID (FK)

tblItem
ItemID (PK)


Can I use a table bindingsource.filter method to return a subset of tblItems based on a tblSetItem.SetID criteria? In SQL terms:

HTML Code:
SELECT tblItem.ITEMID, tblSetItem.SETID
FROM tblItem LEFT JOIN tblSetItem ON tblItem.ITEMID = tblSetItem.ITEMID
WHERE (((tblSetItem.SETID)=28));
If so, how? Or must I look to an alternate approach such as LINQ?
Reply With Quote
Reply

Tags
tblsetitem, table, itemid, tblitem.itemid, tblsetitem.setid, bindingsource.filter, tblitem, join, left, select, parent-child, criteria, sql, terms, tblsetitem.itemid, alternate, approach, linq, tblsetitem.setid=28;, based, relationships, created, intersection, base, items


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
bindingsource.filter with parent-child
bindingsource.filter with parent-child
bindingsource.filter with parent-child bindingsource.filter with parent-child
bindingsource.filter with parent-child
bindingsource.filter with parent-child
bindingsource.filter with parent-child bindingsource.filter with parent-child bindingsource.filter with parent-child bindingsource.filter with parent-child bindingsource.filter with parent-child bindingsource.filter with parent-child bindingsource.filter with parent-child
bindingsource.filter with parent-child
bindingsource.filter with parent-child
 
bindingsource.filter with parent-child
bindingsource.filter with parent-child
 
-->