|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
OK. This is the question. I have a form for let's say an owner of few pets. I get data of owner from database and change them. That works.
How to list ALL pets that are his.... I can put 10 text boxes on screen and list names of pets in them, but what if he has 26 pets, or just one? I need something that can change relative to number of pets. for example, guy named Pete has 3 pets. One pet is Joe, one is Cookie, and one is Johhny. I need something like list box so all pets will be listed inside. But, when all pets ARE listed, I could click on its name and open new form in which I could operate with data of that specific pet. I don't even know where that could be....or how to get something like that from database... ![]() |
|
#2
|
|||
|
|||
|
um have you thought about using repeater?
if u don't like repeater there are ways to dynamically add form controls. eg. TextBox a = new TextBox(); a.Text=""; Form1.Controls.Add(a); or Page.Controls.Add(a); (in asp.net) HTH
__________________
Regards, James Yang .NET Developer / Network Engineer MCSE, MCDBA, MCSA, CCNA http://www.yellowpin.com/ http://www.opentechsupport.com/ |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > not so simple question for VB.NET |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|