Add multiple new rows to datagrid
I'm trying to add more than one row in my bindingsource based on a number in a textbox.
For instance if textbox1 has a value of '50' and I click Add new row I want to prepare 50 new rows that can be populated in a datagrid then saved all in one go.
I'm using chequeBindingSource.AddNew(); to make 1 new row, but I would like to add as many new rows as the number in textbox1, is that possible?
Hope I've been clear.