www.webdeveloper.com
Results 1 to 3 of 3

Thread: Help using a datagrid

  1. #1
    Join Date
    Oct 2004
    Posts
    5

    Help using a datagrid

    Hi. I am working on a asp.net application that retrieves data from a access database. I have three related tables (Customers, Orders, Payment). I am using a ddl to provide a list of customers that when clicked on populates some textboxes with customer data. That part is working. I would like to populate a datagrid with order and payment information that relates to the specific customer clicked on in the ddl. As the related information is in the datagrid I would like to add/edit order and payment information. Does anyone know how I might accomplish this? Any help would be greatly appreciated. HPU

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    I would use a hypertext column and have it go the another page to edit that record. Make the id of the item the query string, make sure it is incrimeing so that there are no duplicates.

    Personally I favor the repeater over the data grid because it gives me more freedom.

  3. #3
    Join Date
    Oct 2004
    Posts
    5

    I don't understand your example.

    I am not familiar with the code you are referring to. I am kinda new at ASP.net. This is what I have working thus far. I am using a ddl with some customers name loaded into it when the page loads. When the user selects a customer, the associated text boxes populate with that customers data, (ie. address, phone, etc.) What I would like to do is to extract associated order and payment data from the order and payment tables and populate two datagrids with the associated order and payment data. Do you have any ideas as to how I might do this? Any help would be Greatly appreciated. Thanks again. HPU1

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles