Link to home
Start Free TrialLog in
Avatar of JDL129
JDL129

asked on

Problems with running C# program on seveal computers on a network.

Hey guys!!!

I have an app that is running on several computers.  In this app I have a timer that retrieves information from the web and saves it to a table which updates the dgv.  My question is when one employee selects a row in the grid how to locked it on all the other computers as well as all the other rows with the same ID.

Thanks,
Jerry
ASKER CERTIFIED SOLUTION
Avatar of ktaczala
ktaczala
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of p_davis
p_davis

and then, maybe give a message/error that the row isn't editable
Avatar of JDL129

ASKER

Great ideas!!  I wasn't thinking along those lines.
well, thank you. glad to have helped.
Avatar of JDL129

ASKER

I was thinking about adding a field to the table and populating it with the computer name when it is selected.  When the timer refreshes the dgv it would only select the rows with the current computer name or blanks in the new field.  That way none of the other computers would have access to the rows.

Thanks again, you guys are wonderful!!!

Jerry