468,470 Members | 2,011 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,470 developers. It's quick & easy.

Insert Records From GridView to another GridView Page

Can somebody help me?
I am developing a website using Microsoft Expression Web. My database is MS Access. My page extension is .aspx (ASP.NET)

I have two gridview:

1. Pending Records GridView = under PendingRecords.aspx page. I want this gridview to allow me to accept first all the requested records before they go straight under the Main Gridview. Of course, the gridview have "ADD" button. When I click the button, I want the records to be transfer in Main Records GridView.



2. Main GridView = under Records.aspx page. I want this gridview to display all the records that I already accepted in Pending Records Gridview.

Simple as that!

Thanks in advance!
Attached Images
File Type: jpg add.jpg (16.1 KB, 423 views)
Jan 4 '13 #1
1 2409
Frinavale
9,735 Expert Mod 8TB
I think the easiest way to do this is, when the user clicks the add button, add the record to a variable stored in Session so that you can pass it to the next page.

Once you are on the next page, add the records that are in Session (if there are any) to the data source of the GridView in that page.

-Frinny
Jan 8 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Andrew Bourne | last post: by
1 post views Thread by Hennie | last post: by
3 posts views Thread by Dave | last post: by
reply views Thread by David C | last post: by
1 post views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.