Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update a grid with returned Identity Field value
Message
 
To
All
General information
Forum:
ASP.NET
Category:
Forms
Title:
Update a grid with returned Identity Field value
Miscellaneous
Thread ID:
00738540
Message ID:
00738540
Views:
64
I have a Windows form with 2 pages. One page a has a grid of orders, the next page has the text fields for data entry. The orders table uses an SQL server identity field for the Primary Key field, which is OrderID.

I use rows.add to add a new record, then I save it to SQL server successfully, and the new autoincrement OrderID value is inserted. The grid does not show the new PK value unless I click on it - then it show up immediately. How do I update the grid and text fields programmatically? Obviously the values are being returned and are there - but I have to physically click on the grid to get it to update and show the value. I am not using CurrencyManager in this form.

Any ideas?


Don Meuse
Spectrum Software
Next
Reply
Map
View

Click here to load this message in the networking platform