Thank you for taking your time to look at this post! 
I have a page with a list of data comming from a database. On the same page one can add a new row to that list!
When hitting "add new row to list" button the page does a postback calling a method in it's codebehind that adds the row to the table in the database! No problem so far!
If I however click the refresh button after doing the above it adds the same row once more. I DO know why it does this but is there a smart way to get arround it? I'm thinking that the back button will cause the same problem!
_________________
Another thought is if I should post my data to another page that handles the database update. And then after updating redirect to the first page! That way I will get arround it - but is this a good way!
__________________
Comments, links, help anyone!
Cheers Kenni
I have a page with a list of data comming from a database. On the same page one can add a new row to that list!
When hitting "add new row to list" button the page does a postback calling a method in it's codebehind that adds the row to the table in the database! No problem so far!
If I however click the refresh button after doing the above it adds the same row once more. I DO know why it does this but is there a smart way to get arround it? I'm thinking that the back button will cause the same problem!
_________________
Another thought is if I should post my data to another page that handles the database update. And then after updating redirect to the first page! That way I will get arround it - but is this a good way!
__________________
Comments, links, help anyone!
Cheers Kenni