当前位置:编程学习 > C#/ASP.NET >>

如何在Web程序中调用系统剪贴板?

在Web程序中调用系统剪贴板出错!

               //调用剪贴板
               System.Windows.Forms.IDataObject iData = System.Windows.Forms.Clipboard.GetDataObject();
               if (iData.GetDataPresent(System.Windows.Forms.DataFormats.Text))
               {
                   CoypStr = (string)iData.GetData(System.Windows.Forms.DataFormats.Text);
               }
运行时 显示iData为空,有啥解决方法不? Web 剪贴板; 未将对象实例化 --------------------编程问答-------------------- 除
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,