Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear Sir,
i have gridview (vb.net,sql server 2005 table). i need to add right click menu option to cut,copy,paste from the gridview to another gridview
please help
Posted

1 solution

Your question contains lots of coding, and this is quick q/a forum. We cannot help you this way.

Cut/Copy/Paste is nothing but the storing the selected values in some storage container. for example in text file, if you cut the text, it is stored in clipboard, and then while pasting, values are restoring from there only.

Now what you can do for your gridview is, have the checkbox for how much rows you want to perform the operation, store the selected rows in some collection i.e Array or List and then load the second gridview using that collection. You can have a reference from here[^]

-KR
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900