CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 save last value of listbox?

Print topic Send  topic

Author Message
mike2
Posted: 11/15/2004, 1:40 AM

hello,
i want to save the last value of a listbox into a session!
is this possible?
thanks
Stan
Posted: 11/15/2004, 2:17 AM

Hi

What you mean by "last value"? Value of last item in list box or value of last selected item in case of multiple listbox? Also in which moment you want to do this - before show or before insert/update/delete?

Stan
mike2
Posted: 11/15/2004, 2:42 AM

hi stan,
i need the "Value of last item in list box" after the insert!
mike

Quote Stan:
Hi

What you mean by "last value"? Value of last item in list box or value of last selected item in case of multiple listbox? Also in which moment you want to do this - before show or before insert/update/delete?

Stan
Stan
Posted: 11/15/2004, 3:52 AM

Mike

You can try the following:

Session("Some ID") = <FormName><ControlName>.Items(<FormName><ControlName>.Items.Count).Value

Stan

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.