Geekpedia Forums Logo

problem with datagrid handling

by joel navarro on Thursday, September 24th - 5:02 AM



hi guys... im a newbie and a student here in the philippines... i need help.. and i appreciate it in advance...

here is my problem...

i have two datagrids...

grid1 and grid2

grid1 is like a cart...

and the data needed to populate it depends on grid2

by the way grid2 is a booklist

when i select a book from grid2

i should be able to pass the data to grid1

i already populated grid2 with data...

how can i populate grid1 with data coming from grid 2?

another info...

grid1 is in frmPurchasing while grid2 is in another form frmBooklist.

I hope i made it clear.. this is for subject in database programming.

by the way.. im sorry i forgot to mention.. i am using VB.net and sql server for my db.

thanks in advance...