Data Grid 101
From: mddohm (mddohm_at_nospam.nospam)
Date: 12/28/04
- Next message: Greg Schretter: "RE: Primary key for SQL database? Is UNIQUE IDENTIFIER ok?"
- Previous message: Vineet: "RE: -2147217864 Row cannot be located for updating."
- Next in thread: Kevin Yu [MSFT]: "RE: Data Grid 101"
- Reply: Kevin Yu [MSFT]: "RE: Data Grid 101"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Greg Schretter: "RE: Primary key for SQL database? Is UNIQUE IDENTIFIER ok?"
- Previous message: Vineet: "RE: -2147217864 Row cannot be located for updating."
- Next in thread: Kevin Yu [MSFT]: "RE: Data Grid 101"
- Reply: Kevin Yu [MSFT]: "RE: Data Grid 101"
- Messages sorted by: [ date ] [ thread ]