Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > one to many relationships

Reply
Thread Tools

one to many relationships

 
 
=?Utf-8?B?cm9kY2hhcg==?=
Guest
Posts: n/a
 
      10-07-2006
hey all,
i have a dataset that has a customers tableadapter and an orders
tableadapter. i have a webform that has a dropdownlist bound to the customers
and and formview bound to the orders.

when i click Add the button for the formview on a respective customer the
insert template shows a writable textbox for the customer id. how do i make
that a read-only showing the dropdownlist's currently selected customer id?
seems like this should be an automatic thing.

thanks,
rodchar
 
Reply With Quote
 
 
 
 
q
Guest
Posts: n/a
 
      10-07-2006
What exactly are you asking? Normally you just write the label of the
data in the column and only show the DropDownList in edit mode.


rodchar wrote:
> hey all,
> i have a dataset that has a customers tableadapter and an orders
> tableadapter. i have a webform that has a dropdownlist bound to the customers
> and and formview bound to the orders.
>
> when i click Add the button for the formview on a respective customer the
> insert template shows a writable textbox for the customer id. how do i make
> that a read-only showing the dropdownlist's currently selected customer id?
> seems like this should be an automatic thing.
>
> thanks,
> rodchar


 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
One to many relationships on webforms =?Utf-8?B?Um9iZXJ0?= ASP .Net 5 03-14-2006 07:13 PM
many aspnet applications in one site? many Gloabal.asax files ok? dee ASP .Net 2 08-15-2005 03:07 AM
Embedding: many interpreters OR one interpreter with many thread states ? adsheehan@eircom.net Python 3 06-10-2005 03:18 AM
[J2EE Entity EJBs] Many-Many Self-Referential Relationships John Java 0 05-24-2004 02:17 PM
Navigation of typed dataset in many-to-many relationships Thomas Zaleski ASP .Net Web Services 1 07-28-2003 08:15 AM



Advertisments