datagrid row to clipboard

A

Arvi

im able to store the value in clipboard. but when i try to paste it by right
clicking on some tet editors or email application. it is not getting the
right values.



why is it so?



string test;

IDataObject iData = Clipboard.GetDataObject();


if(iData.GetDataPresent(DataFormats.Text))

{

// Yes it is, so display it in a text box.

test = (String)iData.GetData(DataFormats.Text);

}
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top