Hi, everyone.
I use VB.NET and SQL SERVER 2005 to develop a web application. There is a problem, please give me some advice. Thank you very much.
In the project, there are a lot of web forms to be displayed. For example,
(1) There is a customer infomation list in Web form A. I click one of the row of the list and go to Web form B to edit the row.
(2) When I am editing the row in Web form B and not finish editting, other user select the same row in the customer infomation list from Web form A, and then go to Web form B to edit the selected row.
If so, I and he edit the same row. When commit the editting, one of us will lose the editted datum. How can I do?
My idea: when I select a row to edit it in Web form B, if other user selects the same row in Web form A and want to edit the row in Web form B, when Web form B used by the user is loaded, a Waring Message should be given and the row should not be display in Web form B used by the user.
As to my idea, How can I do for the idea in VB.NET and SQL SERVER 2005?
Other way to solve the problem?
Thank you very much!
I am anxious to get your replies soon.
I use VB.NET and SQL SERVER 2005 to develop a web application. There is a problem, please give me some advice. Thank you very much.
In the project, there are a lot of web forms to be displayed. For example,
(1) There is a customer infomation list in Web form A. I click one of the row of the list and go to Web form B to edit the row.
(2) When I am editing the row in Web form B and not finish editting, other user select the same row in the customer infomation list from Web form A, and then go to Web form B to edit the selected row.
If so, I and he edit the same row. When commit the editting, one of us will lose the editted datum. How can I do?
My idea: when I select a row to edit it in Web form B, if other user selects the same row in Web form A and want to edit the row in Web form B, when Web form B used by the user is loaded, a Waring Message should be given and the row should not be display in Web form B used by the user.
As to my idea, How can I do for the idea in VB.NET and SQL SERVER 2005?
Other way to solve the problem?
Thank you very much!
I am anxious to get your replies soon.