|
-
Feb 26th, 2009, 10:27 AM
#1
Thread Starter
New Member
Problem with adding and refreshing
This may be a stupid question, but I'm fairly new at this.
Anyway I have this form where I display data from my database. I use a generic list for this.
I also have an area on the same form where I can add items to my database. So when I click my Save button I also want to clear the generic and 'recall' the data, so the things I added will also be displayed.
However this won't work when put all the code for this in the Save button. I can add things to the database, but refreshing the data doesn't work.
When I use a second button, with which I clear the generic list and recall the data, after I added something, it does work.
Is there a way to do all this with the same button?
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
|