Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data incorrect after refresh of page...
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Data incorrect after refresh of page...
Divers
Thread ID:
00868012
Message ID:
00868012
Vues:
57
Hello Kevin,

I will lay out the situation first...

I have created a simple grid on a web form with the "Edit, Update, Cancel" and "Delete" buttons.

To test with data in the grid already (MORE THAN 1 RECORD PLEASE, small set perferrably):

1. Press the Edit button on the first record only.
2. Change a value, any value will do... in my case it is numeric.
3. Press the update button. (Current correct value.)
4. Press the "Refresh" of the Internet Explorer.
5. You should see your grid for that column all the same values now.
6. Exit and come back in. It's not just a display problem!

e.g.

Priority
1
2

Change Priority 1 to a 3, after step 3 it will look as follows:

Priority
3
2

After Step 4 Internet Explorer refresh it will look as follows:

Priority
3
3


Could there be something I have done wrong? I have added the UpdateSelectStatement to the Business Object constructor as follows:

this.UpdateSelectStatement = "SELECT * FROM table"

Do I need to include the unique identifier? I didn't think so based on the documentation. Could this be a weird bug?

I have gone in and tested quite a bit to find that it is very consistent on the first record, but could save correctly on the second record just fine.
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform