Show data outside data controls

  • Thread starter Thread starter Mirnes
  • Start date Start date
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.
 
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
 
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:
 
<head runat="server">
<title runat=server><%# GetTitle() %></title>
</head>

and DataBind() somewhere in Page_Load?
 
Back
Top