将链接复制到文本框&将此链接粘贴到C#中的另一个文本框中 [英] Copy the link into the text box & Paste this link in another text box in C#

查看:94
本文介绍了将链接复制到文本框&将此链接粘贴到C#中的另一个文本框中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将链接复制到文本框中,然后将此链接粘贴到C#中的另一个文本框中.
帮帮我
html代码的此文本框

Copy the link into the textbox & Paste this link in another textbox in C#
help me
this text box for html code

推荐答案

这期望将链接复制并粘贴到TextBox1中.发生这种情况时,该链接也会显示在TextBox2中.
This expects a link to be copy-and-pasted into TextBox1. When that happens, the link is also displayed in TextBox2.
private void TextBox1_TextChanged(object sender, EventArgs e)
{
    TextBox2.Text = TextBox1.Text;
}



如果不是您想要的,请使用改善问题"链接来缩小问题范围.



If that''s not what you''re after, use the "Improve question" link to narrow down your question.


使用jquery获取链接的href,并将链接传递给texbox或输入

use jquery for get href of link and after pass the link to texbox or input

var url=


(" idlink").attr( href");
("idlink").attr("href");


这篇关于将链接复制到文本框&将此链接粘贴到C#中的另一个文本框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆