EDN Admin
Well-known member
Hi all,
I need to setup function in DataGrid View, funcions which is available like Ms Excel copy ."If same column in the all row s selected, then only allow to copy the content. otherwise Excel throws message like "that command cannot be used on multiple Selections".
like wise I need to apply that one in Datagrid view? Is it possible. If so then guide me to come out of this issue.
E,g In Excel Sheet
<span style="white-spacere <br/>
A<span style="white-spacere BC<span style="white-spacere
D<span style="white-spacere E<span style="white-spacere
F<span style="white-spacere GH<span style="white-spacere I<span style="white-spacere
J
<span style="white-spacere z<span style="white-spacere 1
2<span style="white-spacere 3<span style="white-spacere 4<span style="white-spacere
56<span style="white-spacere 7<span style="white-spacere
8<span style="white-spacere 9<span style="white-spacere 0
y<span style="white-spacere 0<span style="white-spacere
9<span style="white-spacere 8<span style="white-spacere 76<span style="white-spacere
5<span style="white-spacere 4<span style="white-spacere
3<span style="white-spacere 21<span style="white-spacere
x<span style="white-spacere 1 2<span style="white-spacere
3<span style="white-spacere 4<span style="white-spacere 56<span style="white-spacere
7<span style="white-spacere 8<span style="white-spacere
9<span style="white-spacere 0
w<span style="white-spacere 0<span style="white-spacere
9<span style="white-spacere 8<span style="white-spacere 76<span style="white-spacere
5<span style="white-spacere 4<span style="white-spacere
3<span style="white-spacere 21<span style="white-spacere
<span style="white-spacere
<span style="white-spacere I<span style="white-spacere f i select the continuously ZB,ZC, ZD and press ctrl+c -> it copied in clipboard
<span style="white-spacere again if i select <span style="white-spacere ZB,ZC, ZD and YB,YC,YD AND PRESS CTRL +C -> IT COPIED
<span style="white-spacere BUT IF I SELECT <span style="white-spacere ZB,ZC, ZD and YB,YC THEN IT THROWS THE MESSAGE. Like that i need in datagrid view. Is it possible?
<span style="white-spacere Here I pasted the Excel sheet copied and not allowed copied area FYR<span style="white-spacere <span style="white-spacere <br/>
<
Manikandan Murugeshan
<br/>
<img alt="" src="http://social.msdn.microsoft.com/Forums/getfile/213537 <br/>
View the full article
I need to setup function in DataGrid View, funcions which is available like Ms Excel copy ."If same column in the all row s selected, then only allow to copy the content. otherwise Excel throws message like "that command cannot be used on multiple Selections".
like wise I need to apply that one in Datagrid view? Is it possible. If so then guide me to come out of this issue.
E,g In Excel Sheet
<span style="white-spacere <br/>
A<span style="white-spacere BC<span style="white-spacere
D<span style="white-spacere E<span style="white-spacere
F<span style="white-spacere GH<span style="white-spacere I<span style="white-spacere
J
<span style="white-spacere z<span style="white-spacere 1
2<span style="white-spacere 3<span style="white-spacere 4<span style="white-spacere
56<span style="white-spacere 7<span style="white-spacere
8<span style="white-spacere 9<span style="white-spacere 0
y<span style="white-spacere 0<span style="white-spacere
9<span style="white-spacere 8<span style="white-spacere 76<span style="white-spacere
5<span style="white-spacere 4<span style="white-spacere
3<span style="white-spacere 21<span style="white-spacere
x<span style="white-spacere 1 2<span style="white-spacere
3<span style="white-spacere 4<span style="white-spacere 56<span style="white-spacere
7<span style="white-spacere 8<span style="white-spacere
9<span style="white-spacere 0
w<span style="white-spacere 0<span style="white-spacere
9<span style="white-spacere 8<span style="white-spacere 76<span style="white-spacere
5<span style="white-spacere 4<span style="white-spacere
3<span style="white-spacere 21<span style="white-spacere
<span style="white-spacere
<span style="white-spacere I<span style="white-spacere f i select the continuously ZB,ZC, ZD and press ctrl+c -> it copied in clipboard
<span style="white-spacere again if i select <span style="white-spacere ZB,ZC, ZD and YB,YC,YD AND PRESS CTRL +C -> IT COPIED
<span style="white-spacere BUT IF I SELECT <span style="white-spacere ZB,ZC, ZD and YB,YC THEN IT THROWS THE MESSAGE. Like that i need in datagrid view. Is it possible?
<span style="white-spacere Here I pasted the Excel sheet copied and not allowed copied area FYR<span style="white-spacere <span style="white-spacere <br/>
<
Manikandan Murugeshan
<br/>
<img alt="" src="http://social.msdn.microsoft.com/Forums/getfile/213537 <br/>
View the full article