Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Practices BindingContext vs. CurrencyManager
Message
From
05/01/2003 12:55:06
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00738110
Message ID:
00738165
Views:
16
Sorry, Don ... I've never used a grid, so I can't help you at all with that. Maybe you should post this question in a separate thread and see if you get some responses.

~~Bonnie



>Thanks, Bonnie, I'll continue forward without use of the CurrencyManager for now.
>
>Question: I have a grid using the Northwind Orders table as the datasource, which uses an incrementing Identity column. After successfully adding a new order record the only way I can get the grid or related text fields to show the new OrderID (@@Identity value) is to:
>
>1. Click on the grid
>2. Rerun the query, then clear and reset the BindingContext for the grid.
>
>I DO get the new OrderID back from the server after Inserting because I can click on the grid and it then updates to show it. So it is right there. But without CurrencyManager, how do I do this programmatically? I've tried many techniques over the last few hours. I quess I'm still thinking like a VFP programmer, and the disconnected record set commands are eluding me.
>
>Any suggestions?
>
>Don Meuse
>
>
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform