S
Sparky Arbuckle
First and foremost, is it possible to execute two SQL statements that
grab different data out of the same database in the same Page_Load
subroutine?
I am building a music store and want to do a SQL for ASIN, Release
Date, Number of Disks, Price, etc... I have done this successfully.
The next SQL I am constructing is going to be for the track numbers,
names, and url for audio clips.
I guess my question is this: How would I go about successfully creating
two different SQL statements and referencing them in two different
datalists? I have successfully created and bound the first SQL to a
DataList and am running in to problems with the second one.
<!-- SQL statement for TrackListing [START] -->
Dim strSQLTracks as string = "SELECT ASIN, TrackNum, TrackName,
SampleURL FROM tblTracks WHERE ASIN ='" & strASIN & "';" & _
"FROM tblDescription WHERE ASIN = '" & strASIN & "';"
<!-- SQL statement for TrackListing [END] -->
grab different data out of the same database in the same Page_Load
subroutine?
I am building a music store and want to do a SQL for ASIN, Release
Date, Number of Disks, Price, etc... I have done this successfully.
The next SQL I am constructing is going to be for the track numbers,
names, and url for audio clips.
I guess my question is this: How would I go about successfully creating
two different SQL statements and referencing them in two different
datalists? I have successfully created and bound the first SQL to a
DataList and am running in to problems with the second one.
<!-- SQL statement for TrackListing [START] -->
Dim strSQLTracks as string = "SELECT ASIN, TrackNum, TrackName,
SampleURL FROM tblTracks WHERE ASIN ='" & strASIN & "';" & _
"FROM tblDescription WHERE ASIN = '" & strASIN & "';"
<!-- SQL statement for TrackListing [END] -->