Wondering how I do this. I have a SQL query that pulls three fields from the database.
SELECT quarter, startdate, enddate from quarters
this then populates a drop down box with the quarter.
I want to put two labels next to the drop down and have the text of the two labels populate from the startdate and enddate variables.
Tried this:
<asp:Label ID="Label1" runat="server" Text="@startdate"></asp:Label>
But obviously I only get the text "@startdate" printed.
Thanks
Don
SELECT quarter, startdate, enddate from quarters
this then populates a drop down box with the quarter.
I want to put two labels next to the drop down and have the text of the two labels populate from the startdate and enddate variables.
Tried this:
<asp:Label ID="Label1" runat="server" Text="@startdate"></asp:Label>
But obviously I only get the text "@startdate" printed.
Thanks
Don