Show data outside data controls

M

Mirnes

Hello!

How can I show data outside of data controls (gridview, listview
etc.). I want to build CSS menu with data from database table and that
is the reason why I need it outside of any data control.
 
M

Masudur

Hello!

How can I show data outside of data controls (gridview, listview
etc.). I want to build CSS menu with data from database table and that
is the reason why I need it outside of any data control.

hi,

Whats wrong with using the repeater Control or datalist control...
both can be bind from database... and with little work you can make
exactly look like css menu

Thanks
Masudur
 
M

Mirnes

Hello Masadur,

Off course there is nothing wrong with repeater or datalist or any
other control in asp.net. I was just
wondering how to show data outside of these controls since I have some
ideas that I would like to
implement in my site.

Besides menu, I would like also to have "dynamic title" on every page
which will be, off course, some
database field.

Regards.

Masudur je napisao:
 
Y

Yuriy Solodkyy

<head runat="server">
<title runat=server><%# GetTitle() %></title>
</head>

and DataBind() somewhere in Page_Load?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,678
Members
48,796
Latest member
Greg L.

Latest Threads

Top