how to add a selected row of a gridview to another gridview
without reloading the page??

Answer Posted / arindam datta

Gridviews are rendered on pages as html tables.So using javascript create a table row and table columns and add this row to the second Gridview(i.e, something like,table.innerHTML+="newly created tr"

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is entity framework different from ado.net?

720


How to connect and retrieve data from database using dataset

761


How does entity framework work?

671


How can we check that some changes have been made to dataset since it was loaded?

753


Can we do database operations without using any of the ado.net objects?

780


What is meant by executenonquery?

732


What is the difference between a datareader and a dataset?

726


What is ado asp?

759


Give an example that shows how to execute a stored procedure in ado.net?

808


Define connection string?

803


oledbdataadpter with ms access in c#.net giving exception System.Data.OleDb.OleDbException while writing adapter.update(dataset,"tabname"); how to update the database from dataset?

2151


How to copy the contents from one table to another table and how to delete the source table in ado.net?

765


What is the difference between the clone() and copy() methods of the dataset class?

791


How to enable and disable connection pooling?

754


What are the disadvantages of using datalist?

723