-
Jan 6th, 2013, 02:51 PM
#1
Thread Starter
Addicted Member
database error?
Hello people,
I have made a project with a database.
so i have one form with bound textboxes and stuff in which you can fill out information about a person, you can keep adding people with a counter and all that.
It seems to work good in runtime, but when I close the app and run it again something weird happens. For example when I save;
Person 1: John Smith
Person 2: Ella Forella
Person 3: Bavis Bomba
and then close and reopen I get this in my gridview and bound info controls:
Person 1: John Smith
Person 2: John Smith
Person 3: John Smith
If anyone knows whats going on, please help me.
-
Jan 6th, 2013, 08:10 PM
#2
Re: database error?
Obviously you're doing something wrong but as we have no idea what you're doing there's no way that we can tell you what's wrong with it. I guess the first thing to do would be to look in the database itself to see what data is in there. That will tell you whether the issue is on the save side or the load side and then you can investigate further from there.
-
Jan 6th, 2013, 10:58 PM
#3
Re: database error?
If the database is correct, such that the problem has to be on the load side, I would guess that you are getting fouled up copying reference types, but that's pure speculation. We'd have to see more to be sure, but exactly what is hard to say.
My usual boring signature: Nothing
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
|