J
Johnny
I have an aspx page with 2 text input. User will enter in
values and press the "Add" button, which will add a
record with their values onto a datagrid. I need to find
a way to store data and then insert into the database
when the user is ready to save. I'm thinking of using an
array to store the data and set the datasource to it, but
I'm fairly new with this stuff, so any help is
appreciated. My big concern is how to keep track of the
array, because I would lose this information when the
user clicks to add a new record, because the page would
load again. Does this mean I would have to use some sort
of session variable. Also, the user should be able to at
any point in time delete an item from the grid and add a
new one. If you've done this before or something
similar, please respond with info
Thanks
values and press the "Add" button, which will add a
record with their values onto a datagrid. I need to find
a way to store data and then insert into the database
when the user is ready to save. I'm thinking of using an
array to store the data and set the datasource to it, but
I'm fairly new with this stuff, so any help is
appreciated. My big concern is how to keep track of the
array, because I would lose this information when the
user clicks to add a new record, because the page would
load again. Does this mean I would have to use some sort
of session variable. Also, the user should be able to at
any point in time delete an item from the grid and add a
new one. If you've done this before or something
similar, please respond with info
Thanks