In this case what you can do is create a custom data table in the form, having three columns as the three text box, Once you have this structure in place you can create a data row and append it to the table and set the datatable as the data source of the gridview. let me know if you have any question.