Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

Transferring data from one datagrid to another

  Asked By: Karina    Date: Mar 04    Category: Asp.net    Views: 5766
  

I've seen rumors of OLE drag-and-drop from one datagrid to another.
That would be awesome, but is it true?

Here's the main situation. I have a datagrid with TemplateColumns
that have labels in them bound to fields returned from a dataset.
This datagrid is populated after a user fills out two textboxes, in
essence, searching for the values in the database. I have the
columns sortable and paging just fine and a checkbox as a column to
select a row. I need to make selections (using the checkbox I'm
guessing...) in the datagrid and move those selections (to another
datagrid?) on the screen then allow the user to search again using
the textboxes. The search should exclude the previously selected
results and allow continued searching until a "Done" button is
pressed that commits the selections to a database.

Is a second datagrid the best method? Do I have to build a dataset
based on the selections from the first datagrid and bind that
dataset to the second datagrid? Do I filter the search results of
the first datagrid based on this newly created dataset?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Transferring data from one datagrid to another Or get search suggestion and latest updates.




Tagged: