Code to copy data from textbox on button click to clipboard in asp.net using c#
string mytext= mytext.toString(); // the text u want to copy
Clipboard.Clear();//Clearing the clipboard
Clipboard.SetText("mystext");//Copying text to Clipboard
string text=Clipboard.GetText();//pasting the text from clipbord.