字符串赋值 怎样把这句:<EMBED src="http://resource.eng-corner.com/ZhiXing/Music/iturntoyou.mp3" autostart="true" loop="2" width=377 height=44> 赋值给 label1.Text 谢谢! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 label1.Text = @"<EMBED src=\"http://resource.eng-corner.com/ZhiXing/Music/iturntoyou.mp3\" autostart=\"true\" loop=\"2\" width=377 height=44>" 一楼错, 不要@符号才对,label1.Text = " <EMBED src=\"http://resource.eng-corner.com/ZhiXing/Music/iturntoyou.mp3\" autostart=\"true\" loop=\"2\" width=377 height=44>"VS2003测试通过。 两种方法: string str = "<EMBED src=\"http://resource.eng-corner.com/ZhiXing/Music/iturntoyou.mp3\" autostart=\"true\" loop=\"2\" width=377 height=44>"; string str2 = @"<EMBED src=""http://resource.eng-corner.com/ZhiXing/Music/iturntoyou.mp3"" autostart=""true"" loop=""2"" width=377 height=44> "; lz是想输出html代码吧。asp.net里有这样的控件的,只占页面上的一个位,可以直接写html,不会被转成>不一定非要用label VS2005中,这个是对的,如果有@的,会报错,http 下面会有波浪线,说什么缺少逗号! 有懂cURL的高手在么?看看这一段怎么用C#实现 c# 怎样使得dll不用生成对象直接使用里面的方法 winform 窗体格式保存到xml 甘特图控件 如何获得局域网所有的IP(在线等) 各位大侠们帮帮忙 关于图形图像的剪切、放大缩小问题 请问怎样算出两个datatime之间间隔了多少天? 求教!分别引用两个具有相同命名空间的dll ,不能正常引用的问题 winform中如何操作嵌入的Web Browser中的页面元素? C#中,动态数组和循环体的问题! dataGridView问题
string str2 = @"<EMBED src=""http://resource.eng-corner.com/ZhiXing/Music/iturntoyou.mp3"" autostart=""true"" loop=""2"" width=377 height=44> ";
不一定非要用label