Click here to Skip to main content
15,908,013 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
is it possible to cut and paste rows in gridview ?
Posted
Updated 3-Oct-13 23:34pm
v2
Comments
Harshil_Raval 4-Oct-13 5:11am    
Yes it is possible. But how you want to do it? On click of any button or other things? Please specify.
amnk.info 4-Oct-13 5:33am    
my user requirment is cut one row and paste it to another one.

No name age
1 test1 40
2 test2 50
3 test3 32

if user cut no 3 row and paste it into 1 then my grid will show like this

No name age
1 test3 32
2 test2 50
3 test1 40

1 solution

cdatagridview-copypaste-from-a-row-to-another-row[^]

Although it is a winform example, but i think it will give you some idea...
 
Share this answer
 
Comments
amnk.info 4-Oct-13 5:35am    
thanks :)
[no name] 4-Oct-13 5:37am    
Accept the solution if it is helpful..so that it will be helpful for future reference...

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