populating a datagrid from text boxes

fguihen

Junior Contributor
Joined
Nov 10, 2003
Messages
248
Location
Eire
i have a datagrid and want to populate it with data from text boxes. i have 3 text boxes, each representing a column in a table. when each has info entered into it, and the add button is clicked i want to add the data from the 3 text boxes to a new row in the data table, this data will then be saved to the database. how do i add the info from the text boxes to the datagrid?
 
got it sorted. just created a dataTable, insert the row into that , bound the grid to that table and refreshed it. i was looking at it the wrong way altogether. sorry for wasting your time
 
Back
Top