frankwhite
Well-known member
- Joined
- Nov 30, 2004
- Messages
- 49
- Programming Experience
- Beginner
Hi, the following coding works on a form where I want information entered in a textbox to update in a Datagrid.
[FONT="][/FONT]
It works great apart from the fact I want my datagrid to be on another form. I have a "Load" button on the another form which I know how to work and it also contains the datagrid, I want the information entered here to be filling up the datagrid on that page. Is this possible? Thanks
[FONT="][/FONT]
VB.NET:
Dim Neworder As DataRow = DsItems1.Tables("Items").NewRow()
Neworder("Description") = TextBox1.Text
Neworder("Quantity") = TextBox2.Text
DsItems1.Tables("Items").Rows.Add(Neworder)
It works great apart from the fact I want my datagrid to be on another form. I have a "Load" button on the another form which I know how to work and it also contains the datagrid, I want the information entered here to be filling up the datagrid on that page. Is this possible? Thanks