webform questions about listbox and html

C

cloverme

I have a couple of questions about coding (using vb.net) to a webform.
Thanks in advance for your help. I'm a little new to vb.net, but a VB
veteran.


1) When the page loads, how can I generate html at the top of the page?

For example...

If some variable = 1 then the html at the top of the page will be "hello"
If some variable = 2 then the html at the top of the page will be "hello
world"... etc...


2) I linked my project to an access database on a server, I had it generate
a dataset as well. I dropped a dropdownlist control on my page and told it
to get the data from that dataset. The control properties 'found' the
table and the field that I wanted to use to populate the list. When I run
the page, the drop down list is empty. Any ideas what I'm doing wrong?

3) I can't find a way to generate a simple on a webpage. I found some
examples on the web, but it requires like 4 pages and 200 lines of code and
it still didn't work. Does anyone know of some simple code to make a graph
on a webform? I found some $400 packages that will do every kind of graph
you want, but I'm just looking for something easy.


Thanks,
Chris L.
 

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

Top