I had a little trouble yesterday trying to get a Strongly Typed view working correctly in SubSonic. I spent a good 2 hours beating my brain trying to figure it out (I don't have internet at home yet - no Googling). Well after an hour break I came back and it hit me. It's very easy to implement, so lets start.
First off SubSonic will create your view as a collection. If your view is named v_RecentShares then you'll get a VRecentSharesCollection object.
You can then use that to query your view and iterate with a Strongly Typed reference:
Dim V as VRecentSharesCollection() = new VRecentSharesCollection().Load()
Dim Row as VRecentShares()
For Each Row in V
Dim ShareName as String = Row.ShareName
Next
2 comments:
What was causing you to bang your head?
Replica Handbags
Fake Handbags
Knockoff Handbags
Replica Louis Vuitton Handbags
Replica Gucci Handbags
Replica Chanel Handbags
Prada Handbags
Replica Fendi Handbags
Replica Dolce Gabbana Handbags
Replica Chloe Handbags
Replica Jimmy Choo Handbags
Replica Thomas Wylde Handbags
Replica MiuMiu Handbags
Replica Balenciaga Handbags
Replica Coach Handbags
Replica Lancel Handbags
Replica Hermes Handbags
Replica Marc Jacobs Handbags
Replica Anya Hindmarch Handbags
Replica YSL Handbags
Replica Mulberry Handbags
Replica Givenchy Handbags
Replica Valentino Handbags
Replica Versace Handbags
Replica Cartier Handbags
Replica Marni Handbags
Replica Bottega Veneta Handbags
Replica Loewe Handbags
Replica Kooba Handbags
Replica Bally Handbags
Replica Burberry Handbags
Replica Christian Dior Handbags
Replica Juicy Couture Handbags
Replica Ferragamo Handbags
Replica Celine Handbags
Post a Comment