I’m new to C# and I am trying to create a method to copy the text in a textbox to the clipboard. I have searched online and found Clipboard.SetText and Clipboard.GetDataObject as some possible methods but when I start to type them, intellisense does not recognize those. I think I might need to use the system.windows.forms namespace but that also isnt recognized when i put that up top. I should mention this is on a webform for a .aspx site, if that makes a difference. Thanks in advance.
Share
Great resource here from Microsoft concerning copying to and from the clipboard.