Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vb.net 如何转换&x2019;进入';_Vb.net_Rss_Quote_Apostrophe - Fatal编程技术网

Vb.net 如何转换&x2019;进入';

Vb.net 如何转换&x2019;进入';,vb.net,rss,quote,apostrophe,Vb.net,Rss,Quote,Apostrophe,我想把“(撇号)转换成“(单引号)。我正在从rss中读取数据,并希望将其保存到DB中。当保存撇号时,它保存为?(问号)。有没有办法改成单引号 提前感谢。您应该使用.replace方法 i、 e.Yourstringname.ToString.Replace(“”,“”)为什么不将显示到代码中…Replace必须工作(VB.NET的两个字符都不同),但代码编写不正确;将其更改为:Yourstringname.Replace(“,”)。看见我不能(不应该)修改别人的代码:)

我想把“(撇号)转换成“(单引号)。我正在从rss中读取数据,并希望将其保存到DB中。当保存撇号时,它保存为?(问号)。有没有办法改成单引号


提前感谢。

您应该使用.replace方法


i、 e.
Yourstringname.ToString.Replace(“”,“”)

为什么不将
显示到
代码中…
Replace
必须工作(VB.NET的两个字符都不同),但代码编写不正确;将其更改为:
Yourstringname.Replace(“,”)
。看见我不能(不应该)修改别人的代码:)