Hi
I'm asking for some help with this code, it takes about 6.5 seconds to execute. is there a quicker way? number of rows in the tables are about 200.
I'm asking for some help with this code, it takes about 6.5 seconds to execute. is there a quicker way? number of rows in the tables are about 200.
VB.NET:
Dim query = From s In dtSupplier, p In dtPost, c In dtCategory, b In dtBudget _
Where s!strSupplier = p!strSupplier And c!strBudget = b!strBudget And _
s!strCategory = c!strCategory And c!boolExlude = False And _
DateAndTime.Year(p!dDate) = DateAndTime.Year(Now()) _
Select s!strCategory, s!strSupplier, p!intCost, p!dDate, c!strBudget, b!intBudget, c!boolExlude