Posted on: 10/26/2012 1:54:57 AM | Views : 215

Hi again,
With the web page I'm builiding, I have to create buttons for each entry in a SQL database. I can create the buttons just fine dynamically and add them to the page, but I'm wondering how can I dynamically set their location? I can't seem to find a location property for the button or the parent page unless I'm missing something.
Pseudo code:
query for names foreach( name in names ) { thisPage.Controls.Add( new Button ) set most properties of newButton newButton.Location = // how do I set this? } Any help is appreciated
...

Go to the complete details ...