I have a SQLDataSource which returns only one row. From that row, I'd like to read a column and display that into my page using a label. Here's my current code that doesn't work:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
lblTitle.Text = SQLDataSource1("ArticleTitle")
End Sub
Thanks in advance.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
lblTitle.Text = SQLDataSource1("ArticleTitle")
End Sub
Thanks in advance.