ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 18th, 2003, 07:59 PM
crnaovca crnaovca is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 1 crnaovca User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Smile not so simple question for VB.NET

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...

Reply With Quote
  #2  
Old June 20th, 2003, 10:17 AM
James Yang James Yang is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Atlanta, Georgia
Posts: 284 James Yang User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 45 sec
Reputation Power: 7
Send a message via ICQ to James Yang
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/

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > not so simple question for VB.NET


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT