Ask a Question related to ASP.NET General, Design and Development.
-
KathyB #1
Datalist - how (if) to use a sub variable or session variable in the footer?
Hi, sorry to be greedy with all my posts lately, but can you tell I'm
doing new things this week?
I've just done my first datalist (a simple one), that give me one
column of records. I would like to put the total count of the rows
into the control's footer. I couldn't find any references for doing
this and ended up trying several things, one of which was assigning a
variable within the sub creating the datalist control, and when that
didn't work (referencing varCount), I tried setting a Session variable
(Boards)...the number is correct. However the following doesn't
produce the number, just the "boards" text...any ideas?
<%# Session("Boards") + " boards total" %>
Thanks again for ALL the help...it is TRULY appreciated by a new
user!!!
Kathy
KathyB Guest
-
#39634 [NEW]: session variable and normal variable
From: erhanbaris at gmail dot com Operating system: Win Xp SP1 PHP version: 5.2.0 PHP Bug Type: Variables related Bug... -
session variable and IE
Hi there, I have a session variable that holds an user name, after user logs in. All works just fine in development environment (Intranet) for IE... -
Session Variable
Is it true that when your ASP application jump's from one Virtual Directory to another Virtual directory then you cannot access session variables... -
How to use session variable
Hi, Total PHP newbie here. I'm trying to use PHP 4.3.6 in Dreamweaver MX, and I want to make a login form that has a drop down. The value that... -
[SESSION] Session variable deleted prior to command?
Hi all, I'm developing a database system on my local computer (OS/version details at bottom) with a simple user authentication using sessions. On... -
dave #2
Datalist - how (if) to use a sub variable or session variable in the footer?
on item created, test if it is an item you want to count,
add it to a variable in viewstate then, put it in the
footer.you tell I'm>-----Original Message-----
>Hi, sorry to be greedy with all my posts lately, but cangive me one>doing new things this week?
>
>I've just done my first datalist (a simple one), thatthe rows>column of records. I would like to put the total count offor doing>into the control's footer. I couldn't find any referencesassigning a>this and ended up trying several things, one of which wasand when that>variable within the sub creating the datalist control,Session variable>didn't work (referencing varCount), I tried setting adoesn't>(Boards)...the number is correct. However the followingby a new>produce the number, just the "boards" text...any ideas?
>
><%# Session("Boards") + " boards total" %>
>
>Thanks again for ALL the help...it is TRULY appreciated>user!!!
>
>Kathy
>.
>dave Guest



Reply With Quote

