Ask a Question related to ASP.NET General, Design and Development.
-
James Rasmussen #1
List items in a folder
I would like to be able to list a directory (or something like it)of the
contance of a certian folder. How can this be done on a web page?
TIA
Jim
James Rasmussen Guest
-
JavaScript: html list items within list items?
Hi, I've seen how to implement a JavaScript to change the CSS class of every other list item in an unordered list, but, being new to JavaScript,... -
Max Number of Items in a List
Hello, can anyone tell me the syntax format for retrieving the number of elements that the listbox currently holds?? In flashMX2002 script... -
help with Flash list box items
Hello, I am rather a novice to Flash, but no where in my manuals and tutorials can I find how I can change the font-family, color, and font-size... -
Howto stop folder from expanding when moving items into it
Folks, Is it possible to stop folders from expanding when moving items into them? (annoying) I can't find an option to turn this on or off. ... -
referencing items in a list box
This is a 2 part question. 1. I was wondering how to check to see if an item is in a listbox through code. For example: I want to check if... -
Saravana #2
Re: List items in a folder
This is how you can do that with listbox web control, consider lstFileName
as listbox
Dim oDirectoryInfo As DirectoryInfo
oDirectoryInfo = New DirectoryInfo(hdnDirName.Value)
lstFileName.DataSource = oDirectoryInfo.GetFiles("*.resources")
lstFileName.DataTextField = "Name"
lstFileName.DataValueField = "Name"
lstFileName.DataBind()
--
Saravana
Microsoft India Community Star,
MCAD,SE,SD,DBA.
"James Rasmussen" <jmrasmus@yrmc.org> wrote in message
news:ut7brliUDHA.2184@TK2MSFTNGP10.phx.gbl...> I would like to be able to list a directory (or something like it)of the
> contance of a certian folder. How can this be done on a web page?
> TIA
> Jim
>
>
Saravana Guest



Reply With Quote

