Hi Jhon,
Good day,iam trying to use the Cipboar function ,but it went no luck
1) i want to use it in webaplication
2) i added System.Windows.Forms;
3) Clipboard.SetDataObject(txtDocNumGen, true);
it is giving error as
Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it
iam not using any threading.
please give me a suggetion.
Thanks,
raju.