Hi There,
I'm trying to put some data from a SQL database directly into my asp page - rather than in a databound control. Is this possible? I thought I could use a literal databinding expression like <%# sqlDataSource.nameOfSelectedItem %> and the text would appear on the page, but first of all I cannot reference selected items like this, and secondly data in the literal does not show up when rendered in a browser.
Anyone know how this can be done and/or what I am doing wring?
Thanks in advance!
Stephen
I'm trying to put some data from a SQL database directly into my asp page - rather than in a databound control. Is this possible? I thought I could use a literal databinding expression like <%# sqlDataSource.nameOfSelectedItem %> and the text would appear on the page, but first of all I cannot reference selected items like this, and secondly data in the literal does not show up when rendered in a browser.
Anyone know how this can be done and/or what I am doing wring?
Thanks in advance!
Stephen