Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jump Start OrderDetail.GetOrderDetail() typo
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Jump Start OrderDetail.GetOrderDetail() typo
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
00998823
Message ID:
00998823
Views:
74
This may have already been covered, but is there a typo in the GetOrderDetail() method of the OrderDetail class in the Jump Start, version 1.3?
' Returns a DataSet containing all order items for the specified order
Public Function GetOrderDetail(ByVal orderID As Integer) As DataSet
    Return Me.GetDataSet("SELECT * FROM " + Me.SourceTable + " WHERE OrderID = @OrderID", _
      Me.CreateParameter("@OrderID", orderID))
End Function
Me.SourceTable is undefined. Should this be a field in class, or am I missing something?
Chris McCandless
Red Sky Software
Reply
Map
View

Click here to load this message in the networking platform