Hey, does anyone know how you set the Text property of a label/textbox to a value returned via a BLL?
Example:
User enters ProductID into textbox, presses enter. Code behind sends ProductID to BLL. BLL queries DAL, returns 1 row. DAL passes row to BLL, BLL passes row to PL code behind. [How do I take the ProductName value for example and set the text property of a label with it?]
BLL:
Imports DSNorthwindTableAdapters
Public Class ProductsBLL
Private _productsAdapter As ProductsTableAdapter = Nothing
Protected ReadOnly Property Adapter() As ProductsTableAdapter
Get
If _productsAdapter Is Nothing Then
_productsAdapter = New ProductsTableAdapter()
End If
Return _productsAdapter
End Get
End Property
Public Function GetProductByProductID(ByVal ProductID As Integer) ...
Go to the complete details ...