|
-
July 2nd, 2009, 06:18 PM
#31
Re: Refresh Database
If the grid is active, you'd use RowVersion
http://www.mssqltips.com/tip.asp?tip=1501
-
July 2nd, 2009, 08:34 PM
#32
Re: Refresh Database
I looked at the link but I still do not see where this is of any use to the original question. If user a is viewing a grid that is currently displaying 100 records and User B inserts a record User A will not see the record that was added until User A refreshs the data and there is no indication if any record has been added prior to this action.
I'll ask one more time how does a row lock for edit on a different machine magically refresh records on yet another machine or 499 machines?
-
July 3rd, 2009, 04:52 PM
#33
Re: Refresh Database
User B checks the ROWVERSION table to see WHICH records have been modified. It refreshes the table if changes are pending.
Look at this site: http://www.devexpress.com/Products/N...WinForms/Grid/
-
July 5th, 2009, 02:01 AM
#34
Re: Refresh Database
 Originally Posted by dglienna
do u mean it refreshed without making any code?
thx
-
July 6th, 2009, 11:01 AM
#35
Re: Refresh Database
Yes. They right the code to only get values for the results that are VISIBLE on the screen (Server Mode)
If your query returned 1000 records, and your grid showed 10 lines, it'd load in the time to query 10 records. Pretty cool controls.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|