M
MarkusJ_NZ
Hi, I have a website where a person can upload a CSV and all the
records are displayed in a gridview.
If the records are correct then I iterate through each row and create
a business object for each row and save the record to the database;
this is working fine.
My problem is that the client has no idea about the progress or how
many records have been saved or are left to save to the database.
What I would like to do is each time the .Save() method is called on
my business object show a message via the users browser that "Record
Joe Bloggs has been saved to the database."
I would also like to be able to do this if a person uploads a CSV and
I bind this CSV to a datatable (e.g. no datagrid). In this instance, I
would just iterate through the datatable saving records and showing
the progress to the user.
Any ideas welcome
Regards
Markus
records are displayed in a gridview.
If the records are correct then I iterate through each row and create
a business object for each row and save the record to the database;
this is working fine.
My problem is that the client has no idea about the progress or how
many records have been saved or are left to save to the database.
What I would like to do is each time the .Save() method is called on
my business object show a message via the users browser that "Record
Joe Bloggs has been saved to the database."
I would also like to be able to do this if a person uploads a CSV and
I bind this CSV to a datatable (e.g. no datagrid). In this instance, I
would just iterate through the datatable saving records and showing
the progress to the user.
Any ideas welcome
Regards
Markus