Click here to Skip to main content
15,917,793 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,
I have a database and a table in it with one column. I want to print all rows in that table in the page. Also i want to use each row as a button. So what i want is to print the column's row data inside an
  • in a menubar. i want to know how to take the data from table and give in source code.

    For example:

    XML
    <div id="menubar">
            <div id="top_nav" class="ddsmoothmenu">
                <ul>
                    <li><a href="index.aspx" class="selected">Home</a></li>


    As in the above code the text "Home" is to be changed to the row data from table. How to do that? Also i want print all rows in the table.
    Please reply soon.
    Thank You...
  • Posted
    Comments
    Sergey Alexandrovich Kryukov 9-Jul-13 15:02pm    
    It makes no sense unless you explain your server-side technology, database access and whatever else is relevant...
    —SA
    JasonMacD 9-Jul-13 15:33pm    
    I can follow what you are trying to do but no one can give any type of advice unless as Sergey stated you provide the server side language (C#, VB.NET, F#)?

    This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



    CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900