Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

webpage display question

Status
Not open for further replies.

flnMichael

Programmer
Nov 13, 2003
96
US
Hey,
I am connecting to a database to get information to display on my webpage. The amount of information varies, so how do I go about making my page vary as well?

The way I currently do things is by dropping buttons, text fields, etc. onto the design view, so those elements are static. With this issue, I may have 15 rows to return and the buttons and stuff would still stay in their original places and possibly overlap with the rows. So pretty much, how do I make my page completely dynamic (how do I tie in the amount of data I receive from the database from the codebehind with the html and design page)? Is it somewhat like ASP where I use <% %> in the html to run my database connection instead of in the codebehind?

Thanks
Mike
 
If you set your pageLayout to FlowLayout then the controls won't be set to an absolute position.

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
use tables to help keep static objects moving with your data...

"...we both know I'm training to become a cagefighter...see what happens if you try 'n hit me..."
 
so a table in conjunction with the flowlayout should work perfectly?
 
Yes it will

--------------------------------------------------------------------------------------------------------------------------------------------

Need help finding an answer?

Try the search facility ( or read FAQ222-2244 on how to get better results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top