Dynamically Populate Web Page Values

T

TCook

Hello All,

I need to try to programmatically and dynamically populate some lists on a
web page. I wanted to know the best advised way to pass the information to
the web page. For example, should I use query strings? Is there a way to
put some code in the "Page_:Load" event which would allow me to use a
WebClient to submit values, etc.

Assuming there could be multiple lists on a page, how can I pass this
information to an ASP.Net app so that when the page is displayed, the
material is in a series of list boxes and what needs to be done to the
ASP.Net app such that it will expect these values?

Thanks in Advance,

TC
 
E

Elmo Watson

when using querystrings, just create variables (global), and then, assign
them to the content of the querystrings, inside the Page_Load event:
myVar=Request.Querystring("var")
Then, you can use them however you'd like on the page.......
 
T

TCook

Hey Elmo,

Let's say that I have 2 or 3 lists and I may have 3-5 items in each list,
would this be too many query strings? On that same subject, is there any
other way to do this without query strings?

Thanks,

Todd
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top