Data Grid 101

From: mddohm (mddohm_at_nospam.nospam)
Date: 12/28/04


Date: Tue, 28 Dec 2004 09:53:04 -0800

How do I enter new data into a grid then send the new data to the database?

Example: I have a Form with a ddlCustomerID, txtPoNumber, chkboxWarranty,
txtModelNumber and txtSerialNumber

Code for filling the ddlCustomerID:

Dim CustomerName As New CustomersDB
ddlCustomerName.DataSource = CustomerID.GetCustomers()
ddlCustomerName.DataBind()
ddlCustomerName.Items.Insert(0, New ListItem("--Select--", "0"))

When the user clicks on the AddPart button I would like to display this data
in a grid (also giving the user the option to Delete or Edit)

After the user enters 1 or multiple Parts, then Cicks on AddOrder to send
one OrderNumber with 1 or multiple PartNumber(s) to the database.

I have been looking for an example of this and have been unsuccessful.
Could someone help me with this or point me to a good example?

-- 
Michael