就用Server.UrlEncode()這個函式它就會把這些編碼問題解決掉啦
string Path = "~/myCode/Xml/mymy.ashx?F_SiteID=" + F_SiteID + "&F_Type=" + F_Type;
Path = string.Format("myXMLPath={0}", Server.UrlEncode(Page.ResolveUrl(Path)));
全站熱搜
就用Server.UrlEncode()這個函式它就會把這些編碼問題解決掉啦
string Path = "~/myCode/Xml/mymy.ashx?F_SiteID=" + F_SiteID + "&F_Type=" + F_Type;
Path = string.Format("myXMLPath={0}", Server.UrlEncode(Page.ResolveUrl(Path)));