is this too tricky?

  • Thread starter Thread starter Rob Eventine
  • Start date Start date
R

Rob Eventine

hello
i need to know if the folowing can be done.. (and an example would be
very nice lol )

if i have a drop down table of 20 plus items, do i need to have 20 plus
pages ( pain to have to do each one by hand )

or

can i use the drop down list datatable (?) to generate a single page to
accomodate the selected items so i only need to design one page and the
relevant headers etc, are filled in for me?

much prefer this method..

i can seem to find anything about this anywhere...

thanks in advance
 
Rob Eventine said:
hello
i need to know if the folowing can be done.. (and an example would be
very nice lol )

if i have a drop down table of 20 plus items, do i need to have 20 plus
pages ( pain to have to do each one by hand )

No, you would have a Web Control DropDown List that would hold the 20
entries. The Dropdown list would be on a single Web page, which can have
other controls on the one page too. :)
or

can i use the drop down list datatable (?) to generate a single page to
accomodate the selected items so i only need to design one page and the
relevant headers etc, are filled in for me?

You can bind a Datatable, ArrayList, or strong type collection with the data
in them and bind them to a control such as a Dropdown list, ComboBox,
GridView where the data is bounded (loaded) into the control. A control such
as a Griview will load the field names as header or you can supply your own
custom headers.
much prefer this method..

i can seem to find anything about this anywhere...

If you're on a Windows Desktop form, then you can do the same thing with the
controls.

I think you need to find a good book and start from there.

Maybe, this will help you too.

http://msdn2.microsoft.com/en-us/beginner/bb308760.aspx
 
Yea, you got the idea...

Get the value from the list and then build a single page dynamically using
criteria related to the context of what was selected from the list. With 20
items its going to mean a lot of planning. That's where you save yourself
work.

Draw and plan the entire logical process on paper before you write the code.
A sheet with boxes drawn on it to indicate where context-specific content is
supposed to be displayed and so on. Plan naming conventions for all of the
bits and pieces of folders, images, files, other controls and whatever you
are going to use to dynamically build the results page with. Do all this
work planning up front and you'll be okay when you start coding.

As for examples? Hardy Har Har. I don't know man, when was the last time you
tried to download the web? :-) But I sympathize, there are not many
specific keywords I can think of at the moment that will help as search
terms but try this to get started:

build dynamic asp.net response page
 
Back
Top