help please

  • Thread starter Thread starter Arvi
  • Start date Start date
A

Arvi

how to do

- select row from the datagrid (ASP.NET) and copy to clipboard. so that i
can paste the entire content on any application.

Thanks
 
Thanks for the reply.

but how do i put the content in to my clipboard?

any sample code?

thanks.
 
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

Back
Top