/ Published in: C#
This is an example piece of code that will load a SubSonic collection into the "col1" object. The collection class is told to look for the column "VendorId" in the products table and pull it based based on the matching supplied vendorId.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ProductsCollection coll = new ProductsCollection().Where("VendorId", vendorId).Load();