lovko
只是在客户端用嘛.跟C#没关系  
  用JS就可以实现  
  <script   language="javascript">  
  function   copy()  
  {  
  bResult   =   window.clipboardData.setData("Text",txtSrc.value);  
  alert("copy");  
  }  
  function   paste()  
  {  
  txtDes.value   =   window.clipboardData.getData("Text");  
  alert("paste");  
  }  
  </script>  
  <body>  
  <input   type="text"   id="txtSrc"   name="txtSrc"><input   type="button"   id="btnCopy"   name="btnCopy"   value="Copy"   onclick="copy()">  
  <br>  
  <input   type="text"   id="txtDes"   name="txtDes"><input   type="button"   id="btnPaste"   name="btnPaste"   value="Paste"    
   
  onclick="paste()">  
  </body>

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-11
  • 2021-09-16
猜你喜欢
  • 2022-03-13
  • 2022-12-23
  • 2022-01-05
  • 2022-02-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案