S
simon
Hello,
i'm looking to create an aspx page that is basically a FAQ page
i'm not sure if this can be done, but would love some help with
suggestions of how to do it another way if this is not possible
on the aspx page i have a table with 1 row and 2 columns in it, in the
column on the left i have an asp:label, lblLinks and in the column on
the right i have another asp:label, lblBody
i'm reading the content of the links and body from the database
i'd like to be able to dynamically create the links, so i was creating
them like this is a dataSet loop:
"<a href="FAQ.aspx?section=" + drRow.Item("Section") + ">" +
drRow.Item("Section") + "</a>"
this isn't working because i'm not using frames, what i'd like to do
is have an onClick of this link that calls a codebehind function that
then fills the lblBody with the content read from the database.
my main question is how i can dynamically create link and have them
once clicked call the codebehind to fill another label with something
else read from the database.
thank you for any help
i'm looking to create an aspx page that is basically a FAQ page
i'm not sure if this can be done, but would love some help with
suggestions of how to do it another way if this is not possible
on the aspx page i have a table with 1 row and 2 columns in it, in the
column on the left i have an asp:label, lblLinks and in the column on
the right i have another asp:label, lblBody
i'm reading the content of the links and body from the database
i'd like to be able to dynamically create the links, so i was creating
them like this is a dataSet loop:
"<a href="FAQ.aspx?section=" + drRow.Item("Section") + ">" +
drRow.Item("Section") + "</a>"
this isn't working because i'm not using frames, what i'd like to do
is have an onClick of this link that calls a codebehind function that
then fills the lblBody with the content read from the database.
my main question is how i can dynamically create link and have them
once clicked call the codebehind to fill another label with something
else read from the database.
thank you for any help